Here is the steps to install WHM and Cpanel in 3 simple commands. The installation would complete with less than an hour. Before installation make sure you have installed Perl in the server. You can install perl using yum.
1). cd /home
2). wget -N
http://httpupdate.cpanel.net/latest --------- Fetches the latest installation files from cPanel's servers
3). sh latest --------- runs the autoinstaller script
After the installation is completed, check if you can access the WHM using the following url:-
https://yourip:2087 (secured port)
http://yourip:2086 (non-secure port)
You would have to license your Public IP for any dis-interruption of the services. By default, cPanel will be installed as a trail for 15 days.
After licensing the IP, you need to activate the license by using the following command -
/use/local/cpanel/cpkeyclt