web_development:devops:cpanel

cPanel

#Below steps will only install the plugin.It wont be enabled 
yum -y install epel-release 
yum -y install http://rpm.piserve.com/nDeploy-release-centos-1.0-1.noarch.rpm
#Below step will take sometime on first run due to cryptography key generation
yum --enablerepo=ndeploy install nginx-nDeploy nDeploy

#Below Step is optional.It is required if you need Phusion Passenger(Ruby/Python/NodeJS) 
/usr/nginx/scripts/nginx-passenger-setup.sh

#Below step will enable the plugin.
#NGINX will become your web frontend and by default proxy all connection  to apache       
/opt/nDeploy/scripts/cpanel-nDeploy-setup.sh enable

#Below step will install and setup php-fpm
#EasyApache4 will use cpanel rpms,EA3 will use remi repository
#CloudLinux will use a custom compiled PHP with LVE patch
#To force a particular setup use remi / cloudlinux / ea4 as argument to script below
/opt/nDeploy/scripts/easy_php_setup.sh

#Below step is optional.It will setup cPanel apache to use php-fpm SAPI
#php-fpm is better than mod_php,SuPHP,CGI and Mod_fastcgi in many ways
#Users will have option to select php version per domain from Plugin
/opt/nDeploy/scripts/apache_php-fpm_setup.sh enable

#Below Step is optional .It will setup NAXSI learning
#Note that this step will install JAVA and ElasticSearch daemon for NXAPI
/usr/nginx/scripts/nxapi-setup.sh












The best module.

Nginx Admin Install instruction:

cd /usr/local/src

wget http://nginxcp.com/latest/nginxadmin.tar

tar xf nginxadmin.tar

cd publicnginx

./nginxinstaller install



Nginx Admin Uninstall instruction:



cd /usr/local/src

wget http://nginxcp.com/latest/nginxadmin.tar

tar xf nginxadmin.tar

cd publicnginx

./nginxinstaller uninstall
  • web_development/devops/cpanel.txt
  • Last modified: 2020/09/18 02:57
  • by jimboobrien