Tuesday, May 03, 2011

install apache on debian

http://techpatterns.com/forums/about390.html

apt-get update
# install mysql first so it's running so apache sees it.
apt-get install mysql-server-5.0
# for basic installs, unless you know why you do otherwise, use this apache
apt-get install apache2-mpm-prefork
# add php5-pgsql if you're going to run postgre
apt-get install libapache2-mod-php5 php5-mysql

And that's it, it will be running.

You may need to issue this command as root to get it started:
:: Code ::
apache2 -k restart

then visit:
:: Code ::
http://localhost/

No comments:

Related Posts Plugin for WordPress, Blogger...