安装
yum install redis
启动
systemctl start redis
停止
systemctl stop redis
重启
systemctl restart redis
开机自启
systemctl enable redis.service
远程连接
vim /etc/redis.conf
bind 0.0.0.0
# 密码 foobared, 自行修改
requirepass foobared
安装
yum install redis
启动
systemctl start redis
停止
systemctl stop redis
重启
systemctl restart redis
开机自启
systemctl enable redis.service
远程连接
vim /etc/redis.conf
bind 0.0.0.0
# 密码 foobared, 自行修改
requirepass foobared