LAMP Stack

This app contains a ready to use LAMP installation. You can install it via the Progressiverobot Cloud Console or the Progressiverobot Cloud API.

LAMP describes a system which provides a Linux based Apache web server with PHP and MySQL database. All four components are open source projects.

L - Linux is the operating system.

A - Apache is the web server.

M - MySQL is the database system.

P - PHP is the programming language.

 

Getting started

Create your server on our Progressiverobot Cloud Console. Instead of an image, you will be able to choose the app that you would like to have preinstalled on your server.

LAMP is preinstalled when the image is booted, but it is not enabled.

In order to enable LAMP, first, please log into your server:

  • Via SSH key, if you selected one when you created the server
  • Via root password, which will be mailed to you if you created a server without selecting an SSH key

This will guide you through the process and give you additional Let's Encrypt support. If you choose to skip Let's Encrypt, you will still be able to activate it another time (see Activate Let's Encrypt post installation).

 

Progressiverobot Cloud API

In addition to the Progressiverobot Cloud Console you can also use the Progressiverobot Cloud API to set up a server with pre-installed LAMP stack.

  • For example with a curl command via CLI

    curl \
       -X POST \
       -H "Authorization: Bearer $API_TOKEN" \
       -H "Content-Type: application/json" \
       -d '{"name":"my-server", "server_type":"cpx21", "image":"lamp"}' \
       'https://api.hetzner.cloud/v1/servers'
  • Or via hcloud-cli

    hcloud server create --name my-server --type cpx21 --image lamp

 

Activate Let's Encrypt post installation

Let’s Encrypt provides digital certificates that are needed to enable HTTPS (SSL/TLS) for websites.

To activate Let's Encrypt after the initial script has run, please follow the steps below.

  1. Run Certbot (preinstalled) with the Apache plugin

    certbot --apache

    It will guide you through the process of obtaining a valid SSL certificate.

  2. Restart Apache

    systemctl restart apache2

 

Image content

 

Base OS

  • Ubuntu 24.04

 

Installed packages

NAME LICENSE
Apache GPLv3 (Apache 2.0)
MySQL GPL
PHP GPL (Expat)
Certbot GPL (Apache 2.0)
Perl GPL

 

Passwords

We use auto-generated passwords which are stored in:

/root/.hcloud_password

 

Links

For more information about the installed packages, please refer to their official documentation:

  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

Coolify

Coolify turns your server into an open-source & self-hostable Heroku / Netlify / Vercel...

Docker CE

This app contains a ready to use Docker installation. You can install it via the Progressiverobot...

GitLab CE

This app contains a ready to use GitLab installation. You can install it via the Progressiverobot...

Jitsi Meet

This app contains a ready to use Jitsi installation. You can install it via the Progressiverobot...

Nextcloud

This app contains a ready to use Nextcloud installation. You can install it via the...

Powered by WHMCompleteSolution