启动redis注意事项

1、需要修改配置文件 redis.conf 三处

a、将bind 127.0.0.0    修改为  bind 0.0.0.0

b、daemonize no      修改为   daemonize yes

c、protected-mode no   修改为  protected-mode yes

 2、启动的时候必须加载配置文件

    [root@duanml etc]# ./redis-server /user_redis/redis-4.0.8/etc/redis.conf

原文地址:https://www.cnblogs.com/yinfengjiujian/p/8777864.html