redis 禁止使用root用户启动
at 4年前 ca Redis pv 1823 by touch
使用root切换到redis用户启动服务:

- useradd -s /sbin/nolog -M redis
- sudo -u redis /<redis-server-path>/redis-server /<configpath>/redis.conf 2&1>/dev/null &
版权声明
本文仅代表作者观点,不代表码农殇立场。
本文系作者授权码农殇发表,未经许可,不得转载。
at 4年前 ca Redis pv 1823 by touch
- useradd -s /sbin/nolog -M redis
- sudo -u redis /<redis-server-path>/redis-server /<configpath>/redis.conf 2&1>/dev/null &
本文仅代表作者观点,不代表码农殇立场。
本文系作者授权码农殇发表,未经许可,不得转载。