How to make projects on LAMP stack

Dec 5, 2023

by Pranay

My Computer Specifications:

Step by Step Procedure:

  1. First, check the minimum system requirements for a Linux distribution like Ubuntu. If your system fulfills it, start downloading Ubuntu's latest iso version from here. Next, flash the image on your PC.
  2. Use package manager to install Apache on Ubuntu.
    sudo apt update
    sudo apt install apache2
  3. Now, install MySQL database server on it.
    sudo apt install mysql-server
  4. After installation, run the MySQL security script to secure the installation.
    sudo mysql_secure_installation
  5. Install PHP and its modules.
    sudo apt install php libapache2-mod-php php-mysql
  6. Finally, restart Apache web server to apply the changes.
    sudo systemct1 restart apache2
  7. To verify installation, create a php file in the Apache web root directory to verify that PHP is working.
    echo "" | sudo tee /var/www/html/info.php
Author Avatar

Pranay Makkena

I am proficient in programming languages like Python and Java, React library and I also have expertise in marketing, including SEO and Social Media Marketing.