From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 08:52:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 074BF106564A for ; Thu, 18 Mar 2010 08:52:46 +0000 (UTC) (envelope-from antoniok.spb@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 83E4B8FC1A for ; Thu, 18 Mar 2010 08:52:45 +0000 (UTC) Received: by fxm24 with SMTP id 24so1335811fxm.3 for ; Thu, 18 Mar 2010 01:52:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=nic5ASDC0vWb6mqoqEItL9EYq7ezQOs3pkFpyp4xA0M=; b=c3kj79DbK7z+wtb4BULrHn3GwygPP3b7COSa6SRGlLAkgkMesXlz9TsSJnHAtM2wz8 0yINMbilWEOys0rkddZdgYMUKq141/ovwG/3liFxnK87gH1k9twznPPu/ZGDhUJYie6B 9euIhsSmlBEV0UDYZ2Le4GyfodLS351Gn1lJM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=WQ3MbSeaSmgXnh6wNT4kACKeYyzjcsQy03/kFRevdS5Dl40NYZImT0BYBp0Y+dG0Q6 OHELQyC1qD/wpSc7wEs8GCgrhf8wU8HOKfWDE3WgyZXgAtwiyZ4UrOfgo/reKiIqFR4A IDWMSsYuESR4wj20oQoohblAYgP+2RhDwo7Ks= MIME-Version: 1.0 Received: by 10.239.165.198 with SMTP id y6mr180105hbd.98.1268902364213; Thu, 18 Mar 2010 01:52:44 -0700 (PDT) In-Reply-To: References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> <0b9982274818d454f23bc89ac74d30f5@asterix.area536.com> <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> From: =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= Date: Thu, 18 Mar 2010 11:52:24 +0300 Message-ID: <3f1c29e71003180152v3a7411behf6185dcd5c7c93eb@mail.gmail.com> To: Tim Judd Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Which version of FreeBSD is it? 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, 18 Mar 2010 08:52:46 -0000 18 =CD=C1=D2=D4=C1 2010 =C7. 10:49 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D8 Tim= Judd =CE=C1=D0=C9=D3=C1=CC: > On 3/17/10, =E1=CE=D4=CF=CE =EB=CC=C5=D3=D3 wrot= e: > > That is what I suspected for. > > > > What is the most safe way to upgrade it, remembering that this is > production > > server and I have to keep it working properly? > > > > 6.2-RC1 -> 6.2 RELEASE -> 7.2 RELEASE -> 8.0 RELEASE, or somehow in thi= s > > style? > > > > Honestly, if a system is going to go through that large of a change, > here's what I'd recommend. First scenario is the quickest running, > then continue with the second to keep it up-to-date > > > Since *ALL* configuration of base and ports is done by /etc and > /usr/local/etc, back up those two directories to a tarball. they're > all text files so it should compress very well. Note the packages > currently on your system with a simple pkg_info. This gets you a > prime data set that can restore 99%+ functionality if used. > > Scenario 1: > pkg_info >/root/pkg_info.txt > tar -cPpzf /root/62rc1-config.tgz /etc /usr/local/etc /root/pkg_info.txt > ** keep this /root/62rc1-config.tgz archive in a safe 2 spots. 2 spots. > > fresh install of 8.0R on the box. > extract, at minimum, the /etc entries from the tarball kept safely > away from the box > for each package listed in pkg_info.txt, install from packages that > package (just the QUICK way to bring a box to a usable state) > extract the /usr/local/etc from the tarball. **TRY** to restart > your services. > > The reason I state 'try' is that config files may have changed from a > package version a.b to x.y, so you may need to tweak your config files > to match the current package. > > > > Now that you have a live box again, able to serve requests, it's time > to keep it maintained. > > Scenario 2: > install portaudit > run portaudit, fix any vulnerabilities > ** at this time, your system is safe from most vulnerabilities > run your favorite port management software to update the rest of the > ports who do not have vulnerability advisories. > > > > I've used this tactic before, works well and WILL be faster than you > updating your system from 6.2 to 6.4 to 7.2 to 8.0 > > > Let me know if you have questions. > > --TJ > Well, while my skills about FreeBSD is not good enough to let me feel OK to experiment with 6.2 to 6.4 to 7.2 to 8.0 updating, and while server is hard to physically access, I guess that just to do fresh install of RELEASE and re-configuring it in the way that Tim Judd told, would b= e much more quick and safe for my services running on this server now. So the last question is which version (7.2 or 8.0) to choose. Am I right if I say "there would no problems with hardware compatibility on 8.0 if there wasn't on 6.2"?