In this tutorial, we will show you how to install CentOS Web Panel on CentOS 6. For those of you who didn’t know, CentOS Web Panel is a free alternative to cPanel and provides plenty of features and designed for a newbie who wants to build a working hosting server easily and to take control or manage his/her server all in an intuitive web interface without having to open an SSH console. CentOS Web Panel provides Apache, Varnish, suPHP & suExec, Mod Security, PHP version switcher, Postfix and Dovecot, MySQL Database Management, PhpMyAdmin, CSF Firewall, CageFS, SSL Certificates, FreeDNS (DNS server), and many more.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you the step-by-step installation of the CentOS Web Panel on CentOS 6.
Prerequisites
- A server running one of the following operating systems: CentOS Linux.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install CentOS Web Panel on CentOS 6
Step 1. First, you need to update the system to ensure that we have all of the latest software installed.
yum update -y
Step 2. Setup Hostname.
You can use the following command for hostname setup:
hostname srv1.idroot.us
Step 2. Download and install CentOS Web Panel script.
cd /usr/local/src wget http://centos-webpanel.com/cwp-latest
Once you download the installer on your server, you are ready to start with the installation process. The installation will take approximately 5-15 minutes depends on your server speed and power. To do so, use the command below:
sh cwp-latest
Step 3. Accessing the CentOS Web Panel.
CentOS Web Panel will be available on HTTPS port 2031 by default. Open your favorite browser and navigate to https://your-domain.com:2031
or http://your-server-ip:2030
. To log in, you can use ‘root’ as the user and your root password. If you are using a firewall, please open port 2030 to enable access to the control panel.
Congratulations! You have successfully installed CentOS Web Panel. Thanks for using this tutorial for installing CentOS Web Panel webserver management on CentOS 6 system. For additional help or useful information, we recommend you check the official CentOS Web Panel website.