πŸš€ One-Click LAMP/LEMP Stack Installer for Your VPS (Ubuntu/Debian) – Free & Open Source

Looking to quickly launch a LAMP or LEMP stack on your VPS without spending 30+ minutes manually installing packages?

We’ve built a simple, open-source Bash script that lets you auto-install LAMP (Apache + MariaDB + PHP) or LEMP (Nginx + MariaDB + PHP-FPM) on Ubuntu or Debian β€” all in just a couple of minutes.


πŸ”§ What This Script Does

Once executed, the script:

  • Prompts you to choose between LAMP and LEMP
  • Detects PHP version and system OS
  • Installs:
    • Apache or Nginx
    • MariaDB (MySQL-compatible)
    • PHP with popular extensions
    • UFW (Uncomplicated Firewall)
  • Sets up:
    • System services (auto-start on reboot)
    • info.phpΒ test file to validate PHP install
    • Basic firewall rules (SSH, HTTP, HTTPS)

βœ… Supported Systems

This script works out-of-the-box on:

  • Ubuntu 20.04, 22.04
  • Debian 11 and above

Whether you’re a developer, sysadmin, student, or just want a fast web stack for testing β€” this script is for you.


πŸ“₯ How to Use

SSH into your VPS and run:

wget https://raw.githubusercontent.com/hosteons/lamp-lemp-oneclick-installer/main/lamp_lemp_installer.sh
chmod +x lamp_lemp_installer.sh
sudo ./lamp_lemp_installer.sh

Then visit http://YOUR_SERVER_IP/info.php to verify that PHP is working.


πŸ’» View Script on GitHub

πŸ“‚ GitHub Repo:

πŸ‘‰ https://github.com/hosteons/lamp-lemp-oneclick-installer

The script is licensed under the MIT License, meaning you can use, share, or modify it freely. Attribution is appreciated.


🌐 Why We Built This

At Hosteons.com, we serve thousands of VPS customers who often need quick server setups. This script was originally developed for internal use but is now open to the community.

Whether you’re using a Hosteons KVM VPS or any Linux-based VPS, this script works universally.


πŸ™Œ Like It? Star It!

If you found the script useful, please consider ⭐ starring the repo or sharing it on social media. Your support helps us build and release more free tools.


πŸ”— Related Links


πŸ“’ Share With Others!

Help others save time and effort by sharing this post with your developer friends, startup teams, or clients.

#HappyHosting

– Team Hosteons

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.