README

LEMP Stack Installer


A simple and automated Bash script to install a full web server stack on Ubuntu.

Features


Usage


  1. Clone the repository:
    git clone https://github.com/iodesk/lemp.git
    cd lemp
            
            
  2. Direct
    bash <(curl -fsSL https://vps.fio.link/install.sh)
            
            
  3. Add Site
    Select one SSL parameter:
    - le -> Let's Encrypt
    - self -> Self-generated SSL (or Self-signed SSL)
    - none -> No SSL (or Plain HTTP)
    
    #Wordpress Site bash <(curl -fsSL https://vps.fio.link/add-site.sh) -d domain.com -php 8.3 -ssl le|self|none
    #Backend non-SSL bash <(curl -fsSL https://vps.fio.link/add-site.sh) -d domain.com -backends '127.0.0.1:3000' -ssl le|self|none
    #Backend SSL bash <(curl -fsSL https://vps.fio.link/add-site.sh) -d domain.com -backends 'https://127.0.0.1:3000' -ssl le|self|none
    #Load Balancer Backend bash <(curl -fsSL https://vps.fio.link/add-site.sh) -d domain.com -backends '127.0.0.1:3000,127.0.0.1:3001' -ssl le|self|none
  4. Remove Site
    bash <(curl -fsSL https://vps.fio.link/rm-site.sh) -d domain.com
            
            
  5. Uninstaller
    bash <(curl -fsSL https://vps.fio.link/uninstall.sh)