Install Full Webserver
sudo apt-get update
sudo apt-get install apache2
sudo nano /etc/apache2/apache2.conf
At the bottom of the file append -- ServerName 127.0.0.1 --
sudo systemctl restart apache2
sudo chmod -R 777 /var/www
sudo chmod -R a+rwx /var/www
sudo apt-get install mysql-server
sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql
Open apache Dir conf == sudo nano /etc/apache2/mods-enabled/dir.conf
Delete the -- index.php -- at the end of the second line
Add -- index.php -- before index.html
Restart apache == sudo systemctl restart apache2
sudo apt-get install phpmyadmin
Open apache config == sudo nano /etc/apache2/apache2.conf
Add at the bottom -- Include /etc/phpmyadmin/apache.conf --
Reload Apache == sudo apachectl restart
sudo cp /etc/group /etc/groups
sudo chown -R www-data:root /var/www