diff --git a/scripts/install/rhel.sh b/scripts/install/rhel.sh index 826c9a9df..a0c47d92c 100644 --- a/scripts/install/rhel.sh +++ b/scripts/install/rhel.sh @@ -113,8 +113,8 @@ if [ ! -f /usr/sbin/firewalld ];then sed -i 's#AllowZoneDrifting=yes#AllowZoneDrifting=no#g' /etc/firewalld/firewalld.conf firewall-cmd --reload - #安装时不开启 - systemctl stop firewalld + #安装就开启 + systemctl restart firewalld fi $PKGMGR install -y epel-release