This script will help you prepare a server for cPanel installation. It will check various requirements and let you know if there is anything that needs to be fixed and how to do so before proceeding with the install. 

To run this script directly run the following on your command line. If you have issues grabbing this with ssl use "--insecure" after "curl -s"

curl -s -L go.cpanel.net/preinstallcheck | sh

To run this script directly with options use the following. To find a full list of options use --help

bash <(curl -s -L go.cpanel.net/preinstallcheck) --option

To run this script locally on the server run the following

wget go.cpanel.net/preinstallcheck
sh preinstallcheck
or with options
sh preinstallcheck --option