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.
Working Internet Connection
Press Ctrl+Alt+T to open Terminal in Ubuntu. Then apply the following commands one by one:
/home/username/public_html is your web server root directory.
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.
Create a index.php file within your web server root directory.
Now paste the following code, then save it:
<?php phpinfo(); ?>