best web hosting

How to install CentOS Web Panel on CentOS Server 6 & 7?

CentOS Web Panel is open source web hosting control panel used for VPS and Dedicated Server Management, it is a good cPanel alternative. In this guide, you will learn how to install and configure CentOS Web Panel on CentOS 6 &7 CentOS Server, however, the same guide will work with CentOS 6 as well.

Is CentOS Web Panel a good cPanel alternative?

cPanel is premium hosting control panel widely used for managing VPS and Dedicated Servers. Features that are provided by cPanel are at it’s best as it charges a lot for cPanel subscription. Due to tight deadlines for Web App deployments, DevOps and Server Admins try to escape from the server setup through SSH and commands. They are actively looking for a web hosting control panel which can help save them their server administration time. cPanel is anyhow the best selling web hosting control panel nowadays. But the problem most of the server admins face is its high cost. If you are looking for a cPanel alternative then there are many open source web hosting control panels available in the market, but I will be discussing a cPanel alternative hosting control panel that is CentOS Web Panel. If you will ask me then probably I would say you can use centos web panel for your server management.

Following are some of the CentOS Web Panel features you should consider before using it.

CentOS Web Panel Features :

  • Apache web server with Mod security
  • Supports PHP 5.6 and above with easy PHP version switcher
  • Supports Mysql/MariaDB database with PHPMyAdmin to manage database
  • CSF Firewall for additional security of your server
  • Has optional backup feature to safeguard your server data
  • File system lock which helps prevent your website from hacking
  • Dovecot, Postfix, and Roundcube webmail to manage your email addresses
  • Supports 3rd party applications like CloudLinux & Softaculous
  • DoS protection from the Slow-Loris attacks
  • Tomcat 8 server management & install in one click
  • User & DNS Management
  • Live Monitoring, monitors services e.g apache stats, Mysql stats, DNS stats etc.
  • AutoSSL which will install Letsencrypt SSL certificate while you create new account, addon domain or subdomain
  • cPanel account migration which will migrate your database, files and email accounts to CentOS Web Panel

Let us see how to install Centos web panel on centos server?

It is important to read below before you start the installation of CWP Web Panel on your server so as to avoid the facing any issues.

  • You need a server with the fresh installation of CentOS7 or CentOS6 operating system without any configurations done on it and a dedicated IPv4.
  • CWP doesn’t provide any uninstaller so if you are planning to uninstall CWP then you need to do a reinstallation of your server.

Server Requirement:

Get Cloud Server for testing here.

32 bit OS with minimum 512 MB RAM

64 bit OS with minimum 1 GB RAM (Recommended)

It is advised that if you want to avail the features of CWP without any lag then keep your RAM at least 2GB. However, 1GB RAM is enough for installation of CWP panel but my personal experience is if you use 1GB RAM then your RAM will be occupied 90% always. The solution to this problem is you can use 2GB RAM for your server or else it is better your create the SWAP file.


Step by Step guide to installing CentOS Web Panel:

Connect to your server with an SSH Client(such as Putty) as a root user.

1. Prepare Server

Before you start the installation of CWP to your server, first install required packages. Use the below-given command for installation required packages.

yum -y install wget

2. Update server

Update server to latest version simply put below command and let your server be updated to latest version, this process may take a while to complete.

yum -y update

3. Reboot Server

After installing required packages and updating your server, you must reboot your server so that updates can take effect.


4. Install CentOS Web Panel

Now our server is ready to install CWP Web Panel, please note that you can install CWP Web Panel on CentOS 6 as well as CentOS 7 also, only the difference is you have to download the correct installer if you are installing CWP on CentOS 6 or 7.

CentOS Web Panel requires more than 30 minutes to finish the installation, so follow the below-given steps and sit relax.

There are 2 separate installers for CentOS 6 and CentOS 7.

CentOS 6: Installer with Maria-DB 10 latest

Change the directory to

cd /usr/local/src 

Download the installer


Execute the installer

sh cwp-latest

CentOS 7 : Installer for CentOS 7

Change the directory to

cd /usr/local/src

Download the installer


Execute the installer

sh cwp-el7-latest

6. Reboot the server

Reboot the server so that all updates can take effect.



CentOS Web Panel Admin Login 

After installation is completed you will get the control panel access URL with username and password in the command line, kindly copy and paste it in word/text file so that you can use it in future to login into CWP web panel. The password is usually your server’s root password.

To login into Admin web panel, you can use 2030 port number like mentioned below


Replace [SERVER-IP] with your server IP address.

You can also use the port numbers 2082, 2083 to access user control panel, while 2086 and 2087 can be used to access the admin control panel.

Accessing user control panel using 2082 port number

centos web panel

CWP User Control Panel

Accessing admin control panel using 2086 port number

centos web panel

CWP Admin Control Panel


In this article, I have explained how you can install CentOS Web Panel on your centos server with CentOS 6 or CentOS 7. I conclude CentOS Web Panel is also a good cPanel alternative you can use it for your centos server management. For further configuration of your Centos Server kindly check out my other articles.


Kindly let me know if you face any issues while following my step by step guide on How to install CentOS Web Panel on CentOS 7? You can comment your problems below and I will try to resolve your query as soon as possible. If you like this article don’t forget to share this with your friends & colleagues. If you find my articles are helpful then do subscribe to our newsletters. You can also contact me here.


best web hosting

Add Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.