Installing LAMP in Ubuntu

LAMP = Linux, Apache, MySQL, PHP (at times also Perl 7 Python). LAMP is the most preferred environment for creating web applications. With increasing popularity of Linux operating systems this environment is widely being chosen for creating amazing web applications. Installing LAMP on your computer or server is very simple. I use Ubuntu Linux 10.10 and hence this post is about installing LAMP on a Ubuntu machine. But this remains the same for almost all versions of Linux.

Prerequisites:
  • Linux desktop or server version. 
Process of installing LAMP:
  1. # sudo apt-get install apache2
  2. # sudo apt-get install php5-mysql
  3. # sudo apt-get install mysql-server
  4. # sudo apt-get install phpmyadmin
  5. # sudo apt-get install libapache2-mod-auth-mysql
  6. # sudo /etc/init.d/apache2 restart


Testing:
Open a browser and type http://localhost in the address bar. You should be getting a page similar to the below displayed image.



Done! 

Comments

Popular posts from this blog

Bulk Upload users into LDAP Directory

Dominos Pizza