installer bash script

This script will temporarily and permanently disable SELINUX before installation , detects IP and put it into python install.py IP
This commit is contained in:
qtwrk
2018-03-10 22:53:09 +01:00
committed by GitHub
parent bf496020b2
commit c655d5c77a

12
install.sh Normal file
View File

@@ -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://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