mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-03 20:05:58 +01:00
12 lines
348 B
Bash
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
|