BuycPanel Blog

BuycPanel Blog

Latest news and updates

1/21/2015 – Installing cPanel on a VPS Running CentOS 6

Posted by Jamison on 21 01 2015.

cPanel is one of the most prestigious web hosting control panel for Linux that help website owners and developers manage servers and websites. It offers several user-friendly functions, designed to make it easier for you to manage your hosting account. If you are running CentOS 6 and are planning to use cPanel, this article will show you how to do install the program. Read on.

 

Anything I need to know first before installing cPanel on my OS?

 

Actually, there are a few.

 

First, although it is very simple to install cPanel, the script that runs through it may take several hours to complete. Second, yes, there is an annual licensing fee that costs around $200. Check out cPanel’s buying page and choose the pricing and tools that are suited for your needs. And lastly, cPanel does not come with an uninstaller. Meaning, you need to completely restore the server in order to remove it from your system—just in case you didn’t find the tool useful to you.

 

More Technical Prerequisites

 

  1. You have to have Perl Modules on your server. Copy this to start installation: “sudo yum install perl”. Note that this may take few minutes to finish the task.
  2. Ensure that the installation should go to Fully Qualified Domain Name. Most people get so many errors while doing this step. So to avoid unnecessary repeated actions, simply look for FQDN and type this command: “hostname your FQDN”.
  3. You need to have at least 384 MB Ram and 20 GB free disk space to successfully run cPanel.
  4. Make sure that you are using the latest version of your OS.

 

The Setup

 

There are several ways to install cPanel on your OS, only this article will show you one of the most common (and effective) ways that suits almost all versions of your OS.

 

We will be showing commands on how to do so. Simply copy and paste them to avoid errors. Let’s begin with installing screen and wget.

 

  1. Type this command to get screen and wget: “sudo yum install screen wget”
  2. Run screen. To do this, type in “screen”. This will open screen and now you are ready to install the control panel.
  3. To install cPanel, type this command: “wget –N http://httpupdate.cPanel.net/latest
  4. If you are using the DNS only version, type this command: “wget –N http://httpupdate.cPanel.net/latest-dnsonly
  5. Start running the script. To do so, copy this: “sh latest”. This will take few hours to complete. You close the screen while waiting. Simply type “Cntrl-a-d” and screen –r to reopen.
  6. You should see that cPanel has finally completed its installation. Now, login by going to your domain or IP address. Enter your login details. This should be your login: username: your_server_user and password: your_password

 

Once you have opened the cPanel and entered the page, you now have full access to whatever plugins and tools, which come with the product. Explore them and have fun with your new control panel!