Code Monkey home page Code Monkey logo

deploy's Introduction

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

deploy's People

Contributors

joglomedia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

deploy's Issues

ngxvhost error ? I configure php 7.1

I try to execute the following command:

sudo ngxvhost -u XXXXX -s XXXXX.com -t wordpress -d /home/XXXXX/Webs/XXXXX.com

This error appears:

The FPM pool configuration for user XXXXX doesn't exist, attempting to add new pool configuration...
/usr/local/bin/ngxvhost: line 370: /etc/php/5.6/fpm/pool.d/XXXXX.conf: No such file or directory
Failed to restart php5.6-fpm.service: Unit php5.6-fpm.service not found.
It seems that your Nginx installation doesn't meet ngxvhost requirement. Aborting...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.