Update install_centos.sh

This commit is contained in:
Mr Chen 2019-07-31 17:34:32 +08:00
parent 2f0c7ddf70
commit 79d069dcd3
1 changed files with 5 additions and 2 deletions

View File

@ -19,9 +19,12 @@ fi
setenforce 0
sed -i 's#SELINUX=disabled#SELINUX=enforcing#g' /etc/selinux/config
yum install -y wget curl curl-devel
yum install -y wget curl curl-devel vixie-cron
#https need
curl https://get.acme.sh | sh
if [ ! -f /root/.acme.sh ];then
curl https://get.acme.sh | sh
fi
if [ -f "/etc/init.d/iptables" ];then