Advance

How To Install CPanel On Ubuntu 22.04

How To Install CPanel On Ubuntu 22.04
1
(2)

Every hosting companies offer a control panel to their customers to simplify hosting websites, managing email servers and etc. CPanel is one of the most popular control panels that allow you to manage all services easily in a single place. This article will teach you How To Install CPanel On Ubuntu 22.04. Check out the packages offered on the Eldernode website to buy an Ubuntu VPS server.

Tutorial Install CPanel On Ubuntu 22.04

Recommended Article: Introducing And Install ImunifyAV On CPanel & WHM

What is CPanel?

CPanel is an online Linux-based graphical interface and web hosting control panel. You can publish websites, manage domains, organize web files, create email accounts and etc using CPanel. It has two interfaces including a user interface called cPanel and a server management interface called Web Host Manager or WHM. This will allow you to manage your website and provides tools for server management.

Installing CPanel on Ubuntu 22.04

First, log in as a root to your Ubuntu 22.04 server.

If you have an active Firewall, you should disable and stop it before installing CPanel with the following commands:

iptables-save > ~/firewall.rules
systemctl stop firewalld.service
systemctl disable firewalld.service

Now update the system packages using the command below:

sudo apt update
sudo apt upgrade

Next, you need to set the fully qualified hostname on Ubuntu 22.04. Because CPanel needs a fully qualified FQDN domain name to install. To set the hostname to the domain name, enter the command below:

nano /etc/hostname

After the hostname file opens, set the new hostname. Then press Ctrl+O to save and Ctrl+X to close the file.

In this step, open the file as shown below:

nano /etc/hosts

You should change the new IP address with the hostname:

IP_address yourserver.domain.com yourserver

Save and close the file as mentioned.

Now it’s time to install CPanel and WHM on Ubuntu 22.04. To do this, run the following command:

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

Wait for a while until the installation is finished.

Accessing WHM/CPanel on Ubuntu 22.04

To access the WHM web interface, open your browser and enter the following URL:

http://SERVER_IP:2087

After the WHM is opened in your browser, you can log in to it with the root username and password:

 

WHM-login-screen

 

How to Buy and Activate CPanel license

After you log in to the WHM interface as the root user, click on Purchase a License in the Trial License banner at the top of the interface.

Now create a CPanel store account and log in to it.

 

CPanel-licenses

 

Then you should verify your license order. If you buy a license from the WHM interface, note that the system automatically chooses the license type for your server and detects the IPv4 address to license.

Then complete the payment process.

Lastly, you will receive a confirmation message and an invoice email from the CPanel store.

You can check if the CPanel product license is purchased for the server IP on the CPanel website or not using the following URL:

https://verify.cpanel.net/app/verify

You will see the date and time of the license active and the product type of the license.

Finally, it’s time to activate the CPanel license on your ubuntu server using the command below:

/usr/local/cpanel/cpkeyclt

That’s it!

Recommended Article: How to change the php version in Cpanel

Conclusion

CPanel is one of the most popular software solutions to manage servers or configure web hosting packages. In this article, we taught you how to install CPanel on Ubuntu 22.04. I hope this tutorial was useful for you and helps you to install CPanel. If you have any questions or suggestions, you can contact us in the Comments section.

How useful was this post?

Click on a star to rate it!

Average rating 1 / 5. Vote count: 2

No votes so far! Be the first to rate this post.

View More Posts
Marilyn Bisson
Content Writer
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

4 thoughts on “How To Install CPanel On Ubuntu 22.04

    1. There is a way to install Cpanel on Ubuntu 22.04, despite the lack of Ubuntu 22.04 support in Cpanel.
      If you want to install it on Ubuntu 22.04, send a ticket to our support team. They will do it for you.

      1. Hi Marilyn Bisson.
        I can’t install on ubuntu 22.04.
        this is error message.

        cPanel, L.L.C. does not support Ubuntu version 22.
        2023-03-02 15:42:59 356 [828145] (ERROR): cPanel & WHM does not support the version of the Linux distribution you are running. You will need to install on one of the supported versions of a Linux distribution listed at https://go.cpanel.net/supported-os.

        please help me.

        Best Regards.
        William.

        1. Thanks for your comment.
          Unfortunately, cPanel does not support Ubuntu 22.04, but the good news is that there is a way to install cPanel on Ubuntu 22.04.
          If you want to install it, you can send a ticket to our support team. They will do it for you.

Leave a Reply

Your email address will not be published. Required fields are marked *

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day