Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


eNgenie was initially scripted for LEMP stack running on default Ubuntu 14/16 environment. Now with Ubuntu 16.04 Apache2 support. eNgenie is a collection of script to help you with server block or virtualhost creation with ease. You can find many other script, or you might already know there are plenty of this out there but our script is specifically for the default LAMP/LEMP stack environment, out of the box. For custom setup (e.g custom package repo/ppa), you might need to change the code before using.

Intended only for this setup:

  • Ubuntu 14.04 nginx, php5-fpm
  • Ubuntu 16.04, nginx, php7-fpm
  • Ubuntu 16.04, apache2, php7

Instructions for LEMP(Linux, Nginx, MySQL, PHP)

For 16.04

$./lemp.bash -h
Usage: ./lemp.bash [-h] [-n]
    -h  | This help menu
    -n  | not installing MySQL

By default this script will update and upgrade your box and install nginx curl mysql-server php-fpm php-mysql

to skip mysql installation, use -n switch

$./lemp.bash -n

Instructions for Virtualhost

For 14.04 + LEMP

$ git clone
$ cd eNgenie
$ chmod +x vhost14
$ sudo ./vhost14 [create|delete] []

For 14.04 +LEMP Global Shortcut

$ cd /usr/local/bin && sudo wget -O vhost14 && sudo chmod +x /usr/local/bin/vhost14
$ sudo vhost14 [create|delete] []

For 16.04 + LEMP

$ git clone
$ cd eNgenie
$ chmod +x vhost16
$ sudo ./vhost16 [create|delete] []

For 16.04 + LEMP Global Shortcut

$ cd /usr/local/bin && sudo wget -O vhost16 && sudo chmod +x /usr/local/bin/vhost16
$ sudo vhost16 [create|delete] []

For 16.04 + LAMP

$ git clone
$ cd eNgenie
$ chmod +x a2vhost16
$ sudo a2dissite 000-default.conf
$ sudo ./a2vhost16 [create|delete] []

For 16.04 + LAMP Global Shortcut

$ cd /usr/local/bin && sudo wget -O a2vhost16 && sudo chmod +x /usr/local/bin/a2vhost16
$ sudo a2dissite 000-default.conf
$ sudo a2vhost16 [create|delete] []


No releases published


No packages published


You can’t perform that action at this time.