How to Install LAMP Stack on Ubuntu 21.04 Linux | Tasksel Lamp Install Ubuntu | Tasksel Install
How to Install LAMP Server on Ubuntu 21.04 Linux | Tasksel Lamp Install Ubuntu | Tasksel Install
In this tutorial, we are installing LAMP on our Ubuntu Linux 21.04 through the tasksel utility. LAMP stack is a very useful open-source development platform designed for Linux. It is called LAMP as it uses Linux as an OS, Apache as the webserver, MySQL as Relational DBMS and PHP as the scripting language. Installing LAMP on Ubuntu is fairly simple.
LAMP Installation Steps:
Step 1 : In this tutorial, we are installing LAMP on our systems through the tasksel utility. Therefore, it is important to verify if tasksel is installed on your system or not. Run the following command as root in your Ubuntu Terminal in order to install tasksel:
sudo apt install tasksel
Step 2: Use the command in order to install the LAMP server as sudo through tasksel
sudo tasksel install lamp-server
Step 3: Verify LAMP
You can access this localhost by entering the following link in your browser
http://localhost/phpinformation.php
Step 4: Configure LAMP
Step 5: Configure Firewall
Step 6: Install PHP Modules
ubuntu