Installer script for Chinese network
This installer uses Chinese network optimized mirror server to improve download speed during installation.
This commit is contained in:
parent
c655d5c77a
commit
95acf4df49
|
|
@ -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
|
||||
Loading…
Reference in New Issue