From owner-freebsd-questions@FreeBSD.ORG Tue Nov 11 17:55:49 2003 Return-Path: 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 37DE316A4CE for ; Tue, 11 Nov 2003 17:55:49 -0800 (PST) Received: from smtp09.wxs.nl (smtp09.wxs.nl [195.121.6.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E3A443FDF for ; Tue, 11 Nov 2003 17:55:48 -0800 (PST) (envelope-from akruijff@www.kruijff.org) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp09.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HO700KXLULG75@smtp09.wxs.nl> for freebsd-questions@freebsd.org; Wed, 12 Nov 2003 02:53:41 +0100 (MET) Received: from Alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.9p2/8.12.9) with ESMTP id hAC1toNq003824; Wed, 12 Nov 2003 02:55:50 +0100 (CET envelope-from akruijff@Alex.lan) Received: (from akruijff@localhost) by Alex.lan (8.12.9p2/8.12.9/Submit) id hAC1tneR003823; Wed, 12 Nov 2003 02:55:49 +0100 (CET envelope-from akruijff) Date: Wed, 12 Nov 2003 02:55:49 +0100 From: Alex de Kruijff In-reply-to: <5.1.0.14.2.20031111151233.049322c0@209.152.117.178> To: "W. D." Message-id: <20031112015549.GB3705@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: <5.1.0.14.2.20031111151233.049322c0@209.152.117.178> cc: freebsd-questions@freebsd.org Subject: Re: Build a duplicate system - but upgrade OS version? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 01:55:49 -0000 On Tue, Nov 11, 2003 at 03:34:23PM -0600, W. D. wrote: > Hi folks, > > I have a FreeBSD 4.4 webserver that's been working fine for nearly 2 years. > This computer was purchased from a systems integrator, so I am not > intimately familiar with how it was configured. > > I would like to build another machine that would be nearly identical, > having all the same software and functionality, but use the latest > production OS. Is there a cheat sheet somewhere that would give the > salient information to do this? What are the *SEQUENTIAL* steps > to accomplish this? Do you wan't to have a better understanding of FreeBSD or do you just want a quick way to doing this? > I've looked at the handbook & did a Google search already: > http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/handbook.html > > ("duplicate server" OR "clone server" OR "copy server configuration") site:FreeBSD.org > http://tinyurl.com/ulft > > Are there some config files that I could duplicate? Yes. Most port place there config files in /usr/local/etc/ or /usr/local/X11R6/etc/ but there are exeptions to this rule. > How about my IPFW firewall? How can that be transferred? The system config files are located in /etc. The firewall is part of this. One special config file is /etc/rc.conf which determen what gets loaded of the OS during boot. Scripts in /usr/local/etc/rc.d loads the ports during boot. > Are there other programs like IPFW, that aren't listed in > pkg_info? Everthing thats part of the main system isn't listed by pkg_info. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/