diff --git a/filemanager/templates/filemanager/index.html b/filemanager/templates/filemanager/index.html index f6dad04ea..05fc2bcea 100644 --- a/filemanager/templates/filemanager/index.html +++ b/filemanager/templates/filemanager/index.html @@ -18,7 +18,7 @@ - + @@ -645,4 +645,4 @@ - \ No newline at end of file + diff --git a/install-cn.sh b/install-cn.sh index e60a799f5..80f7c99c2 100644 --- a/install-cn.sh +++ b/install-cn.sh @@ -4,6 +4,14 @@ rm -f /etc/yum.repos.d/epel.repo rm -f /etc/yum.repos.d/epel.repo.rpmsave yum install epel-release -y #some provider's centos7 template come with incorrect or misconfigured epel.repo +if systemctl is-active named | grep -q 'active'; then + systemctl stop named + systemctl disable named + echo "Disabling named to aviod powerdns conflicts..." + else + echo "named is not installed or active, to next step..." +fi +# above if will check if server has named.service running that occupies port 53 which makes powerdns failed to start yum clean all yum update -y yum install wget which curl -y diff --git a/install.sh b/install.sh index 94828320d..b923418cb 100644 --- a/install.sh +++ b/install.sh @@ -4,6 +4,14 @@ rm -f /etc/yum.repos.d/epel.repo rm -f /etc/yum.repos.d/epel.repo.rpmsave yum install epel-release -y #some provider's centos7 template come with incorrect or misconfigured epel.repo +if systemctl is-active named | grep -q 'active'; then + systemctl stop named + systemctl disable named + echo "Disabling named to aviod powerdns conflicts..." + else + echo "named is not installed or active, to next step..." +fi +# above if will check if server has named.service running that occupies port 53 which makes powerdns failed to start yum clean all yum update -y yum install wget which curl -y