nDeploy - The High Performance WebStack for cPanel

SysAlly Logo nginX Logo PHP-FPM logo

Supercharge your cPanel server with nginX . Worlds easiest nginX configuration wizard lets you deploy your websites in the LEMP stack within 5 minutes and lets you use an array of modern web technologies and programming languages without editing even a single config file by hand . Save time and money and get high on modern technologies

nDeploy also lets you use php-fpm with cPanel Apache httpd version 2.4.10+ providing you a high performance web stack.

nDeploy lets you use nginX ( an event driven asynchronous webserver) as a drop in replacement for Apache HTTPD and additionally it allows you to use multiple versions of php-fpm with the Event MPM in httpd.

Hire a SysAlly tech to install nDeploy and optimize your server .

Start here: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=E9ZWMASUXWLUC


cPanel plugin view


cPanel Plugin view

Features

  • Supports CentOS6 CentOS7 CloudLinux6 CloudLinux7 on x86_64 arch
  • Multiple backends - Apache PHP-FPM HHVM ColdFusion Python Ruby on Rails NodeJS coldFusion
  • Supports paper_lantern cPanel theme
  • Supports caching/conditional cache purging in proxy and FastCGI(ngx_cache_purge)
  • Google pagespeed support
  • IPv6 support
  • SSL support
  • Fast installation,upgrade and uninstall via yum
  • Apache httpd config generation for use with PHP-FPM ( requires httpd 2.4.10+ )

cpXstack and cpHstack users read this
Why not Varnish?

Installation

The plugin will take hardly 5 minute to setup including setup of 3 versions of PHP . We have taken every step to make the installation a non-brainer

Requirements

64 bit OS - CloudLinux6/7 CentOS6/7 RHEL6/7
cPanel 11.48+

installation instruction

It will hardly take 5 minute to install nDeploy!

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 
/usr/nginx/scripts/nginx-passenger-setup.sh   #Optional Step .Run it only if you need Ruby,Python,NodeJS support       
/opt/nDeploy/scripts/cpanel-nDeploy-setup.sh enable

Easy PHP installation

yum install libmcrypt
/opt/nDeploy/scripts/easy_php_setup.sh #For CentOS or RHEL this will install PHP SCL RPM's in /opt/remi 

OR

/opt/nDeploy/scripts/cloudlinux_php_setup.sh #For CloudLinux system this will compile PHP with LVE patch

Setting up Apache PHP-FPM

Setting up HHVM

Setting up ColdFusion

Setting up Ruby on Rails

Setting up Python

Setting up NodeJS

Providing more config templates or profiles

New config templates can be provided to end users by the admin by simply adding a file with all the location blocks, rewrite rules etc for an application .

The default template files can be found in

root@web [~]# ls -l /opt/nDeploy/conf/*.tmpl
-rw-r--r-- 1 root root   596 Jun 26 04:42 /opt/nDeploy/conf/1000.tmpl
-rw-r--r-- 1 root root  1452 Jun 26 04:42 /opt/nDeploy/conf/1001.tmpl
-rw-r--r-- 1 root root   148 Jun 26 04:42 /opt/nDeploy/conf/2001.tmpl
-rw-r--r-- 1 root root   152 Jun 26 04:42 /opt/nDeploy/conf/3001.tmpl
-rw-r--r-- 1 root root   152 Jun 26 04:42 /opt/nDeploy/conf/4001.tmpl
-rw-r--r-- 1 root root   210 Jun 26 04:42 /opt/nDeploy/conf/4002.tmpl
-rw-r--r-- 1 root root   359 Jun 26 04:42 /opt/nDeploy/conf/5001.tmpl
-rw-r--r-- 1 root root   806 Jun 26 04:42 /opt/nDeploy/conf/5002.tmpl
-rw-r--r-- 1 root root  1810 Jun 26 04:42 /opt/nDeploy/conf/5003.tmpl

Each programming language should begin with a specific number ( eg: 5xxx for PHP ) for clarity purpose

You can easily base a new template on an existing template by adding or removing new location blocks, rewrite rules etc

Once a template file is added in /opt/nDeploy/conf/ .It need to be registered using the following command which is an example of how we registered the magento template

root@web [~]# /opt/nDeploy/scripts/update_profiles.py -h
usage: update_profiles.py [-h]
                          backend_category profile_code
                          profile_description_in_doublequotes

Register an nginX config profile for nDeploy

positional arguments:
  backend_category
  profile_code
  profile_description_in_doublequotes

optional arguments:
  -h, --help            show this help message and exit

root@web [~]# /opt/nDeploy/scripts/update_profiles.py PHP 5003 "Magento" 

Upgrade instruction

nDeploy-nginx is mated with a phusion passenger ruby gem .So we dont encourage unmanned upgrades and have therefore set enable=0 in the yum repository . The upgrade must be done manually by running the following commands

yum --enablerepo=ndeploy install nginx-nDeploy nDeploy 
/usr/nginx/scripts/nginx-passenger-setup.sh  # Run only if you are using Phusion passenger for Ruby,Python and NodeJS

Troubleshooting

Ensure incrond is running .

root@web [~]# ps aux|grep incrond|grep -v grep
root      2930  0.0  0.0  14084  1096 ?        Ss   Jun27   0:00 incrond

Ensure the main config generation routine runs without any python related error

root@web [~]# /opt/nDeploy/scripts/generate_config.py cpaneluser   
   #replace cpaneluser with the actual cpanel user for which you need config generated

Uninstall instruction

In the event that you find nDeploy not useful (which is highly unlikely),nDeploy offers a clean uninstall .

/opt/nDeploy/scripts/cpanel-nDeploy-setup.sh disable
yum remove nginx-nDeploy nDeploy

Development

nDeploy is an opensource product released under GPL Version 3 . The Project is hosted at GitHub https://github.com/AnoopAlias/nDeploy

Support

nDeploy is a product of http://SysAlly.net, a company that has been into Professional SysAdmin services from 2005 .We stand behind our product and offer 24x7 support and provide continued development and bug fixes . nDeploy is FREE as in FREE Beer and we encourage each and every one of you to install and use our product.

Our Support basically can be split into 3 :

1.Bug Fixes - FREE - Should you encounter a bug that is not specific to your setup,send an email to and we will investigate and provide a fix

2.Installation Service - PAID - If the plugin installation is a daunting task for you,we can install the plugin and tweak your server for High Performance at 50 USD per server .Send an email to to get started

3.Customization - PAID - Discuss with us at .

nginx.png - nginX Logo (3.45 KB) R2 D2, 06/26/2015 10:10 am

logo.png - SysAlly Logo (12.9 KB) R2 D2, 06/26/2015 10:10 am

Selection_004.png - cPanel Plugin view (24.7 KB) R2 D2, 07/02/2015 03:14 am

php-fpm.png - PHP-FPM logo (3.59 KB) R2 D2, 07/02/2015 03:41 am