自学内容网 自学内容网

Ubuntu有关redis的命令

防火墙:

systemctl status firewalld

systemctl stop firewalld

systemctl disable firewalld.service

ifconfig查看ip地址

redis.conf在/etc/redis下,但是得sudo -i进入root模式

进入/etc/redis下开启redis-server服务

查看6379端口是否可以访问

netstat -ntulp | grep 6379 


原文地址:https://blog.csdn.net/weixin_53717695/article/details/142732342

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!