mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-01 20:29:06 +01:00
13 lines
352 B
Bash
13 lines
352 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-cn
|
|
chmod +x install.py
|
|
server_ip="$(wget -qO- http://whatismyip.akamai.com/)"
|
|
python install.py $server_ip
|