CentOS Web Panel (CWP) is a free and open-source web hosting control panel that allows you to easily manage multiple servers (both dedicated and VPS) without the need to access the server through SSH for every small task. CWP offers a rich set of features and options for server management, such as:
- Apache web server with mod security and automatic updates
- PHP with suPHP, SuExec and PHP version switcher
- MySQL/MariaDB with phpMyAdmin
- Email with Postfix, Dovecot and RoundCube
- CSF firewall with GUI
- Backups with compression and encryption
- User management with quotas and limits
- DNS management with FreeDNS server
- Live monitoring and statistics
- File system lock and server configuration auto-fixer
- cPanel account migration
- And much more!
In this tutorial, we will show you how to install CWP on a CentOS 7 VPS. Before we begin, make sure you have the following requirements:
- A CentOS 7 VPS with root access
- A static IP address for your VPS
- A domain name pointing to your VPS IP address
- A fresh installation of CentOS 7 without any configuration changes
Step 1: Update your system
The first step is to update your system packages and install some dependencies. Log in to your VPS as root via SSH and run the following commands:
yum update -y
yum install wget epel-release -y
yum groupinstall "Development Tools" -y
Step 2: Download and run the CWP installer
Next, we need to download and run the CWP installer script. This will download the latest version of CWP and install it on your VPS. Go to the /usr/local/src directory and run the following commands:
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el7-latest
sh cwp-el7-latest
The installation process may take some time, depending on your server speed and network connection. Once it is finished, you will see a message like this:
#############################
# CWP Installed #
#############################
go to CentOS WebPanel Admin GUI at http://SERVER_IP:2030/
http://YOUR_SERVER_IP:2030
SSL: https://YOUR_SERVER_IP:2031
---------------------
Username: root
Password: ssh server root password
MySQL root Password: PuSDPmDZf5CW
#########################################################
CentOS Web Panel MailServer Installer
#########################################################
SSL Cert name (hostname): cwp.tecmint.com
SSL Cert file location /etc/pki/tls/ private|certs
#########################################################
visit for help: www.centos-webpanel.com
Write down login details and press ENTER for server reboot!
Press ENTER for server reboot!
Make sure you write down the login details and the MySQL root password. Then press ENTER to reboot your server.
Step 3: Access the CWP admin panel
After the reboot, you can access the CWP admin panel from your web browser. You can use either HTTP or HTTPS protocol, depending on whether you have an SSL certificate or not.
If you have an SSL certificate, you can access the admin panel via:
https://YOUR_SERVER_IP:2031
If you do not have an SSL certificate, you can access the admin panel via:
http://YOUR_SERVER_IP:2030
You should see a login screen like this:
Enter your root username and password (the same as your SSH login) and click on Login.
You should see the CWP dashboard like this:
Congratulations! You have successfully installed CWP on your CentOS 7 VPS. You can now start exploring the various features and options that CWP offers for server management.
In this tutorial, we have shown you how to install CWP on a CentOS 7 VPS. CWP is a powerful and user-friendly web hosting control panel that allows you to easily manage multiple servers without the need to use SSH for every small task. We hope you find this tutorial useful and enjoy using CWP for your web hosting needs. If you have any questions or feedback, please feel free to leave a comment below.
Leave a Reply