Setting Up Apache on FreeBsd UNIX
by Steve O Hernandez on Jul.16, 2007, under Technology
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.2.3.tar.gz
Unpack distributions:
# tar xfz httpd-2.2.3.tar.gz
Now, you would do all this if you didn’t install the PORTS during your initial install. �
Since this is going to be my firewall / gateway, I installed them and only had to do the following:
# cd /usr/ports/apache22
Build And Install Apache:
cd ../apache_2.2.3
./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
November 21st, 2008 on 9:38 PM
Hello…
Not what I was looking for, but very fine site. Thanks….