您的位置:首页 > 技术中心 > 数据库 >

linux下正确开启关闭redis的命令是什么

时间:2022-02-25 11:52

首先连接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的命令是什么的详细内容,更多请关注gxlsystem.com其它相关文章!

热门排行

今日推荐

热门手游