MyHBD Logo
Application Templates

How to Install LEMP Stack on VPS using MyHBD Cloud Panel (LEMP Template & One Click Installer)

Learn how to install the LEMP stack (Linux, Nginx, MySQL/MariaDB, PHP) on your VPS using the MyHBD Cloud Panel. Use our LEMP template for one-click installation or run the LEMP installer recipe directly from the control panel.

MyHBD Team
Updated 9/22/2025
Documentation

1. Introduction

The LEMP stack (Linux, Nginx, MySQL/MariaDB, PHP) is a popular open-source web hosting environment for running modern websites and applications.
With the LEMP application template in the MyHBD Cloud Panel, you can install the full LEMP stack on your VPS automatically.
Our system provides two ways to use the LEMP installer:

  • Choose the LEMP one-click install option during VPS order.
  • Or install LEMP later using the LEMP recipe inside the MyHBD Cloud Panel.

2. Install LEMP Stack During VPS Order (One Click Installer)

  • When ordering a VPS at MyHBD.net, go to the One Click Install tab.
  • Select LEMP Installer from the list of applications.
  • Your VPS will be deployed with the LEMP stack pre-installed using our optimized LEMP template.
    This is the fastest way to start hosting websites with Nginx and PHP on your VPS.

3. Install LEMP Stack Using the LEMP Template (Recipes in Cloud Panel)

  • Log in to Client Area → Select your VPS → Login to Cloud Panel
  • Or directly open MyHBD Cloud Panel.
  • Navigate to Recipes.
  • Choose LEMP Template (LEMP installer) and confirm installation.
  • The recipe will automatically install the latest version of Nginx, PHP, and MariaDB/MySQL on your VPS.
    This option is useful if you already have a VPS running and want to add the LEMP stack later.

4. Verify LEMP Installation

After installation, you can check the installed services:
Check Nginx:

nginx -v

Check PHP:

php -v

Check MySQL/MariaDB:

mysql --version

If these commands return version numbers, the LEMP installer worked successfully.

5. Logs and Install Information

All installation logs are saved in:

/LEMPinstall.log

Check this file for detailed information about the LEMP installation process.

6. Important Notes

•	You can install the LEMP stack during VPS order with the one click LEMP installer or later with the LEMP recipe template.
•	Installation time depends on your VPS resources and internet speed.
•	Ensure your firewall allows HTTP/HTTPS (ports 80 and 443) for web traffic.
•	You can uninstall or reinstall the LEMP stack anytime by re-running the LEMP installer recipe.

Was this helpful?

Help others find useful content by rating this guide

Your feedback helps improve our content and SEO ranking

How to Install LEMP Stack on VPS using MyHBD Cloud Panel (LEMP Template & One Click Installer) | Application Templates | MyHBD