Previously, WHM’s CPanel should only be established on CentOS; however, it may now be mounted on AlamLinux, Rocky Linux, and Ubuntu 20.04 LTS. at the same time as writing this post, WHM cPanel on Ubuntu 20.o4 LTS was nevertheless within the experimental segment, and the WHM builders counseled towards the usage of it for commercial enterprise functions. but, you could start the use of this control Panel on this Debian-primarily based Linux as it executed nicely in our tests.
we are putting in WHM cPanel on an Ubuntu 20.04 LTS server walking on an Amazon AWS Lightsail example, consequently, the server is clean and free of any pre-mounted software program or firewall.
What exactly is cPanel?
in terms of server control and web hosting bundle configuration, cPanel is one of the most famous software alternatives.This premium manage panel’s simple consumer interface helps you to make all the major server administration and account management settings that may be finished via the web-based consumer interfaces of the 2 apps cPanel and WHM. it is most effective like minded with Linux systems and springs with a 15-day trial license.
What services does cPanel provide?
This control panel provides a comprehensive range of options for administering a server and configuring web hosting accounts. Users have complete control over all settings. On the other hand, the web hosting manager WHM is used to organize specific webspace packages and user accounts, as well as access to a command prompt with root access. There is also a separate program for email traffic with the webmail interface.
The following are some of the differences between the two platforms, cPanel and WHM:
Control Panel for cPanel
It’s a front end that comes with pre-configured settings and management tools for end-users. It allows customers to control their domain, website, and hosting files, among other things… All of this is just by simply using the mouse clicks. Control Panel for cPanel
- Domain management:
Activated, parked, and forwarded domains are all options. Subdomains can also be created, and DNS Zone Editor entries such as A-Records, MX-Records, and CNAMEs can be modified.
- Email administration:
It is possible to create and manage mailboxes and email accounts. Advanced settings, such as spam filters, autoresponders, and e-mail forwarding, can also be configured.
- Security settings:
It is possible to perform security-related tasks such as enabling directory protection, blocking specific IP addresses, and installing SSL certificates.
- Databases and files:
The backup option can be used to arrange and save the data on the web space. Database systems like MySQL and PostgreSQL can also be used to organize larger data sets.
- Log files:
A complete examination of the log files may be carried out with the help of the Webalizer and AWStats software, in which all accesses to your website can be traced.
WHM web hosting manager:
It is the primary platform for managing user accounts and creating custom webspace packages, which includes adding extra plugins, updating, and more… The following are some major features:
It is possible to create and manage individual user accounts. Individual system resources can be assigned to individual packages, and client accounts can be granted access.
Server monitoring allows admins to keep a watch on the entire server’s processes. For example, traffic consumption and system resource usage can be continuously monitored in this manner.
Backups and moves:
Complete backups of all web hosting accounts can be made and restored as needed. Customer accounts can also be easily transferred to different servers.
Due to personalized branding, the WHM Web Hosting Manager allows customers to behave as independent Web Hosting providers. Logos, colors, and other design aspects can also be changed.
Installation of WHM cPanel on an Ubuntu 20.04 LTS Server
Make sure your server is free of any other applications before installing the management panel. This necessitates the purchase of a new server.
1. System requirements for the servers
Let’s start by seeing if your server is capable of completing the tasks mentioned in this guide. As a result, be certain that the bare minimums are met..
- working gadget and model- Ubuntu 20.04 LTS
- Processor– minimum: 1.1 GHz and endorsed: 2 GHz
- RAM – minimum: 1 GB
- encouraged: four GB
- Disk area– minimum: 20 GB
- endorsed: forty GB
- architecture– 64-bit
- Static Ip-deal with
transfer to root user
in case you have an lively firewall and guidelines then disable them
2. Run system update
Before installing any server software platform, use the system update command to ensure that all existing packages are up to date and to rebuild the system repo cache, as we explain in most of our tutorials.
3. Set fully qualified hostname on Ubuntu 20.04
due to the fact cPanel requires an FQDN (absolutely qualified domain name) for correct set up, make sure positive the hostname is set to the area name you plan to make use of.
To find out what your modern hostname is, type:
And, to change it to a completely qualified hostname, which includes demo.how2shout.com, alter the document distinctive for it.
Delete the existing hostname in the file and update it with the brand new one you want to use. By pressing Ctrl + O, Enter, and finally Ctrl+X, you can save and quit the file.
Now open the /etc/hosts file:
Replace the IP address with your server’s address, as well as the domain name, in a line like this.
220.127.116.11 demo.server-tutorials.net demo
save and exit the file by pressing Ctrl + O, hit the Enter key, and then Ctrl+X to exit.
Confirm the hostname has been set using the below command.
4. Install Cpanel/WHM on Ubuntu 20.04 LST Server
permit’s use the Linux screen program to create a Shell session so as to stay energetic although the network is down, so you can preserve a watch on what’s happening.
in case you by chance closed the remote SSH consultation window after going for walks the set up script, sincerely login once more and execute
to get what’s left of what you’ve got
Now, I’m presuming you’ve also logged in as a root user; if that’s the case, run the script below:
Let the system perform the installation, wait for few minutes. Once it is done you will get the message:
5. Access WHM/CPanel Web interface
Now, open any browser that can reach the IP address of your server. Also, if you’re utilizing a cloud platform like AWS EC2, LightSail, Digital Ocean, Google Cloud, or something else, make sure that the ports required by WHM and CPanel are whitelisted in their network firewall.
Port numbers to open
- cPanel – 2082
- cPanel – SSL 2083
- WHM – 2086
- WHM – SSL 2087
for this reason to get entry to WHM on your browser type- your-server-IP-cope with:2086 within the identical manner server-IP-cope with:2082 for CPanel.
6. Login using Ubuntu root user
When you arrive at the login screen, enter root as the username and the password that your Ubuntu 20.04 Server has established for it.
If you don’t know your server’s root password, simply go to its terminal and type the command to change it.
When it asks to generate a trial license then go through the Wizard.
Start creating a Cpanel account and other Settings
Thats it 🙂