环境背景
软件 | 版本 |
Centos | 7.4 |
nginx | 1.17.5 |
环境准备
rpm -qa | grep "firewall" | xargs rpm -e --nodeps rpm -qa | grep "iptables" | xargs rpm -e --nodeps sed -i 's/.*UseDNS.*/UseDNS no/' /etc/ssh/sshd_config sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config