Created
August 31, 2010 12:33
-
-
Save viniciussbs/558962 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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