启动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

posted @ 2018-04-10 11:34  ╱、隐风っ九剑  阅读(143)  评论(0编辑  收藏  举报