LAMP stands for Linux, Apache, MySQL & PHP and now it is called Linux, Apache, MySQL, MariaDB, MongoDB, PHP, PERL, PYTHON, PhpMyAdmin. In the real world 60% of websites are serving by LAMP. LAMP is a bunch of open-source software which is developed by different organizations.
1) Update your system upto date
Use the below command’s to keep your system upto date.
[Update your system to latest package] $ sudo apt-get update && sudo apt-get upgrade
2) Apache installation
Use the below command to install apache web server. The Apache HTTP Server is called Apache, Apache is a Web server application which is suitable for All LINUX and UNIX distribution and also provide support for windows. It is serving .html, .php, .pl, .cgi, etc ,..Apache is developed and maintained by open community of developers under Apache Software Foundation.
[Install Apache] $ sudo apt-get install apache2 [Start, Enable & Status Apache service on Systemd Systems] $ sudo systemctl start apache2 $ sudo systemctl enable apache2 $ sudo systemctl status apache2 [Start, Enable & Status Apache service on SysVinit Systems] $ sudo service apache2 start $ sudo chkconfig httpd on $ sudo service apache2 status