redis

1、开启

cd /home/redis/bin/

./redis-server redis.conf

2、关闭

 cd /home/redis/bin/

./redis-cli -a password -h 127.0.0.1 -p port shutdown 

3、重启

 cd /home/redis/bin/

./redis-cli -a password -h 127.0.0.1 -p port shutdown 

 ./redis-server redis.conf

posted @ 2018-08-25 11:14  Hello_worlds  阅读(176)  评论(0编辑  收藏  举报