From owner-freebsd-questions@FreeBSD.ORG Wed Sep 28 12:39:20 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 277E516A420 for ; Wed, 28 Sep 2005 12:39:20 +0000 (GMT) (envelope-from krinklyfig@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BB8A43D72 for ; Wed, 28 Sep 2005 12:39:06 +0000 (GMT) (envelope-from krinklyfig@gmail.com) Received: by zproxy.gmail.com with SMTP id q3so2032887nzb for ; Wed, 28 Sep 2005 05:39:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=ooBYXcD80GqRt7NWA1LGCFOCT38IE0InUj2EBkA0g8504a9YdQlu+VBLtjUXX8AdnforLKk/vp4G+W9PT9iV6ADNLVbQx9gTCtktZ5UyB+CGZwwSoKlv10TUYFD4oy6pT2o4i1aczODXeNp5RS384n19dlgPgW7oznaPSybQGVc= Received: by 10.36.81.18 with SMTP id e18mr3990309nzb; Wed, 28 Sep 2005 05:39:06 -0700 (PDT) Received: from smogmonster.local ( [68.35.114.183]) by mx.gmail.com with ESMTP id 38sm379795nza.2005.09.28.05.39.04; Wed, 28 Sep 2005 05:39:05 -0700 (PDT) From: Joshua Tinnin To: freebsd-questions@freebsd.org, Dmitry Mityugov Date: Wed, 28 Sep 2005 06:38:53 -0600 User-Agent: KMail/1.8.2 References: <20050927092631.53935.qmail@web36213.mail.mud.yahoo.com> <200509272324.54512.ian@codepad.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509280638.58328.krinklyfig@gmail.com> Cc: Xian Subject: Re: New user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 12:39:20 -0000 On Wed 28 Sep 05 03:54, Dmitry Mityugov wrote: > On 9/28/05, Xian wrote: > > > On Tue, 27 Sep 2005, Tharaka Abeysekera wrote: > > > > I'm a new to UNIX, I got to know about your services recently. > > > > Please tell me ware to start FreeBSD(UNIX) . Because I'm pissed > > > > off with Windows > > > > On Tuesday 27 September 2005 14:29, Derrick Test wrote: > > > thats a big question. the handbook off the website is a great > > > resource. > > > > It can also be found on the disk > > (at /usr/share/doc/en_US.ISO8859-1/books/handbook/index.html ) once > > you have installed. Usefull for working out how to set up internet > > ;-) Using it will also save FreeBSD site bandwidth :-) > > But I believe the handbook at www.freebsd.org is more accurate and > up-to-date than the one on the CDs. Yes, but if you update the doc tree locally and build from that, then you have the most up-to-date copy right on your machine. You have to install /usr/ports/textproc/docproj first, and there's more details about that here: http://www.onlamp.com/pub/a/bsd/2001/02/08/Big_Scary_Daemons.html Hope I don't scare off the new user, but this does demonstrate the power and simplicity of UNIX in general, and FreeBSD in particular. Here's an example straight from my workstation (this can be used as a way to update and serve docs for an entire organization, such as one build machine being used for packages for the other machines in a network, though presumably there would be NFS or a webserver involved in such a case). My /etc/make.conf includes this: # doc proj make options SUP= /usr/local/bin/cvsup SUPFLAGS= -L 2 -1 DOC_LANG= en_US.ISO8859-1 SUPHOST= `/usr/local/bin/fastest_cvsup -q -c us` DOCSUPFILE= /home/krinklyfig/supfiles/doc-supfile SUP_UPDATE= yes ... and my supfile for docs: % cat /home/krinklyfig/supfiles/doc-supfile *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress doc-all And in my root crontab is: # cvsup and build docs, 4am, every day 1 4 * * * /bin/sh /home/krinklyfig/supfiles/sup-doc 2>&1 And the script referenced above: # cat /home/krinklyfig/supfiles/sup-doc #!/bin/sh MAILTO=krinklyfig MEHOME=/usr/home/krinklyfig touch $MEHOME/log/sup-doc.log ; touch $MEHOME/log/sup-make-doc.log ; cd /usr/doc ; make update >> $MEHOME/log/sup-doc.log 2>&1 && make install clean >> $MEHOME/log/sup-make-doc.log 2>&1 At 4am every day the above script is run: the changes to docs are downloaded though cvsup, and the new docs are built. My local docs are most likely just as up-to-date as the ones on the web (<1 day), and I only have to download the updates from cvs to keep them current. - jt