How To Install LAMP in Ubuntu 18.04 Bionic Beaver (Linux, Apache, MariaDB, PHP)

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.