将redis设置为开机启动

1、首先将redis的配置文件中daemonize 设置为yes # By default Redis does not run as a daemon. Use 'yes' if you need it. # Note that Redis will write a pid file in /var/run/redis.pid when daemonized. daemonize yes 2、开
相关文章
相关标签/搜索