1找到redis的配置文件 redis.conf
vim redis.conf
修改 protected-mode yes
改為
protected-mode no
注釋掉
#bin 127.0.0.1
保存配置文件
:wq
然后帶配置文件啟動redis
進入redis/src
./redis-server ../reids.conf
1找到redis的配置文件 redis.conf
vim redis.conf
修改 protected-mode yes
改為
protected-mode no
注釋掉
#bin 127.0.0.1
保存配置文件
:wq
然后帶配置文件啟動redis
進入redis/src
./redis-server ../reids.conf
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。