After checking the CentOS Web Panel software requirements, you are now ready to install the CentOS Web Panel packages to your server.
CWP installer can run more than 30 minutes because it needs to compile Apache and PHP from source.
For CentOS 6.x systems
cd /usr/local/src wget http://centos-webpanel.com/cwp-latest sh cwp-latest
For CentOS 7.x systems
cd /usr/local/src wget http://centos-webpanel.com/cwp-el7-latest sh cwp-el7-latest
If the download link doesn’t work, check the following alternatives:
CentOS 6: http://dl1.centos-webpanel.com/files/cwp2-latest
CentOS 7: http://dl1.centos-webpanel.com/files/cwp-el7-latest
Reboot Server
Reboot your server so that all updates complete properly.
# reboot
Available Installer Arguments
Available long name arguments
–restart yes
(automatically restart server upon successful instal)
–phpfpm [5.3|5.4|5.5|5.6|7.0|7.1|7.2|7.3]
(accepts only 1 argument)
–softaculous yes
(install Softaculous – script installer)
Available short name arguments
-r yes
(automatically restart server upon successful install)
-p [5.3|5.4|5.5|5.6|7.0|7.1|7.2|7.3]
(accepts only 1 argument)
-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 5.6 --softaculous yes
Any of the processes performed by above arguments can also be achieved later from the CentOS Web Panel GUI.