参考资料:
1、http://blog.csdn.net/zc474235918/article/details/50974483
2、http://blog.csdn.net/gxw19874/article/details/51992125
如果出现如下问题:
1
2
|
[root@iZwz991stxdwj560bfmadtZ ~]# service redisd start
/var/run/redis_6379.pid exists, process is already running or crashed
|
可参考资料:http://blog.csdn.net/luozhonghua2014/article/details/54649295
# 尝试启动或停止redisservice redis start
#没有设置密码的关闭方式service redis stop
#设置了密码的关闭方式/usr/local/bin/redis-cli -h 127.0.0.1 -p 6379 -a yourpassword shutdown
# 开启服务自启动chkconfig redis on