How to install CWP on Rocky Linux 8

Share on Social Media

In this article, you will learn how to install CWP on Rocky Linux 8 or other RPM based Linux distros. #centlinux #linux

What is CWP? :

CWP or Control Web Panel is an AI powered Free Web Hosting control panel designed for quick and easy management of (Dedicated & VPS) as well as offering an intuitive and modern interface for users, as a web hosting panel. CWP is now powered by a custom CWP Secure Kernel which has the highest security for Web Hosting servers. (Source: CWP)

With Minimum system requirements of 1 GB RAM for a 64bit system, CWP is a high performing system that is lenient on system resources, thus being an effective solution for server administration. If you are looking for Speed then CWP is the best choice.

Environment Specification:

We are using a minimal Rocky Linux 8 virtual machine with following specifications.

  • CPU – 3.4 Ghz (2 cores)
  • Memory – 1 GB
  • Storage – 20 GB
  • Operating System – Rocky Linux 8.6 (Green Obsidian)
  • Hostname – cwp-01.centlinux-com.preview-domain.com
  • IP Address – 192.168.116.128 /24

Update your Rocky Linux Server:

Connect with cwp-01.centlinux-com.preview-domain.com as root user with the help of a ssh client.

Refresh the yum cache of your Linux operating system.

# dnf makecache
Rocky Linux 8 - AppStream                       1.7 kB/s | 4.8 kB     00:02
Rocky Linux 8 - AppStream                       712 kB/s | 8.5 MB     00:12
Rocky Linux 8 - BaseOS                          766  B/s | 4.3 kB     00:05
Rocky Linux 8 - BaseOS                          487 kB/s | 2.6 MB     00:05
Rocky Linux 8 - Extras                          2.0 kB/s | 3.5 kB     00:01
Rocky Linux 8 - Extras                          2.6 kB/s |  11 kB     00:04
Metadata cache created.

Execute the following dnf command to update software packages in your Linux operating system.

# dnf update -y

If your Linux Kernel is updated by previous command, then you should restart your Linux machine with the new Kernel.

# reboot

Verify the versions of Linux Kernel and operating systems that are being used in this installation guide.

# uname -r
4.18.0-372.9.1.el8.x86_64

# cat /etc/rocky-release
Rocky Linux release 8.6 (Green Obsidian)

Install EPEL Yum Repository:

CWP requires some software packages from EPEL yum repository, therefore enable it by executing following command.

# dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Last metadata expiration check: 0:03:42 ago on Sat 25 Jun 2022 12:33:49 PM PKT.
epel-release-latest-8.noarch.rpm                 17 kB/s |  23 kB     00:01
Dependencies resolved.
================================================================================
 Package             Architecture  Version            Repository           Size
================================================================================
Installing:
 epel-release        noarch        8-15.el8           @commandline         23 k

Transaction Summary
================================================================================
Install  1 Package

Total size: 23 k
Installed size: 32 k
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : epel-release-8-15.el8.noarch                           1/1
  Running scriptlet: epel-release-8-15.el8.noarch                           1/1
  Verifying        : epel-release-8-15.el8.noarch                           1/1

Installed:
  epel-release-8-15.el8.noarch

Complete!

Build cache for newly installed yum repositories.

# dnf makecache
Rocky Linux 8 - AppStream                       2.5 kB/s | 4.8 kB     00:01
Rocky Linux 8 - BaseOS                          1.8 kB/s | 4.3 kB     00:02
Rocky Linux 8 - Extras                          1.9 kB/s | 3.5 kB     00:01
Extra Packages for Enterprise Linux 8 - x86_64  712 kB/s |  11 MB     00:16
Extra Packages for Enterprise Linux Modular 8 -  15 kB/s | 1.0 MB     01:08
Metadata cache created.

You may also required wget utility for downloading of CWP installation script. Therefore install it now.

# dnf install -y wget

Install CWP on Rocky Linux:

Download and execute CWP installation script.

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

The CWP installation is fully automated, It takes a couple of minutes to complete based on your Network connection speed. It installs many supplementary software for your Control Web Panel, such as MariaDB, PHPMyAdmin, etc.

At the end of CWP installation, you will some useful information. Save it for later use.

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

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

http://206.82.151.222:2030
SSL: https://206.82.151.222:2031
---------------------
Username: root
Password: ssh server root password
MySQL root Password: IP2qi91Oz0MU

#########################################################
          CentOS Web Panel MailServer Installer
#########################################################
SSL Cert name (hostname): cwp-01.centlinux-com.preview-domain.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!
69 files removed
Please reboot the server!
Reboot command: shutdown -r now
You have mail in /var/spool/mail/root

Restart your machine to complete Control Web Panel setup.

# reboot

Access Control Web Panel:

After restart, open URL http://cwp-01.centlinux-com.preview-domain.com:2030 in a web browser.

CWP Login

Login as root user (Credentials of your OS root user will be used).

CWP Dashboard

You have reached at the dashboard of the CWP.

Here, you have setup a few things according to your network environment. The settings are:

  1. Setup root email
  2. Setup at least one hosting package Or edit default package.
  3. Setup shared IP (Must be your public IP address)
  4. Setup Name Servers

Conclusion:

In this article, you have learned how to install CWP on Rocky Linux 8.

Scroll to Top