LAMP(Linux, Apache, MySQL & PHP/Python) is a free software bundle used by Web-developers to generally develop using all open source technology.It is a great viable alternative to paid development softwares and with the power of few Development Tools you can really beat the paid ones too
. LAMP developed web applications are easy to code, develop & compatible with their Apple or Windows counterparts and hence a provide a great flexibility.LAMP is commonly used for WordPress development which is out next goal after this article.So lets get going.

INSTALLATION
With Ubuntu 10.10 installing LAMP is very simple
- Just open the Terminal and Type
- sudo apt-get install tasksel
(This installs TaskSel which is a Multiple Related Packages Installer)
- Then you can run it using
- sudo tasksel (Enter The Password If Required)
- Then Select The LAMP Server from the GUI and select OK
Wait for the download to Finish and then in the configuration of MySQL enter password for root user
We are done with the Step 1 and LAMP is successfully installed now.
TESTING
Testing if everything is correctly installed is most crucial part and even though we are done with installation we still need to make sure that everything works fine which starts are next step
Testing Apache2 Installation :
Open up your Web-Browser and visit Localhost (or http://localhost/index.php)

Preparing for WordPress Installation
Now comes the bit tricky part..since we intend to use this Installation as basis for WordPress Development hence we need to change the permission of the www directory located at /var/www
We are doing it here since we want this to be ready for the later stage.(You can skip ahead to Testing MYSQL and PHP installation part if you intend to do this later)
We can easily do it by command
sudo chown username:users /var/www (Replace username with your user-name(Refer screenshot))

Testing MySQL and PHP Installation:
To check the MYSQL and PHP installation create a new file in www directory (located at /var/www)
sudo gedit /var/www/test.php
Add the following text to the file
<?php
phpinfo();
?>
Last but not the least just restart your apache2 webserver
sudo /etc/init.d/apache2 restart
Fireup your web browser last time to check the PHP and MySQL installation and open test.php just created and scroll down the page to see if correct MySQL version is installed
Wordpress Dev-Lamp In Ubuntu
[img src=http://www.linoob.com/wp-content/flagallery/wordpress-dev-lamp-in-ubuntu/thumbs/thumbs_02_wp_01_installing_tasksel.png]
[img src=http://www.linoob.com/wp-content/flagallery/wordpress-dev-lamp-in-ubuntu/thumbs/thumbs_03_wp_01_install_lamp.png]
[img src=http://www.linoob.com/wp-content/flagallery/wordpress-dev-lamp-in-ubuntu/thumbs/thumbs_04_wp_01_instaling_lamp.png]
[img src=http://www.linoob.com/wp-content/flagallery/wordpress-dev-lamp-in-ubuntu/thumbs/thumbs_05_wp_01_set_pass.png]
[img src=http://www.linoob.com/wp-content/flagallery/wordpress-dev-lamp-in-ubuntu/thumbs/thumbs_06_wp_01_conf_pass.png]
[img src=http://www.linoob.com/wp-content/flagallery/wordpress-dev-lamp-in-ubuntu/thumbs/thumbs_07_wp_01_instaling_mysql.png]
[img src=http://www.linoob.com/wp-content/flagallery/wordpress-dev-lamp-in-ubuntu/thumbs/thumbs_08_wp_01_check_apache.png]
[img src=http://www.linoob.com/wp-content/flagallery/wordpress-dev-lamp-in-ubuntu/thumbs/thumbs_09_wp_01_change_perm.png]
[img src=http://www.linoob.com/wp-content/flagallery/wordpress-dev-lamp-in-ubuntu/thumbs/thumbs_10_wp_01_chk_php.png]
[img src=http://www.linoob.com/wp-content/flagallery/wordpress-dev-lamp-in-ubuntu/thumbs/thumbs_11_wp_01_restart_apache.png]
[img src=http://www.linoob.com/wp-content/flagallery/wordpress-dev-lamp-in-ubuntu/thumbs/thumbs_12_wp_01_check_php.png]
For queries regarding LAMP installation or any other regarding Mint/Ubuntu, ask here.
Enjoyy..!!!
