How to install CWP/CWP Pro/Control Web Panel?
Installation guide
To avoid facing any issues, please make sure to read all of this instructions manual thoroughly prior to the installation process.
Requirements Before the Initialization of Control Web Panel installer
- We do not provide an uninstaller
After you install CWP, you must reinstall the server to remove it.
- We only support static IP addresses.
We do not support dynamic, sticky, or internal IP addresses.
- Only install CWP on a freshly installed operating system without any configuration changes
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 MINIMAL or BOOT
Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7
- Alma Linux MINIMAL or BOOT
Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7
- Oracle Linux 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.
OPTIONAL: You can download CentOS 7/8 Installation here (if your hosting provider doesn’t offer it).
- Download CentOS 7.x – 64bit MINIMAL (recommended)
- Download CentOS 8 Stream – 64bit (MINIMAL or BOOT)
- Download Rocky Linux – 64bit (MINIMAL or BOOT)
- Download Alma Linux – 64bit (MINIMAL or BOOT)
- Download CentOS for openVZ
Server Updates
1. 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
2. Server Update
Now we need to update your server to the latest version
yum -y update
3. Reboot Server
Reboot your server so that all updates can take effect.
reboot
Installation
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 8, Alma 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
Cloud Linux Installer
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!!
After reboot, you need to build CageFS and enable it
/usr/sbin/cagefsctl --init
cagefsctl --enable-all
Configuration
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
- Setup root email
- Setup at least one hosting package
Or edit default package.
- Setup shared IP
Must be your public IP address.
- Setup nameservers
And now you are ready to host domains.
For additional configuration instruction, please check our wiki/documentation site:
You can order CWP Pro Webhosting from here: CWP Pro Hosting (biswashost.com)
You can get Managed CWP Pro VPS from here: Economy Managed VPS | Biswas Host Ltd
You can get Unmanaged VPS from here: Cloud VPS Hosting - Biswas Host Ltd
This installation guide collected from Control Web Panel website.