From 95acf4df493fda57807e4cc8e335f4acd490d541 Mon Sep 17 00:00:00 2001 From: qtwrk Date: Sat, 10 Mar 2018 22:55:20 +0100 Subject: [PATCH] Installer script for Chinese network This installer uses Chinese network optimized mirror server to improve download speed during installation. --- install-cn.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 install-cn.sh diff --git a/install-cn.sh b/install-cn.sh new file mode 100644 index 000000000..c11e90050 --- /dev/null +++ b/install-cn.sh @@ -0,0 +1,12 @@ +#!/bin/bash +yum clean all +yum update -y +yum install wget which curl -y +setenforce 0 +sed -i 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config +wget https://mirror.cyberpanel.net/install-cn.tar.gz +tar xzvf install-cn.tar.gz +cd install +chmod +x install.py +server_ip="$(wget -qO- http://whatismyip.akamai.com/)" +python install.py $server_ip \ No newline at end of file