1: 找到配置文件
cd /usr/local/etc/redis.conf
2: 修改

3: 重启redis
ps -ef |grep redis-server
kill -9 ...
redis-server /usr/local/etc/redis.conf
网友评论