Objective
Install and configure a basic LAMP server using MariaDB on Ubuntu 18.04 Bionic Beaver.
Distributions
Ubuntu 18.04
Requirements
A working install of Ubuntu 18.04 with root privileges
Conventions
- # – requires given linux commands to be executed with root privileges either directly as a root user or by use of
sudo
command
- $ – requires given linux commands to be executed as a regular non-privileged user
Other Versions of this Tutorial
Ubuntu 20.04 (Focal Fossa)
Introduction
The LAMP stack is easily one of the most popular web server stacks in the world, and that’s nothing new. LAMP has been powering a huge portion of the Internet for quite some time.
If you’re an open source purist or you just don’t care for Oracle as a company(a lot of Linux users don’t), you can choose to set up a LAMP server on Ubuntu using MariaDB instead of the traditional MySQL. MariaDB is an open source drop-in replacement that was forked from MySQL several years back. It’s an excellent solution for LAMP setups where you want to avoid Oracle’s open source database.
Read more