Linux下正确开启关闭redis的命令是什么
4650
首先连接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
本文网址:https://www.zztuku.com/index.php/detail-8605.html
站长图库 - Linux下正确开启关闭redis的命令是什么
申明:如有侵犯,请 联系我们 删除。
您还没有登录,请 登录 后发表评论!
提示:请勿发布广告垃圾评论,否则封号处理!!