From owner-freebsd-questions Wed Feb 5 4:20: 6 2003 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 521E537B75C for ; Wed, 5 Feb 2003 04:20:02 -0800 (PST) Received: from catflap.home.slightlystrange.org (pc1-cmbg1-4-cust43.cmbg.cable.ntl.com [62.253.133.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id BED2643F93 for ; Wed, 5 Feb 2003 04:19:50 -0800 (PST) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 18gOWl-000Ocd-00 for freebsd-questions@FreeBSD.ORG; Wed, 05 Feb 2003 12:19:43 +0000 Date: Wed, 5 Feb 2003 12:19:43 +0000 From: Daniel Bye To: freebsd-questions@FreeBSD.ORG Subject: Re: Good way of upgrading from FreeBSD 4.5 Message-ID: <20030205121942.GB93670@catflap.home.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Scanner: exiscan *18gOWl-000Ocd-00*F/XzidVrgDA* (SlightlyStrange.org, Using NOD32 http://www.nod32.com) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Feb 05, 2003 at 03:20:32AM +0100, Johannes Angeldorff wrote: > Dear FreeBSD:ers, > > I am happy to use FreeBSD for web, mail and applications serving. But > when I come to the question about how to upgrade to a newer FreeBSD > version, I really could need your expertise! > > We have two FreeBSD 4.5 boxes. Both boxes have been installed with > FreeBSD 4.5 from CD, and then tweaked with reconfigured kernels and a > few applications installed, mainly qmail (replacing sendmail), > mod-php, mysql, pico and a few more. Both boxes have around 25 users > each. Both boxes have tweaked settings in /etc/rc.conf and some other > /etc/-files. > > My question is, if anyone can give a hint on how to upgrade safely > from FreeBSD 4.5 to FreeBSD 5.0...? > > If we download FreeBSD 5.0 and install it on our FreeBSD 4.5 boxes, > what will we have to do? Is there risk that all settings, contents > and installed applications will be erased? > > Very thankful for all help on this matter...! Do I understand from your mail that you use the machines for business purposes? If so, I would really think twice before upgrading to 5.0. It is good, but not yet as stable as the more mature 4.x branch. If you want to upgrade, then go as far as 4.7, and no further yet. You will find good instructions on how to do this at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html Following these instructions will ensure you have few problems, and all your app configs will be safe. But still, take a backup. To upgrade to 4.7-STABLE, use the CVS tag RELENG_4. To follow the 4.7 security branch, use the tag RELENG_4_7. If, however, your machines are not critical, then by all means try 5.0, but be prepared for teething troubles. See the Early Adopter's Guide at http://www.freebsd.org/releases/5.0R/early-adopter.html for more details of what to look out for. I have never tried an upgrade from 4.x to 5, so can't comment on how easy it is (I would think, though, it would be fairly straightforward). Your application configs _should_ be safe, but take a backup. Take a backup, sing it with me, take a backup! I would probably go for a comletely fresh install, though, as there are some fairly fundamental architectural changes between 4.x and 5.0. A new install (i.e. reworking your partition scheme, doing newfs, etc) will ensure there is no "old" stuff lying around to get in the way and confuse things. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message