Skip to content

Instantly share code, notes, and snippets.

@ninetwentyfour
Created August 28, 2011 18:06
Show Gist options
  • Save ninetwentyfour/1176993 to your computer and use it in GitHub Desktop.
Save ninetwentyfour/1176993 to your computer and use it in GitHub Desktop.
How To Setup A LAMP Virtual Machine 1 - blogpost
sudo apt-get install apache2
sudo a2enmod rewrite
sudo apt-get install php5 libapache2-mod-php5
sudo apt-get install mysql-server
sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin
sudo /etc/init.d/apache2 restart
gksudo gedit /var/www/info.php
<?php phpinfo(); ?>
gksudo gedit /etc/apache2/httpd.conf
ServerName localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment