Make sure that you complete the following tasks before you start the installation process:
Setup Web Hosting platform with CWP
To avoid facing any issues, please make sure to read all of this instructions manual thoroughly prior to the installation process.
After you install CWP, you must reinstall the server to remove it.
We do not support dynamic, sticky, or internal IP addresses.
...We suggest you to order a VPS or Dedicated servers with our NOC Partners.
Make sure that you complete the following tasks before you start the installation process:
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
Define additional IP address, subnet address, and default gateway IP address for your server — your service provider can provide you with this information.
You must have a clean/fresh installation of supported operating systems:
The best version to be used with CWP as it provides the most features and CWP Secure Kernel.
The best option in 2024 is still the AlmaLinux 8.
AlmaLinux 9 has some missing features and PHP versions are limited to PHP 7.4 or higher. *EL9 is in beta stage
We have our custom repositories making CentOS 8 Stream a stable version. More Info
Direct installation or converted from CentOS 8 Linux. (Recommended) *EL9 is in beta stage
Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7. *EL9 is in beta stage
Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7
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.
OPTIONAL: You can download CentOS 7/8 Installation here (if your hosting provider doesn’t offer it).
Let’s install required packages for CWP installation
yum -y install wget
CentOS 8/Stream, 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
Now we need to update your server to the latest version
yum -y update
Reboot your server so that all updates can take effect.
reboot
CWP installer can run more than 30 minutes because it needs to compile apache and php from source.
cd /usr/local/src wget http://centos-webpanel.com/cwp-el7-latest sh cwp-el7-latest
cd /usr/local/src wget http://centos-webpanel.com/cwp-el8-latest sh cwp-el8-latest
CWP is released for EL9 as a beta, and old PHP versions are removed i.e. only PHP 7.4 to 8.3 are supported.
cd /usr/local/src wget http://centos-webpanel.com/cwp-el9-latest sh cwp-el9-latest
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 your server so that all updates can take effect and CWP gets started.
reboot
You need to have CloudLinux License.
wget //repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy sh cldeploy -k YOUR-KEY cd /usr/local/src/ wget //dl1.centos-webpanel.com/files/c_scripts/cloudlinux.sh sh cloudlinux.sh
After CloudLinux installer is done it will automatically reboot the server!!
/usr/sbin/cagefsctl --init cagefsctl --enable-all
Log in to your CWP server using the link provided by the installer on your server.
Control WebPanel Admin GUI at http://SERVER-IP:2030/
Username: root
Password: YOUR_ROOT_PASSWORD
Or edit default package.
Must be your public IP address.
And now you are ready to host domains.
For additional configuration instruction, please check our wiki/documentation site: