cPanel + CloudLinux on a CentOS 6 Linode← Back
This post is a continuation of my previous steps on getting a custom CentOS 6 install running on Linode using PV-GRUB.
If you used Linode's CentOS distro deployment feature you will need to follow steps 15-16 of the custom CentOS post to create /boot/grub/menu.lst and make PV-GRUB boot the CloudLinux kernel.
If you find this post useful to your company I'd appreciate $5 AUD towards the beer fund.
- Install the base package group
yum groupinstall -y base
- Install cPanel
wget http://httpupdate.cpanel.net/latest sh ./latest
- At the time of this post I was installing cPanel 11.32. After assistance from cPanel support, there is a possible bug where some perl modules fail to install and they need to be force-installed:
# Failed install: IO::Socket::INET6 # Failed install: Net::LibIDN # Failed install: Socket6 # Failed install: XML::LibXML::Common # Failed install: XML::LibXML # Failed install: NetAddr::IP # Failed install: Mail::SPF # Failed install: Mail::SpamAssassin # Failed install: Net::DAV::Server /scripts/checkperlmodules --full --force
- Edit /etc/sysconfig/iptables and move the ICMP unreachable rule on the INPUT queue to the end of the queue (otherwise you'll block access to your cPanel services)
# Comment out line 10 # Copy+paste it to about line 33 (just before the "-A FORWARD" line) service iptables restart
- Install CloudLinux
wget http://repo.cloudlinux.com/cloudlinux/sources/cln/cpanel2cl sh ./cpanel2cl -k <activation_key> reboot /scripts/easyapache --build
- You're now running cPanel + CloudLinux on your CentOS 6 Linode.