摘要:1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc
阅读全文
摘要:安装Docker: ubuntu安装:curl -s https://get.docker.io/ubuntu/ | sudo sh 镜像管理 docker images:列出本地所有镜像 docker search <IMAGE_ID/NAME>:查找image docker pull <IMAG
阅读全文
摘要:发现在CentOS 7上开放端口用iptables没效果(或者是sodino没找到正确的命令,传说Centos7 下默认的防火墙是 Firewall,替代了之前的 iptables)… 使用firewall-cmd开放端口则立即就生效了。见下操作: 1 2 3 4 5 6 7 firewall-cm
阅读全文
摘要:Linux下的监控工具丰富繁杂,如果只知道top、free之类的就太少了,而且也不能胜任日常的Linux管理工作,尤其是在排除Web服务器问题时。 本文给出5个Linux下功能更为强大的监控工具,有了它们就能涵盖日常监控80%的任务。下图为Linux下监控各个模块的实用工具,对于应用级运维来说,一般...
阅读全文