How do I install cPanel on my VPS?
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 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:
As always, we're here to help, submit a ticket if you need a hand.