How to Install cPanel

Aug 14, 2022

How to Install cPanel

Step 1: Log in to the server

Login via SSH to the server using the root username

ssh root@IP-Address

Step 2: Open a screen

Install screen if it is not yet installed:

yum install screen

Then open a screen

Step 3: Set a hostname

The cPanel installer needs a valid FQDN set as the hostname before the install can run. If a proper hostname has not been set, set it with the hostname command:

hostname domain.tld

Step 4: Execute the Installation Command

cPanel can be installed with the following command:

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

Step 5: Proceed with web installation

Once the installation is complete, a URL will be provided to proceed with the web installation. Navigate to this URL in your browser.

Accept the terms of service:

Enter your email and nameservers:

You will then be presented with the WHM management page:

Step 6: Restart the server

To complete the installation, restart your server.

restart

Next Steps

Now that you have completed the installation of cPanel, you can begin using your server. Check out our tutorial on Creating a database in cPanel to keep your server running smoothly.

Need help managing your server? Our team of cPanel system admins can help you if you choose to purchase one of our managed services.

RELATED :
How to work with the ModSecurity plugin
Sara Elicon
Sara Elicon

Sara started her technical writing career years ago as an IT Project Manager creating both business and technical documents. With experience in composing manuals and guides, she turned her love of writing toward consumer tech and the internet. She is currently working as a writer and CEO of MoboHost.

Leave a Reply