Linux常用命令

防火墙相关(centos7)

  1. 查看firewalld服务状态:systemctl status firewalld
  2. 开启firewalld:systemctl start firewalld
  3. 关闭firewalld:systemctl stop firewalld
  4. 配置firewalld的规则:firewall-cmd

linux安装docker