Ubuntu makes this really easy with version 9.10. ‘System > Administration > Synaptic Package Manager > Sort > Mark by Task’. There will be an option for ‘LAMP server’.
Your web directory will be in /var/www but it will be owned by root. You can run ’sudo chown YOUR_USERNAME /var/www/’ you can put your files here and they will be visable when you visit ‘http://127.0.0.1/’ or ‘http://localhost/’ in your web browser.
