Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 1996 19:36:21 +0100 (MET)
From:      Andreas Klemm <andreas@knobel.gun.de>
To:        eistal@cyf-kr.edu.pl
Cc:        freebsd-ports@freebsd.org
Subject:   Re: How to install WWW
Message-ID:  <Pine.BSF.3.91.960129191658.6799E-100000@knobel.gun.de>
In-Reply-To: <199601262243.XAA14024@kinga.cyf-kr.edu.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Jan 1996 eistal@cyf-kr.edu.pl wrote:

> Hi,
> 
> I'm beginner with UNIX. I've installed FreeBSD Release 2.1.0 on my P6.
> I'd like to use my machine as the web server. I've read the handbook 
> but I don't know how to do it?

It's not covered by the handbook I think, because a WWW server 
isn't part of an operating system ;-)

There are different free WWW server around. It's not easy to decide, 
which one to use. But I think it's a good choice to use apache 1.0.0
from the ports collection. It's faster than the well known cern_httpd
and might have other advantages. You should check this out yourself
on the apache www server.

> I was wondering if anyone could tell me how to install FreeBSD 
> compatible web server. Which one is good on my machine?

You can choose every http server for Unix. FreeBSD isn't an esoteric
Unix system, where you have to fiddle around much with sources. You
are running a BSD system, not SCO ODT or whatever ;-)

I'd suggest that you make heavily use of the FreeBSD ports collection.
See the manual. ( I hope this section is covered ... ;-)

To compile and install apache WWW server you simply need to do the 
following (assuming, you have the ports collection finally on your
local harddrive in /usr/ports) :-)

	root# cd /usr/ports/www/apache
	root# make && make install

After that you make an entry in /etc/rc.local to startup httpd
on next reboot:
	/usr/local/sbin/httpd &

Now you should start to configure the config files in
	/usr/local/www/server/conf 

Your WWW documents should be put under /usr/local/www/data.

If you need a fast proxy server, better said proxy cache, then I
recommend harvest's cached (it's also in the www ports collection.
It speed ups your WWW requests enourmous. You have to configure
Netscape to use a proxy.

That's it. Wasn't that hard, wasn't it ... ;-))

	Andreas ///

--
andreas@knobel.gun.de       /\/\___  Wiechers & Partner Datentechnik GmbH
   Andreas Klemm        ___/\/\/       - Support Unix - aklemm@wup.de -
                             \/
       ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz
apsfilter - magic print filter 4lpd  >>> knobel is powered by FreeBSD <<<



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960129191658.6799E-100000>