initial commit

This commit is contained in:
Edi Septriyanto
2017-08-30 22:19:33 +07:00
parent b35dee2a65
commit ee94d6dce9

80
README.md Normal file
View File

@@ -0,0 +1,80 @@
[L]inux [E]ngine-X (Nginx) [M]ySQL (MariaDB) [P]HP Install[ER]
=====
LEMPer stands for Linux, Engine-X (Nginx), MariaDB and PHP installer. This is just a small tool set (a bunch collection of scripts) that usually I use to deploy and manage Ubuntu-LEMP stack. LEMPer is _ServerPilot alternative_ and _EasyEngine alternative_ for crazy sysadmin :v:
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 repository
* 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
```bash
git clone https://github.com/joglomedia/lemper.git
cd lemper
sudo ./install.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
```bash
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
```bash
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
```bash
http://YOUR_IP_ADDRESS/tools/
```
or
```bash
http://YOUR_DOMAIN_NAME:8082/tools/
TODO
=====
Add Let's Encrypt SSL
Contribution
=====
Please send your PR on the Github repository to help improve this script.
TLDR;
=====
Do not use this script if you're looking for rich feature and advanced tool like premium service.
Copyright
=====
(c) 2015-2017
<a href="http://masedi.net/">MasEDI.Net</a>