LAMP is a software bundle of free and Open Source software Linux Operating System, Apache Server, MySQL database and PHP.LAMP (short form of Linux, Apache, http://www.fossapps.com/wp-admin/post-new.phpMySQL and PHP) is an Open Source web platform for developing web applications.It works same as WAMP(Windows Apache MySQL and PHP).
One advantage of using LAMP is the substantial flexibility for different database, web server, and scripting languages.
Popular substitutes for MySQL include Posgresql and SQLite. Python, Perl, and Ruby are also frequently used instead of PHP.In Ubuntu installing LAMP is very easy and you just have to do some simple steps.LAMP is used my most of the web developer who are using Ubuntu.
So in this post i will tell you how to install LAMP server on Ubuntu 10.04/10.10/11.04.
1.Install Apache Server 2Open the Ubuntu Synaptic Package Manager and search for Apache2 and select for install.Now click on apply to start the installation process.Wait for some time to complete the process.
For checking that whether Apache 2 is installed of not, Open the Browser and type – “http://localhost/” then you will see the following in your Browser.
2.Install PHP5a) Open the Synaptic Package Manager and type PHP5 in the search box.Select it for installation and click on apply.This will starts the installation process.
b) Open the Terminal and type the following to get Root access.
sudo nautilusThis will open a window, you just go to “File System>>vsr>>www” and create one document file(by right clicking and selecting Create Document) of any name like “fun.php” and type the following-
c) Run the following command in the Terminal to Restart the Apache Server
sudo /etc/init.d/apache2 restart
d) Now again open the Browser and type-
http://localhost/fun.phpyou will see the following in browser which shows that PHP is working.
3.Install MySQL and phpMyAdminInstalling MySQL you need to install “mysql server” and “mysql client“, so search for both in Synaptic Package Manager and install it.You can also install “phpMyAdmin” by searching it in Synaptic Package Manager.
How To Install LAMP Server on Ubuntu