/deploy

Simple Nginx, PHP, MySQL deployment scripts for GNU/Linux Ubuntu. Tested in GNU/Linux Ubuntu 14.04 & 16.04, and Linux Mint 17 (Rosa) & 18 (Sarah).

Primary LanguagePerl

Simple LNMP Installer

Simple server deployment scripts for GNU/Linux Ubuntu. Tested in GNU/Linux Ubuntu 14.04 & 16.04, and Linux Mint 17 & 18.

Features

  • Nginx 1.10 custom build from RtCamp repository
  • Nginx with FastCGI cache enable & disable feature
  • Nginx pre-configured optimization for low-end VPS
  • Nginx vhost configs optimized for Wordpress, Laravel, and Phalcon PHP Framework
  • MariaDB 10.1 (MySQL drop-in replacement)
  • PHP 5.6, 7.0, 7.1 from Ondrej's repo
  • PHP-FPM sets as user running the PHP script (pool)
  • Zend OPcache
  • Memcached 1.4
  • ionCube PHP Loader
  • SourceGuardian PHP Loader
  • Adminer (PhpMyAdmin replacement)

Usage

Install Nginx, PHP 5 / 7 & MariaDB

wget --no-check-certificate https://raw.githubusercontent.com/joglomedia/deploy/master/scripts/simpleLNMPinstaller.sh && chmod ugo+x simpleLNMPinstaller.sh && sudo ./simpleLNMPinstaller.sh

Nginx vHost Configuration Tool (Ngxvhost)

This script also include Nginx vHost configuration tool to help you add new website (domain) easily. The Ngxvhost must be run as root (recommended using sudo).

Ngxvhost Usage

sudo ngxvhost -u username -s example.com -t default -d /home/username/Webs/example.com

Ngxvhost Parameters:

  • -u your username (DO NOT use root login)
  • -s your website domain name
  • -t website type, available options: default, laravel, phalcon, wordpress, wordpress-ms
  • -d absolute path to your site directory containing the index file

for more helps

sudo ngxvhost --help

Note: Ngxvhost will automagically add new FPM user's pool configuration file if it doesn't exists.

Web-based Administration

You can access pre-installed web-based administration tools here

http://YOUR_IP_ADDRESS/tools/

or

http://YOUR_DOMAIN_NAME:8082/tools/

Found bug or have any suggestions?

Please send your PR on the Github repository.

(c) 2015-2017 MasEDI.Net