From owner-freebsd-ports Mon Jan 29 11:11:43 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA22761 for ports-outgoing; Mon, 29 Jan 1996 11:11:43 -0800 (PST) Received: from news1.gtn.com (news1.gtn.com [192.109.159.3]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA22754 for ; Mon, 29 Jan 1996 11:11:38 -0800 (PST) Received: (from uucp@localhost) by news1.gtn.com (8.7.2/8.7.2) id UAA11539; Mon, 29 Jan 1996 20:00:32 +0100 (MET) Received: from knobel.gun.de (localhost [127.0.0.1]) by knobel.gun.de (8.7.3/8.7.3) with SMTP id TAA07912; Mon, 29 Jan 1996 19:36:21 +0100 (MET) Date: Mon, 29 Jan 1996 19:36:21 +0100 (MET) From: Andreas Klemm To: eistal@cyf-kr.edu.pl cc: freebsd-ports@freebsd.org Subject: Re: How to install WWW In-Reply-To: <199601262243.XAA14024@kinga.cyf-kr.edu.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@freebsd.org Precedence: bulk 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 <<<