Ubuntu быстрая установка LAMP

sudo tasksel install lamp-server

при ошибке на отсутствие tasksel используем команду

sudo apt-get install tasksel