CentOS Web Panel (CWP) is a free, user-friendly web hosting control panel designed for simplified server management, offering automation for domains, databases, and email services. Ideal for AvaHost’s high-performance VPS, this guide walks you through installing CWP on CentOS 7, leveraging AvaHost’s NVMe SSDs and robust infrastructure for seamless hosting. Follow these steps to set up CWP and manage your web environment efficiently on AvaHost.
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.