Skip to content

Instantly share code, notes, and snippets.

@viniciussbs
Created August 31, 2010 12:33
Show Gist options
  • Save viniciussbs/558962 to your computer and use it in GitHub Desktop.
Save viniciussbs/558962 to your computer and use it in GitHub Desktop.
#installing
sudo aptitude install apache2 -y
sudo aptitude install php5 -y
sudo aptitude install libapache2-mod-php5 -y
sudo aptitude install mysql-server
#checking Apache and MySQL
sudo netstat -tap | grep apache
sudo netstat -tap | grep mysql
#restarting Apache and MySQL
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/mysql restart
#to change MySQL root password
sudo dpkg-reconfigure mysql-server-5.1
#web files will now be found in /var/www/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment