How do I install cPanel on my VPS?

Notice

The scripts in this article are intended for Lithium Hosting customers only. Access to the scripts site is restricted to IPs belonging to VPS and Dedicated Servers hosted by Lithium.

If you've purchased a cPanel license for your VPS server, you still need to install cPanel.  Luckily, we've got a script that will do that for you, or you can follow cPanel's instructions and install it yourself.
If you choose to use our script, we'll automatically setup Apache and PHP as well as configure cPanel with some optimal settings.

To get started, login to your VPS as root.

Type the following:
rpm -qa | grep -q wget || yum -y install wget
wget -4 -O /root/lithium-cpanel.sh https://scripts.lithiumhosting.com/lithium-cpanel.sh
chmod +x /root/lithium-cpanel.sh
nohup /root/lithium-cpanel.sh  & > /dev/null

The script will run until completed, it will log to the console and to /var/log/cpanel-install.log.
You can monitor the install by running:
tail -f /root/nohup.out

If you're more of a hands on person, you can do the installation yourself. The instructions can be found here:
https://documentation.cpanel.net/display/ALD/Installation+Guide

As always, we're here to help, submit a ticket if you need a hand.