Skip to content

Instantly share code, notes, and snippets.

@brianjking
Created November 10, 2015 01:55
Show Gist options
  • Save brianjking/950eb9a30b476f90ab0d to your computer and use it in GitHub Desktop.
Save brianjking/950eb9a30b476f90ab0d to your computer and use it in GitHub Desktop.
#!/bin/bash
#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
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
/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment