How to Install CentOS Web Panel (CWP) 8 Print

  • 10

System Requirements

Make sure that you complete the following tasks before you start the installation process:

1. Setup Hostname

This hostname cannot be the same as any domain that is on your server (for example, if example.com is a domain on your server, use hostname.example.com as your fully qualified hostname).

You can use the following command for hostname setup eg. srv1.example.com

hostname srv1.example.com


2. Setup Server IP addresses

Define additional IP address, subnet address, and default gateway IP address for your server — your service provider can provide you with this information.

 

3. Software Requirements

You must have a clean/fresh installation of supported operating systems:

  • CentOS 7 MINIMAL is recommended version. (RECOMMENDED STABLE)

    The best version to be used with CWP as it provides the most features and CWP Secure Kernel.

  • CWP-CentOS 8 MINIMAL or BOOT Stream-Delayed. (RECOMMENDED LATEST)

    We have our custom repositories making CentOS 8 Stream a stable version. More Info

  • CentOS 8 Stream MINIMAL or BOOT

    Direct installation or converted from CentOS 8 Linux. (Recommended)

  • Rocky Linux 8 MINIMAL or BOOT

    Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7

  • Alma Linux 8 MINIMAL or BOOT

    Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7

  • Oracle Linux 7 & 8 MINIMAL or BOOT

    Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7

4. Hardware Requirements

64 bit operating systems require a MINIMUM of 2GB RAM.

Recommended System: 4 GB+ RAM so you would have the full functionality such as Anti-virus scan of emails.

 

5. Preparing Server

Let’s install required packages for CWP installation

yum -y install wget


CentOS 8, Alma Linux and Rocky Linux: may need to install the EPEL repository to be able to install tools like wget:

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install wget -y


6. Server Update

Now we need to update your server to the latest version

yum -y update


7. Reboot Server

Reboot your server so that all updates can take effect.

reboot


Now you are ready to start CWP Installation

CWP installer can run more than 30 minutes because it needs to compile apache and php from source.

Installer for CentOS 7 (recommended)
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el7-latest
sh cwp-el7-latest
Installer for CentOS 8Alma Linux and Rocky Linux
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el8-latest
sh cwp-el8-latest
Optional Installer Arguments

Available long name arguments
–restart yes (for automatic restart after successfull install)
–phpfpm [5.3|5.4|5.5|5.6|7.0|7.1|7.2|7.3|7.4] (you can use only one)
–softaculous yes (install softaculous – script installer)

Available short name arguments
-r yes (for automatic restart after successfull install)
-p [5.3|5.4|5.5|5.6|7.0|7.1|7.2|7.3|7.4] (you can use only one)
-s yes (install softaculous – script installer)

Example for centos 7 (you can combine short and long name arguments)

sh cwp-el7-latest -r yes --phpfpm 7.3 --softaculous yes

Any of this additionals can be also installed later from cwp gui.

Reboot Server

Reboot your server so that all updates can take effect and CWP gets started.

reboot

Was this answer helpful?

« Back