Install CentOS base and Perl by entering the following commands: yum groupinstall base perl.
You will then fetch the cPanel installer script and run it by entering the following command: cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest.
Once it has completed, and the installation process will take perhaps 45 minutes to complete, please reboot your VPS. You can reboot by running the command: reboot.
Once cPanel has been installed, you may log in at https:// “VPS IP Address”:2087 — your username will be root and the password you can retrieve from your activation email. Please note: We recommend that you never log in with http://yourVPSipaddress:2086 or /whm as this is insecure. Now that cPanel/WHM is installed, you may move onto step three of our getting started series which is “Securing and configuring your Self Managed VPS’.