From owner-freebsd-questions@FreeBSD.ORG Thu Sep 15 19:04:38 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 178CB16A41F for ; Thu, 15 Sep 2005 19:04:38 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id A649943D45 for ; Thu, 15 Sep 2005 19:04:37 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.1/8.13.1) with ESMTP id j8FJ3MlH008589; Thu, 15 Sep 2005 14:03:44 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <4329C56F.4090806@daleco.biz> Date: Thu, 15 Sep 2005 14:03:11 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.10) Gecko/20050823 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lisa Casey References: <001501c5ba25$e3333f30$d580a23f@lisac> In-Reply-To: <001501c5ba25$e3333f30$d580a23f@lisac> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Can I do this? 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: Thu, 15 Sep 2005 19:04:38 -0000 Lisa Casey wrote: > Hi, > > I want to replace a computer running FreeBSD 3.2 with one > running FreeBSD 5.3. The 3.2 computer is currently used as > a web server and a DNS server. I have installed FreeBSD 5.3 > and am currently adding the Apache2.50 port. > > Once I add the Apache web server and Bind, can I then just copy > config files from the old system to the new one? Sure, but see below. > With Apache: can I copy httpd.conf from the old system to the > new then move my htdocs directory to the new system? Sure, but see below. > For Bind, could I just copy named.conf from the old system to the new > then copy my zone files over to the new system? Sure, but see below. ... You forgot to ask, "will the new server and software work as expected once these files are copied to the new machine's HDD?" The answer there is, "probably, but it depends." If the name daemon and the httpd daemon are the same version, and the information in the config files (paths, for example) are valid, I don't know of any reason why it shouldn't work. But I wouldn't dare to issue any kind of ironclad guarantee. That's why we have sysadmins ... because things do get a little screwed up sometimes. Good idea to test first ;-) Kevin Kinsey