Pexsol Interactive

How to install Apache, php, mySQL and phpMyAdmin via SSH (works on Ubuntu and Mint)

Apache
sudo apt-get install apache2

PHP5
sudo apt-get install php5 libapache2-mod-php5

MySQL Server
sudo apt-get install mysql-server

phpMyAdmin
sudo apt-get install phpmyadmin

This is it. Type http://localhost and you should be able to see the home file (located in /var/www)