随笔 - 45,  文章 - 1,  评论 - 6,  阅读 - 23万
06 2020 档案
redis相关命令
摘要:启动 redis 客户端,打开终端并输入命令 redis-cli。 连接本地的 redis 服务:redis-cli (redis-cli -a password) 连接远程的 redis 服务:redis-cli -h host -p port -a password Redis Ping 命令 阅读全文
posted @ 2020-06-29 16:37 开心萌小小 阅读(889) 评论(0) 推荐(0) 编辑
CentOS7使用firewalld打开关闭防火墙与端口
摘要:1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld 开机启用 : 阅读全文
posted @ 2020-06-10 18:14 开心萌小小 阅读(184) 评论(0) 推荐(0) 编辑
centos7之防火墙
摘要:从centos7开始使用systemctl来管理服务和程序,包括了service和chkconfig。 防火墙相关: 查看防火墙默认状态:firewall-cmd --state 检查防火墙的状态:systemctl list-unit-files|grep firewalld.service 或者 阅读全文
posted @ 2020-06-06 23:03 开心萌小小 阅读(165) 评论(0) 推荐(0) 编辑
centos7没有netstat命令的解决方法
摘要:yum search ifconfig 通过yum search 这个命令我们发现ifconfig这个命令是在net-tools.x86_64这个包里,接下来我们安装这个包就行了 运行 yum install net-tools 就OK了 即可显示当前服务器上所有端口及进程服务,与grep结合可查看 阅读全文
posted @ 2020-06-06 22:50 开心萌小小 阅读(4852) 评论(0) 推荐(0) 编辑


< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示