Files
CyberPanel/install-cn.sh
qtwrk 95acf4df49 Installer script for Chinese network
This installer uses Chinese network optimized mirror server to improve download speed during installation.
2018-03-10 22:55:20 +01:00

12 lines
348 B
Bash

#!/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