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.

[INPUT]

1 wget -qO weby qrok.es/wy && sudo bash weby 3

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

Webinoly installation finished

Check the Nginx version.

[INPUT]

1 nginx -v

Check the PHP version.

[INPUT]

1 php -v

Check the MariaDB version.

[INPUT]

1 mysql –version

Check server version

*1. Host an HTML Website*

Host an HTML website with the subdomain *webinoly.defnex.com*.

[INPUT]

1 site webinoly.defnex.com -html

The result of the above command.

[INPUT]

1 Site webinoly.defnex.com has been successfully created!

Create an index.html file for testing.

[INPUT]

1 echo “hello world” > /var/www/webinoly.defnex.com/htdocs/index.html

Access the website *http://webinoly.defnex.com*.

Browse website

Remove a website.

[INPUT]

1 site webinoly.defnex.com -delete

*2. Hosting a PHP Website*

Host a PHP website with the subdomain webinoly.defnex.com.

[INPUT]

1 site webinoly.defnex.com -php

Create info.php file for PHP testing.

[INPUT]

1 echo “” > /var/www/webinoly.defnex.com/htdocs/info.php

Access *http://webinoly.defnex.com/info.php*.

PHP info

*3. Access phpMyAdmin*

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

[INPUT]

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.

phpMyAdmin

*4. Install WordPress*

WordPress installation can be done easily on Webinoly.

[INPUT]

1 site webinoly.defnex.com -wp

Access *http://webinoly.defnex.com* for installation.

WordPress dashboard

WordPress site

*5. Install SSL Let’s Encrypt*

Let’s Encrypt SSL Installation for webinoly.defnex.com.

[INPUT]

1 site webinoly.defnex.com -ssl=on

SSL already installed.

Website with SSL

*6. Enable Cache*

Enable cache to speed up website access.

[INPUT]

1 site webinoly.defnex.com -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.

[INPUT]

1 site -list

Disable website.

[INPUT]

1 site webinoly.defnex.com -off

Remove a website.

[INPUT]

1 site webinoly.defnex.com -delete

The complete instructions for using Webinoly read at documentation.

Good luck 🙂

Leave a Reply

Your email address will not be published.