Currently, many people are interested in knowing how to install CWP. But, let’s get to know about CWP first. CWP (CentOS Web Panel / Control Web Panel) is a control panel application for Web Hosting that used VPS (Virtual Private Server) or Dedicated Server with CentOS and CloudLinux based OS.
CWP exists to meet a condition when a sysadmin doesn’t need to access the server through SSH to configure the task they need. Like cPanel, but the big difference is CWP is free to use.
CWP basic features including :
Here are the steps for installing CWP in the CloudRaya Virtual Machine that uses the CentOS 7 Operating System.
You must have a clean/fresh installation of these supported Operating Systems :
To begin with is to set the hostname of the CWP server using FQDN (Fully Qualified Domain Name). Please takes note, that hostname of the VM should not be the same as the main domain, for example :
Domain –> bari.com
Hostname –> server.bari.com
Set the server hostname with the command below :
# hostnamectl set-hostname server.bari.com
As for the CloudRaya VM, we doesn’t need to set IP Address. Since CloudRaya already set the Public IP Address from the CloudRaya panel.
The second step is to update the server and install the required package for CWP installation. Update the VM repository with the below command :
# yum update -y
After the update process is completed, install the wget package as download media for CWP files with the below command :
# yum install wget -y
After that, reboot the VM thus the updates will be completely applied into the VM.
The third step is to start installation process of the CWP. First is move to directory /usr/local/src with the below command :
# cd /usr/local/src
After that, download CWP files using wget with the below command :
# wget http://centos-webpanel.com/cwp-latest
And then, run the bash file CWP installation with the below command :
# sh cwp-latest
After the installation process is completed, reboot the VM by typing command below :
# shutdown -r
When the VM is up again, you can access the CWP Admin Panel page with this URL :
https://YOUR_VM_PUBLIC_IP_ADDRESS:2031 for example : https://22.214.171.124:2031
You can login into CWP Admin Panel using your VM root credential. After login, you can configure CWP to meets your need with hosting activity.
For additional information, here is the port lists that needed by CWP to server it’s service as hosting panel application :
As we can see, there is many warning message that indicating that CWP Admin Panel is not fully setup, like NAT Settings, SSH Default Port, root E-Mail Notifications, etc.
Further ocnfiguration is needed to make CWP is fully functional to meets user needs as hosting panel application.
Congratulations! You have now installed and set up your own CWP in the CloudRaya Virtual Machine.
In this guideline, we have installed and set up our own CWP in the CloudRaya Virtual Machine environment for serving hosting task management using web panel application to manage task that needed to serving web hosting service.