From c655d5c77adfcef8a81cc2458233f3fe6ba1ceb0 Mon Sep 17 00:00:00 2001 From: qtwrk Date: Sat, 10 Mar 2018 22:53:09 +0100 Subject: [PATCH] installer bash script This script will temporarily and permanently disable SELINUX before installation , detects IP and put it into python install.py IP --- install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 000000000..2456437c2 --- /dev/null +++ b/install.sh @@ -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 \ No newline at end of file