Files
CyberPanel/install.sh
qtwrk c655d5c77a installer bash script
This script will temporarily and permanently disable SELINUX before installation , detects IP and put it into python install.py IP
2018-03-10 22:53:09 +01:00

12 lines
335 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://cyberpanel.net/install.tar.gz
tar xzvf install.tar.gz
cd install
chmod +x install.py
server_ip="$(wget -qO- http://whatismyip.akamai.com/)"
python install.py $server_ip