LAMP refers to the first letters of Linux, Apache, MySQL and PHP. LAMP is very important if you want to run server applications on your machine, if you are now wondering what are these applications you can run then here are some examples; WordPress, Joomla, Drupal, Moodle, Magento, etc.
This post will present a step by step guide on how to install the LAMP stack on Linux Mint, it’s worth noting that there are many methods by which you can do this but in this post we’re going to concentrate on the easiest way to get you up and running.
Step 1: The first step is to open the terminal either through the GUI as seen below or by pressing ALT + CTR + T.
Step 2: The terminal window will pop-up, in it type the following command in the terminal:
sudo apt-get update
Step 3: After the update is complete, type the following command in the terminal:
sudo apt-get install lamp-server
Step 4: During the installation you’ll be prompt by a window to insert your MySQL password, select a strong password and write it down.
Step 5: Now we need to restart the Apache server, to do so, type the following command in the terminal:
sudo /etc/init.d/apache2 restart
Step 6: Now, the installation is complete but we want to make sure that everything was installed properly to do so just open your browser and type “localhost” in your address bar and you’re supposed to be prompted by the following window:
You now know you have successfully installed the LAMP stack on Linux mint in less than a couple of minutes.