CentOS Web Panel (CWP) is a free web hosting control panel designed for easy server management. It provides a user-friendly interface and various automation features, making it a popular choice for administrators. This guide will walk you through the steps to install CWP on CentOS 7.
Before installing CWP, update your system packages to ensure compatibility and security.
yum update -y
CWP requires a fully qualified domain name (FQDN) as the hostname. Set your hostname using the following command:
hostnamectl set-hostname yourdomain.com
Replace yourdomain.com
with your actual domain name.
CWP does not work well with SELinux enabled, so it needs to be disabled:
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
setenforce 0
Download and run the CWP installation script:
cd /usr/local/src
wget http://centos-webpanel.com/cwp-latest
sh cwp-latest
The installation process will take several minutes, depending on your server’s resources.
Once the installation is complete, reboot your server to apply changes:
reboot
After rebooting, you can access the CWP admin panel using your server’s IP address:
http://your-server-ip:2030/
Log in using the root credentials of your server.
You have successfully installed CentOS Web Panel on your CentOS 7 server. From here, you can configure your web hosting environment, manage domains, databases, and email services efficiently. For more details, visit the CWP official documentation.