随笔分类 -  linux

CentOS7使用firewalld打开关闭防火墙与端口
摘要:1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc 阅读全文

posted @ 2018-03-07 11:20 clearriver 阅读(101) 评论(0) 推荐(0)

Docker常用命令
摘要:安装Docker: ubuntu安装:curl -s https://get.docker.io/ubuntu/ | sudo sh 镜像管理 docker images:列出本地所有镜像 docker search <IMAGE_ID/NAME>:查找image docker pull <IMAG 阅读全文

posted @ 2018-01-14 17:11 clearriver 阅读(302) 评论(0) 推荐(0)

CentOS 7通过Firewall开放防火墙端口
摘要:发现在CentOS 7上开放端口用iptables没效果(或者是sodino没找到正确的命令,传说Centos7 下默认的防火墙是 Firewall,替代了之前的 iptables)… 使用firewall-cmd开放端口则立即就生效了。见下操作: 1 2 3 4 5 6 7 firewall-cm 阅读全文

posted @ 2017-05-10 17:56 clearriver 阅读(313) 评论(0) 推荐(0)

Linux应用监控工具
摘要:Linux下的监控工具丰富繁杂,如果只知道top、free之类的就太少了,而且也不能胜任日常的Linux管理工作,尤其是在排除Web服务器问题时。 本文给出5个Linux下功能更为强大的监控工具,有了它们就能涵盖日常监控80%的任务。下图为Linux下监控各个模块的实用工具,对于应用级运维来说,一般... 阅读全文

posted @ 2015-09-06 12:45 clearriver 阅读(483) 评论(0) 推荐(0)

导航