Redis 安装与配置
安装
yum install redis启动
systemctl start redis
systemctl enable redis验证
redis-cli ping配置
vi /etc/redis.conf
# 使用密码登录
requirepass foobared
# 允许远程连接(需开启防火墙 6379 端口)
bind 0.0.0.0最后更新于
yum install redissystemctl start redis
systemctl enable redisredis-cli pingvi /etc/redis.conf
# 使用密码登录
requirepass foobared
# 允许远程连接(需开启防火墙 6379 端口)
bind 0.0.0.0最后更新于