How to install CentOS WebPanel on CentOS 6

Try it in our public cloud & Get $5 Credit
CLAIM NOW

CentOS WebPanel is a free control panel solution for RPM-based Linux distributions. What sets it apart from other control panels is that it can be used to install and configure a number of key web server applications. When added to a minimal installation of CentOS 6, it provides one of the quickest ways to get a web server up and running.

Getting Started

To complete this guide, you will need the following:
• 1 Node (Cloud Server or Dedicated Server) running a clean installation of CentOS 6.
• All commands should be run as the root user

Step-by-step guide

Ensure that your CentOS 6 installation is up to date and that the program wget is installed.

yum -y install wget && yum -y update

Selinux will need to be disabled, so go ahead and do that now.

setenforce 0
sed -i 's/enforcing/disabled/' /etc/sysconfig/selinux

Set up the hostname for your server.

hostname server.example.com

Before starting installation of CentOS WebPanel, you’ll need the following:

A valid hostname that will resolve on the IP used for the control panel
All your initial IP addresses bound on the server

Using wget, grab the installation script from CentOS WebPanel’s official web site.

cd /usr/local/src
wget http://centos-webpanel.com/cwp-latest

Run the included shell script, making sure to specify the preferred MariaDB option when prompted.

sh cwp-latest -d mariadb

Once the installation process has completed, you will be given a list of credentials for logging into the web panel. Take note of them and then reboot the server.

reboot

Once the server is back online, you may navigate to the web interface and login with your root credentials to access your newly installed CentOS WebPanel.

Conclusion

Now that CentOS WebPanel is installed, it provides a handy interface to add additional services and configure existing ones in the realm of user management, SQL, email, DNS, PHP, firewalls, and more. It also facilitates security monitoring, making it easier to detect issues ahead of time. If this guide was helpful to you, kindly share it with others who may also be interested.