Process of installing cPanel on new server
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.
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:
- 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: –
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.