首先连接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
相关推荐:redis数据库教程
以上就是linux下正确开启关闭redis的命令是什么的详细内容!
查看更多关于linux下正确开启关闭redis的命令是什么的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did77458