LAMP Server Setup

$9.99

LAMP (Linux, Apache, MySQL, PHP/Perl/Python) is a very common example of a web service stack, named as an acronym of the names of its original four open-source components: the Linux operating system, the Apache HTTP Server, the MySQL relational database management system (RDBMS), and the PHP programming language.

Description

Software Included

Package Version License
Apache 2.4.41 Apache 2
MySQL server 8.0.21 GPL 2 with modifications
PHP 7.4 PHP v3.01
Fail2ban 0.11.1 GPL 2 with modifications
Postfix 3.4.10 IBM Public
Certbot 0.39.0 Apache 2

Distribution Required

  • Ubuntu 20.04

 

In addition to the package installation:

  • Enables the UFW firewall to allow only SSH (port 22, rate limited), HTTP (port 80), and HTTPS (port 443) access.
  • Sets the MySQL root password and runs mysql_secure_installation.
  • Sets up the debian-sys-maint user in MySQL so the system’s init scripts for MySQL will work without requiring the MySQL root user password.