Process of installing cPanel on new server
Today I am going to show you how to install cPanel on your new server, so that you can start automating your processes right away!
cPanel offers hosting providers the tools that they need to manage their businesses. The customers can use an easy interface to control virtually every aspect of the website like: Email tools, Security features, Domain management and Database management, all easy to apply and hosting providers can expand these features with third party plugins and customization.
Now let’s get started with all the information for installing cPanel, to help you make sure with the right choice for you. cPanel offer free 15 day trial licenses for new servers. These licenses are available for the servers with the static IP address that has not already been licensed with cPanel.
When you install cPanel on a new server, you need to purchase a license and then it will get activated.
When you license your server, you also need to choose whether you want a Dedicated, VPS or cPanelsolo license.
cPanelsolo licenses are for individuals or for small businesses that would only need one user account to manage this server and his single hosting account.
VPS licenses are for businesses that would need multiple users to get everything done. You should choose this kind of license if you are installing cPanel in a virtual environment and
Dedicated licenses are for data centers or large web hosts that need multiple users on a dedicated server.
Before you can start installing,
You need to make sure that your system needs the following system requirements: –
- Your hostname shouldn’t match any of your servers’ domains and it should resolve to a valid IP address.
- That IP address should be static IP and you should have a valid subnet address and the default gateway address.
- You are also need to configure your Ethernet device.
- Disable any Operating System firewalls and disable the network manager and SELinux.
- It’s a good idea to use YUM to make sure you don’t have any unnecessary software sitting around on your server.
Now, let’s talk about your server itself:
We support CentOS, CloudLinux and Red hat enterprise Linux version 7.
- If you want to use CloudLinux make sure to convert to CloudLinux after installing cPanel and WHM. Installing CloudLinux before you install cPanel can cause problem.
- Make sure to use a minimal version of your Operating system. Non minimal versions often come with preloaded software’s that may cause conflicts with cPanel.
- For your file systems make sure to use XFS or ext4 file systems. You should be thinking about how you are going to handle backups and databases too. So make sure you have a separate partition for those. We have a different requirement for each Operating system version.
Here is what you need for Version 7: –
- 1.1GHz processor
- Minimum of 1 GB RAM
- But we recommend at least 2GB RAM.
- 20 GB Disk Space
Depending on the exact server configuration you are using you might have to require a few other requirements: –
When it comes to configuring cPanel and WHM itself you got a few options for installation: –
- You can add the /etc/wwwacct.conf file to preconfigure your basic setup information like Contact email address and nameservers.
- The cpanel.config file handles lots of configuration settings for your cPanel and WHM features.
- Use the cupdate.cor for setting the product version you want of server to run
- Use the cpusources.conf file to set where your server download updates from
- If you don’t want to use these files though don’t worry they are optional.
Now it’s the times for the main event! Installing cPanel and WHM: –
First let’s log in to server as root. You want to do this in a screen session so the interruptions don’t force you to start it over. Most Linux installations come with screen but you can install it with YUM too.
You have to run following command for installing cPanel on your server:
| cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest |
Now you can log in to WHM and start running your cPanel/ WHM server.
Once your server is setup we recommend that you can setup backups, checkout the “Contact Manager” interface and its settings. Configure “EasyApache”. Take care of any remote MySQL DNS clustering if you want to use.