Linux Stack Made Easy.
The LEMP / LAMP software stack is a group of software that can be used to serve dynamic web pages and web applications. This is an acronym that describes a Linux operating system, with an Nginx or Apache web server. The backend data is stored in the MySQL/MariaDB database and or PostgreSQL as optional, and the dynamic processing is handled by PHP, Python, Nodejs, etc.
- Fresh installation of Ubuntu 16.04 or 18.04 LTS.
- Domain with already pointed IP address to that server.
If you prefer to use Debian, you can check
Run this command as root and follow the wizard:
# Stable channel bash <(curl -sLo- https://git.io/fhiA7 || wget -qO- https://git.io/fhiA7) # Master branch bash <(curl -sLo- https://git.io/fhiA7 || wget -qO- https://git.io/fhiA7) --dev
If you prefer to run installation manually, you can follow this step:
- Clone this repo or download latest release from release page.
- Extract downloaded file and make all
- Install basic dependencies:
apt -y install sudo git curl crudini openssl figlet perl
- Start installation process by executing
- Follow the installation wizard as usual.
You can also configure the
config.ini file manually if you don't want to use the installation wizard.
config.ini file, then execute
Some Useful Snippets
|set-php||Set default PHP version||
|set-python||Set default Python version||
|vhost-create||Create Nginx VirtualHost for PHP-FPM backend||
|vhost-python||Create Nginx VirtualHost for Python backend||
|vhost-ghost||Create or uninstall Ghost blogging platform||
|fix-permission||Fix directory and file permission||
|ssl-create||Generate Let's Encrypt SSL certificate||
|ssl-wildcard||Generate wildcard Let's Encrypt SSL certificate||
|ssl-revoke||Revoke Let's Encrypt SSL certificate||
|mysql-create||Create new MySQL database||
|mysql-drop||Drop MySQL database and user|
|create-sudoer||Create new user with sudo privileges||Run with sudo and follow the wizard|
|create-buddy||Create new user for act as deployer bot|
This project is open-sourced software licensed under the MIT license.