How to Install CentOS Web Panel (CWP) on CentOS 7

CentOS Web Panel (CWP) is a robust and free hosting control panel tailored for CentOS, RHEL, and CloudLinux systems. It simplifies administrative tasks by centralizing server management tools in one interface.

System Requirements

  • A new or minimal installation of CentOS 7 x64 with at least 1GB of RAM; 4GB is recommended for optimal performance.
  • Note: Installing CWP on a pre-configured system might lead to unexpected behavior.
  • The server must have a static public IP address: 203.0.113.1.
  • A domain, such as example.com, must be correctly pointed to the server.
  • You need root access to log into the system.
  • Ensure the server’s FQDN (Fully Qualified Domain Name) differs from its hostname. For example, hostname: cwp, FQDN: cwp.example.com.
  • Update the server to the latest stable version before starting the installation.

Step 1: Execute the CWP Installer Script

Use the official installation script provided by CWP to set up the control panel. This will automatically install required services like Apache, MariaDB, PHP, and others.

cd /usr/local/src
wget http://centos-webpanel.com/cwp-el7-latest
sh cwp-el7-latest

The setup might take some time as it handles all dependencies automatically. Once installation is complete, you’ll see confirmation and access credentials. Make sure to store them securely.

#############################
#      CWP Installed        #
#############################

go to CentOS WebPanel Admin GUI at http://SERVER_IP:2030/

http://203.0.113.1:2030
SSL: https://203.0.113.1:2031
---------------------
Username: root
Password: ssh server root password
MySQL root Password: Qr71ced05pwr

#########################################################
          CentOS Web Panel MailServer Installer
#########################################################
SSL Cert name (hostname): cwp.example.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!

Step 2: Log into CWP via Your Web Browser

Once the server has rebooted, launch your preferred browser and navigate to either http://203.0.113.1:2030 or the secure version https://203.0.113.1:2031 to access the control panel. The CWP setup process will have already configured the necessary firewall settings to permit traffic through ports 2030 and 2031.

For enhanced security, it’s advisable to use the HTTPS link.

After logging in, you can explore the CWP interface and experiment with its various administrative tools and capabilities.

Conclusion

CentOS Web Panel streamlines server administration by providing a centralized, user-friendly platform for managing essential hosting services. With just a few commands, you can install CWP and gain access to powerful tools for managing Apache, MySQL, PHP, and more. Once set up, CWP offers a secure and efficient interface for handling day-to-day server operations. Whether you’re a system administrator or a developer, CWP makes managing a CentOS-based server far more accessible and efficient.

Source: vultr.com

Create a Free Account

Register now and get access to our Cloud Services.

Posts you might be interested in: