Simple powerful LEMP stack – Webinoly!

Webinoly Installation and Usage Guide

🧰 What is Webinoly?

Webinoly is a shell script that installs and manages a high-performance LEMP stack (Linux, NGINX, MariaDB, PHP) on Ubuntu servers. It automates server optimization and provides helpful CLI tools.


βœ… Prerequisites

  • Ubuntu Server 18.04 / 20.04 / 22.04

  • Root access or a user with sudo privileges

  • Fresh VPS/server is recommended


πŸš€ Step 1: Installing Webinoly

πŸ”§ Run the installation command:

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

This command will:

  • Download the installer

  • Set up the entire LEMP stack

  • Install Webinoly CLI tools

βœ… After installation, your server will have:

  • NGINX

  • PHP (latest stable version)

  • MariaDB (or MySQL)

  • Fail2Ban, UFW, Redis, and more (depending on config)

βš™οΈ Step 2: Basic Webinoly Commands

πŸ”Ή Create a New Website

sudo site example.com -php

This creates a PHP-enabled site (WordPress-ready). You can use -wp to auto-install WordPress.

sudo site example.com -wp

This installs the latest WordPress version and sets up the database and user.

You can also specify parameters:

sudo site example.com -wp=adminuser:adminpass:[email protected]

πŸ”Ή Enable SSL (Let’s Encrypt)

sudo site example.com -ssl=on

Or force HTTPS:

sudo site example.com -ssl=force

πŸ”Ή Remove a Website


sudo site example.com -delete

πŸ“ Web Root Path

By default, websites are located at:

/var/www/example.com/htdocs/

You can place static files, PHP scripts, or upload your site here.

πŸ” Additional Security & Optimization

πŸ”Έ Enable FastCGI Cache

sudo site example.com -cache=on

πŸ”Έ Add HTTP Authentication (Basic Auth)

sudo httpauth -add=admin

Then assign it to a site:

sudo site example.com -auth=admin

πŸ”Έ Enable Fail2Ban and UFW (Firewall)

sudo ufw status
sudo ufw enable

🧩 Useful Webinoly Commands

 

CommandDescription
sudo webinoly -infoShow system info, status, and installed tools
sudo site -listList all configured sites
sudo stack -statusShow status of services (NGINX, MySQL, etc.)
sudo webinoly -updateUpdate Webinoly to latest version
sudo webinoly -cleanClean up cache and temporary files
sudo mysql -u root -pAccess MySQL/MariaDB as root

πŸ“¦ Webinoly Stack Components

  • NGINX with HTTP/2 & Brotli

  • PHP-FPM with OPCache

  • MariaDB or MySQL

  • Redis for object caching

  • Let’s Encrypt for SSL

  • Fail2Ban for brute-force protection

  • UFW for firewall


πŸ”„ Updating Webinoly

Keep your Webinoly stack up to date:

sudo webinoly -update

πŸ“š More Help

You can always check available options using:

sudo webinoly -h
sudo site -h

🎯 Summary

 

TaskCommand Example
Install Webinolywget -qO weby qrok.es/web && sudo bash weby 3
Create PHP sitesudo site mydomain.com -php
Install WordPresssudo site mydomain.com -wp
Enable SSLsudo site mydomain.com -ssl=on
Delete a sitesudo site mydomain.com -delete

 

Leave a Comment