How to install cPanel on CentOS 7

Estimated reading time: 1 min

Install cPanel on CentOS 7

In this tutorial, we will explain how you can install cPanel on CentOS 7. cPanel is a software package in the form of a  web application. cPanel makes it possible for a webmaster to easily set up a server with websites, e-mail accounts, and DNS. It provides a graphical user interface to easily manage and host multiple websites on your VPS or dedicated server services.

Prerequisites

Step 1: Log in using SSH

You must be logged in via SSH as sudo or root user. Please read this article for instructions if you don’t know how to connect.

Step 2: Installing cPanel

Run this command:

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

Step 3: Logging into cPanel

After the installation, you will get a link that will look like: cpanel.example.com:2087. Copy and paste it in your preferred browser. Now all you have to do is log in with your login credentials.

Step 4: Set up SMTP relay

You can learn how to setup SMTP relay with cPanel here.

Conclusion

Congratulations, you have successfully installed cPanel on CentOS 7.

Was this article helpful?
Dislike 5
Views: 27339

Reader Interactions

Leave a Reply

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