Install LAMP Stack (Apache, MariaDB, php, phpMyAdmin) on Ubuntu 14.04, 14.10, 15.04, 15.10 & 16.04

LAMP Stands for Linux, Apache, MySQL, MariaDB, MongoDB, PHP, PERL, PYTHON, PhpMyAdmin which is taking first letter of each of the packages. LAMP is combination of operating system and bunch of open-source software which is developed by different organizations.

Why we need LAMP ? If you want to build a normal website or dynamic website with awesome CMS application such as WordPress, Joomla, Moodle, Drupal, etc.., you should need LAMP environment to make it work.

Whoever developing PHP based websites or application or portal they must needed the LAMP stack to their system to work/develop the project further. In this tutorial, we are going to show you about LAMP Stack installation in Ubuntu 15.10 which will applicable for Ubuntu 16.04 & 15.10, 15.04, 14.10, 14.04, 13.10.

1) Update your system upto date

Use the below command’s to keep your system upto date.

[Update Repository Index]
$ sudo apt-get update

[Update System packages to Latest Version]
$ sudo apt-get upgrade

2) Install Apache

Apache is a Free open-source multi-platform web server. It’s support wide range of language such as (.html, .php, .pl, .cgi, etc..,) and virtual domains. The default apache/web root directory location in Ubuntu are /var/www/html

[Install Apache}
$ sudo apt-get install apache2

[Start, Enable & Check Status os Apache service on Systemd Systems]
$ sudo systemctl start apache2
$ sudo systemctl enable apache2
$ sudo systemctl status apache2

[Start, Enable & Check Status of Apache service on SysVinit Systems]
$ sudo service apache2 start
$ sudo chkconfig httpd on
$ sudo service apache2 status

Open your web browser and navigate to http://localhost/ or http://your-server-ip-address/ or http://127.0.0.1/
install-lamp-on-ubuntu-16-04-apache
Now, You have successfully installed and configured apache on your Ubuntu system.

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...

  • Dod

    T-h-a-n-k-s !

    This seems to be like walk in the park procedure .. but for us (newbies) is very handy.

    Thanks
    Dod

Shares
Close
Please support the site
By clicking any of these buttons you help our site to get better