Site icon CentLinux

How to install CWP on Rocky Linux 8

Share on Social Media

Learn how to install CWP on Rocky Linux 8 with this comprehensive guide. Follow our step-by-step instructions to set up and configure CWP (Control Web Panel) for optimal performance on your server. #centlinux #linux

What is Control Web Panel?

Control Web Panel (CWP), previously called CentOS Web Panel, is a free and open-source web hosting control panel designed specifically for Linux servers. It provides a user-friendly interface for managing various aspects of your web hosting environment, making it easier to:

Essentially, CWP acts as a one-stop shop for managing your web hosting needs on a Linux server. It’s a great alternative to paid control panels like cPanel, especially for users comfortable with a Linux environment.

Recommended Online Training: Learn Bash Shell in Linux for Beginners

Environment Specification

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

Read Also: How to install CyberPanel on Rocky Linux 8

Update your Rocky Linux Server

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

Refresh the yum cache of your Linux operating system.

# dnf makecache

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

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

# dnf install -y wget

How to install CWP on Rocky Linux 8

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
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

How to access Control Web Panel?

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

Control Web Panel Login

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

Control Web Panel 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

Final Thoughts

In conclusion, How to install CWP on Rocky Linux 8 is a straightforward process that can significantly enhance the management of your web server. By following the steps outlined in this guide, you can ensure a smooth and efficient setup. If you need further assistance or prefer professional help, feel free to reach out to me on Fiverr for expert support.

Exit mobile version