sudo apt-get install tasksel
sudo tasksel install lamp-server
sudo apt-get install phpmyadmin
ssh user@ip