centos7.3安装redis

yum install epel-release
yum install redis

如果支持从其他机器能访问,需要修改配置文件 /etc/redis.conf,注释掉 bin 127.0.0.1
如果要设置密码,要修改配置文件 /etc/redis.conf,设置 requirepass 123456

猜你喜欢

转载自www.cnblogs.com/lavezhang/p/10442488.html
今日推荐