一、安装redis服务器 sudo apt install redis-server 二、基本操作 # 启动 systemctl start redis-server # 停止 systemctl stop redis-server # 查看状态 systemctl status redis-server # 打开客户端 reids-cli 三、修改配置 vim /etc/redis/redis.conf 将bind 127.0.0.1 ::1修改为bind 0.0.0.0