Tasksel is small and useful Debian utility that install many common useful packages and dependencies .
sudo apt-get install tasksel
then simple open as administrator and you can install whatever it support , like LAMP server etc.
sudo tasksel
sudo tasksel install lamp-server
Ubuntu Wiki : https://help.ubuntu.com/community/Tasksel