How to Install LEMP Server with Webinoly on Ubuntu 20.04

Webinoly is a tool to facilitate the installation and configuration of LEMP (Linux Nginx MariaDB/MySQL PHP) server and it has been optimized. Installing LEMP server with Webinoly no longer needs to manually install LEMP packages one by one.

*0. Install Webinoly*

Webinoly requires a fresh Ubuntu 18.04 or Ubuntu 20.04 Linux distribution, no web server application installed at all. This tutorial uses Ubuntu 20.04.

Download the bash script Webinoly installer and run it.


1 wget -qO weby && sudo bash weby 3

The Webinoly installation is complete. Save the username and password for database access.

Webinoly installation finished

Check the Nginx version.


1 nginx -v

Check the PHP version.


1 php -v

Check the MariaDB version.


1 mysql –version

Check server version

*1. Host an HTML Website*

Host an HTML website with the subdomain **.


1 site -html

The result of the above command.


1 Site has been successfully created!

Create an index.html file for testing.


1 echo “hello world” > /var/www/

Access the website **.

Browse website

Remove a website.


1 site -delete

*2. Hosting a PHP Website*

Host a PHP website with the subdomain


1 site -php

Create info.php file for PHP testing.


1 echo “” > /var/www/

Access **.

PHP info

*3. Access phpMyAdmin*

All admin pages are protected with HTTP authentication, create a username and password first.


1 httpauth -add

Access phpMyAdmin at *http://serverIP:22222/pma*, login using your httpauth username and password. To access the database on phpMyAdmin, enter the username and password that are displayed when the Webinoly installation is complete.


*4. Install WordPress*

WordPress installation can be done easily on Webinoly.


1 site -wp

Access ** for installation.

WordPress dashboard

WordPress site

*5. Install SSL Let’s Encrypt*

Let’s Encrypt SSL Installation for


1 site -ssl=on

SSL already installed.

Website with SSL

*6. Enable Cache*

Enable cache to speed up website access.


1 site -cache=on

Also installed is the Nginx Helper and Object Cache plugins in WordPress.

Cache installation

WordPress cache plugin

*7. Other commands*

Displays a list of websites.


1 site -list

Disable website.


1 site -off

Remove a website.


1 site -delete

The complete instructions for using Webinoly read at documentation.

Good luck 🙂

Leave a Reply

Your email address will not be published.