After installing Operating System on your server, you can install cPanel / WHM or cPanel DNSONLY.
After obtaining a cPanel license, login to your server and run the following commands to install cPanel.
wget -N http://httpupdate.cpanel.net/latest
Please make sure that you have perl installed on your server before installing cPanel. If it is not installed, install it using yum.
If licensing fails, run the command
to activate the license.
Apache and PHP will be installed in the server buy default, you can customize the apache and php configuration by uisng easyapache script provided by cPanel.