目 录CONTENT

文章目录

debian安装redis

ashin
2021-08-18 / 0 评论 / 0 点赞 / 924 阅读 / 429 字

安装redis

apt install redis-server -y

加入开机启动

systemctl enable redis-server

配置Redis远程访问

vi /etc/redis/redis.conf
注释掉
bind 127.0.0.1 ::1

重启redis

systemctl restart redis-server

开放防火墙

ufw allow 6379
0

评论区