EasyLEMP is a Python3 script. EasyLEMP will help you to install LEMP (Nginx, PHP-FPM, MariaDB) on Linux along with phpMyAdmin with just four commands. Currently it only supports Ubuntu Desktop Edition. Support for Ubuntu Server Edition is now under development. Please, try to contribute if you can.


Easy-LEMP is in beta stage. Please, create an issue with this link: https://github.com/maateen/Easy-LEMP/issues/new if you get one.

Alpha version: You can install Nginx, PHP-FPM, MariaDB, phpMyAdmin at once.

Beta Version: Implementing feature request by Tarikur Rahaman Sohel, making the script user interactive. Now you can choose what you wanna install and what not.


  1. Python 3

  2. Working Internet Connection


Press Ctrl+Alt+T to open Terminal in Ubuntu. Then apply the following commands one by one:

wget https://github.com/maateen/Easy-LEMP/archive/master.zip
unzip Easy-LEMP-master.zip
cd Easy-LEMP-master/
python3 setup.py


  1. /home/username/public_html is your web server root directory.

  2. To access phpMyAdmin, just type http://localhost/phpmyadmin and press enter. To log in to phpMyAdmin, Use root as username and your MariaDB root password as password.


Let's test the LEMP server whether it's working or not.

  1. Create a index.php file within your web server root directory.

  2. Now paste the following code, then save it:

<?php phpinfo(); ?>
  1. Now open your favorite browser and hit http://localhost/. If you can see the PHP Information page, then it's all right. Otherwise, create an issue with this link: https://github.com/ugcoder/Easy-LEMP/issues/new