Using the LEMP-Stack

Use the LEMP-Stack template to quickly spin up antlets that host your web-projects. The LEMP Stack features the following software, already installed and pre-configured:

  • Debian 11

  • Nginx 1.20.2

  • MariaDB (MySQL) v10.5.12

  • PHP 7.4.25

For easy database management, we pre-installed phpMyAdmin.

1. Create the antlet

First things first. Create a new antlet based on the LEMP-Stack template. If you do not know how to create antlets yet, please check out this article.

2. Set up access

To make sure your antlet and the site running on it is reachable, you will need to configure access. We recommend three different ways to do it. Choose the one that suits your needs best.

This is particurlarly helpful if you already have a domain that points to your edgeLinux server. Let's assume is configured to point to your server. In that case, we want to create a subdomain, like that directly points to the antlet on your edgeLinux server. For that, we use the reverse proxy features in nginx. You can find detailed set-up instructions here

3. Build your site

To get you started as fast as possible, we already pre-configured the antlet for you. When accessing the antlet with the method you configured, you see the php-info screen by default.

If you have a static website you would like to serve, place it in the /usr/share/nginx/html directory. PHP files are automatically run. Checkout the default index.php for more info.

Using MariaDB and phpMyAdmin

The template comes with phpMyAdmin pre-installed. Navigate to the phpMyAdmin login screen by appending /phpmyadmin to your antlet's address (depending on the connection method you configured)

You can use it for creating, editing and deleting databases and their contents. By default, the database user is root and the password antsle. Use these credentials to authenticate with both phpMyAdmin and MariaDB (MySQL)

Database Credentials









Once logged in, click the New button in the sidebar to create a new databse. Choose a name and hit Create

Congrats, you can now use your created database with your website! 🎉

Note: For anything other than local testing / developing we strongly recommend you change all default passwords!

Last updated