修改本地redis命令并使其生效

1: 找到配置文件

cd /usr/local/etc/redis.conf

2: 修改

![image.png](https://upload-images.jianshu.io/upload_images/15828322-12065c476a978c73.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

3: 重启redis

ps -ef |grep  redis-server

kill -9 ...

redis-server  /usr/local/etc/redis.conf

你可能感兴趣的:(修改本地redis命令并使其生效)