linux下如何正确开启关闭redis的命令-创新互联
小编给大家分享一下linux下如何正确开启关闭redis的命令,希望大家阅读完这篇文章后大所收获,下面让我们一起去探讨吧!
首先连接xshell,然后执行如下命令即可:
service network restar #重启网络 ip addr #查找ip [root@localhost ~]# cd /usr/local/redis [root@localhost redis]# ./bin/redis-server ./redis.conf [root@localhost redis]# ./bin/redis-cli 127.0.0.1:6379> exit [root@localhost redis]# ./bin/redis-cli shutdown [root@localhost redis]# ps -ef | grep -i redis
看完了这篇文章,相信你对linux下如何正确开启关闭redis的命令有了一定的了解,想了解更多相关知识,欢迎关注创新互联行业资讯频道,感谢各位的阅读!
当前文章:linux下如何正确开启关闭redis的命令-创新互联
网页网址:http://myzitong.com/article/josgd.html