Skip to content

Instantly share code, notes, and snippets.

@samhagin
Last active June 8, 2018 10:40
Show Gist options
  • Save samhagin/508721279bd4c2d52be9aadf241fa9ab to your computer and use it in GitHub Desktop.
Save samhagin/508721279bd4c2d52be9aadf241fa9ab to your computer and use it in GitHub Desktop.
Install cPanel
# install Perl if not already installed
yum -y install perl
# set a hostname for your server
hostname server.codebeginner.net
# change directory to /home
cd /home
# download the cPanel script
curl -o latest -L https://securedownloads.cpanel.net/latest
# since the install can take a while ( 20 - 30 minutes ) it is advisable to run it in screen
screen -S install_cPanel
# run the script
sh latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment