G2A Many GEOs
SHARE
TWEET

Untitled

k3rn3lp4n1c Apr 4th, 2020 (edited) 150 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. OUTPUT=$(cat /etc/*release)
  4. if echo $OUTPUT | grep -q "CentOS Linux 7" ; then
  5.     echo "cPanel&WHM is available to install on CentOS 7"
  6.     echo "We must disable NetworkManager to continue installation"
  7.     systemctl disable NetworkManager && systemctl stop NetworkManager
  8.     cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
  9. elif echo $OUTPUT | grep -q "CentOS Linux 6" ; then
  10.     echo "cPanel&WHM is available to install on CentOS 6"
  11.         echo "We must disable NetworkManager to continue installation"
  12.         systemctl disable NetworkManager && systemctl stop NetworkManager
  13.     cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
  14. else
  15.     echo "cPanel&WHM isn't available to install on this distributive"
  16. fi
RAW Paste Data
Ledger Nano X - The secure hardware wallet
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top