Unix tutorial Contact as





Setting Up Apache on FreeBsd

The purpose of this document is to describe the setup of the secure web application server on FreeBsd.

Get the distributions:

# su
# cd /usr/local/src
# wget http://www.apache.org/dist/httpd/httpd-2.0.39.tar.gz


Unpack distributions:

# tar xfz httpd-2.0.39.tar.gz

Build And Install Apache:

cd ../apache_2.0.39
./configure --prefix=/usr/local/apache --enable-module=all --enable-shared=max
make
make install

To configure Apache you should edit /usr/local/apache/conf/httpd.conf

Add the following line to the startup script to launch Apache at startup:
(for example, into /etc/rc.local file)

/usr/local/apache/bin/apachectl start


Back to main page


Copyright © 2003-2016 The UnixCities.com
All rights reserved