mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-01 09:50:44 +01:00
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:
12
install.sh
Normal file
12
install.sh
Normal 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
|
||||
Reference in New Issue
Block a user