摘要: 参考:http://www.cnweed.com/archives/4131/ 一、iptables常用命令 #查看已有的防火墙规则链 iptables -L #清空已有的防火墙规则链 iptables -F #把 INPUT 规则链的默认策略设置为拒绝 iptables -P INPUT DROP 阅读全文
posted @ 2021-04-02 16:59 Mars.wang 阅读(397) 评论(0) 推荐(0) 编辑
摘要: 1.更新yum源httpd #更新yum源httpd yum -y install httpd #查看httpd状态 systemctl status httpd.service #启动httpd service httpd start #配置httpd永久⽣效(重启依然⽣效) chkconfig 阅读全文
posted @ 2021-04-02 13:38 Mars.wang 阅读(366) 评论(0) 推荐(0) 编辑