You are here: Portal Home > Knowledgebase > OpenVZ VPS > Can I install cPanel in my VPS?
Can I install cPanel in my VPS?
|
cPanel is the best Control Panel out there, and a lot of our customers use it.
Installing it onto your VPS is quite straight forward.
- 1) Make sure you start with a CLEAN Centos 5.4 64bit distro on your VPS.
- If you do not, just rebuild your instance with this image (via Cloud Manager) - CLEAN is very important (i.e. a freshly built instance with none of your data on it!)
- 2) Note that ALL YOUR DATA on the machine you are installing cPanel on WILL BE ERASED!
- cPanel requires very snitized environment - it will remove everything unecessary, and this may include your previous mysql, apache and other services. This is why it is recommended to have a CLEAN install in step 1.
- 3) Log into your system as root and edit the following file: /etc/selinux/config
a) type: nano /etc/selinux/config b) change the line where it says SELINUX=enabled to SELINUX=disabled c) save the file, CTRL+X (for exit), and then type Y to confirm file changes
- 4) You must set your hostname to a valid FQDN. cPanel does not like hostnames like 'mywebserver', but rather 'mywebserver.mydomain.com'
- Type: hostname cpanel1.yourDomainNameHere.com - replacing yourDomainNameHere with your own domain name of course ;)
- 5) Get to your home folder by typing cd /home
- 6) Type: wget -N http://layer1.cpanel.net/latest
- 7) Type: sh latest
- 8) Go grab a cup of coffee, lunch, or maybe a short movie... cPanel takes awhile to get installed. Once it is done - it'll let you know.
- 9) When the installation is finished, head over to:
- https://[YOUR-IP-ADDRESS]:2087/
- 10) Login as root, with your password - and follow the final cPanel setup options through the web browser.
You will notice that cPanel runs in a trial mode for 30 days. You have to purchase a monthly license for it, which you can do by contacting our support!
Once a license has been assigned to your IP address, simply type /usr/local/cpanel/cpkeyclt as root - and this will update your Trial to a fully licensed copy.
|
Add to Favourites
Print this Article
|
Also Read