Date: Mon, 5 Dec 2005 09:34:56 -0800 From: "Michael C. Shultz" <ringworm01@gmail.com> To: freebsd-ports@freebsd.org, matt@genesi-usa.com Subject: Re: Updating Apache 2.0.55 to 2.2.0 Message-ID: <200512050934.56743.ringworm01@gmail.com> In-Reply-To: <007b01c5f9c0$5efb1f00$75d65d42@bakuhatsu.net> References: <007b01c5f9c0$5efb1f00$75d65d42@bakuhatsu.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 05 December 2005 09:21, Matt Sealey wrote: > I want to move our server to Apache 2.2.0 that was just released and is now > in the ports tree. I am concerned that > > 1) I have to uninstall Apache 2.0.55 to let the new one install properly > 2) it might not build okay and our webserver will be dead while I fix it > > What exactly is the recommended way to move from apache20 to apache22 in > the ports tree, with minimal fuss or downtime? Could I just install with > FORCE_PKG_REGISTER=1 and so on, and then remove apache20 from the ports > database as a hack? Is that safe? portmanager (sysutils/portmanager) will handle this for you smoothly, first backup your original apache like this: cd /usr/ports/packages/All && pkg_create -b apache-2.0.55 make sure you have a apache-2.0.55.tgz afterwards then run portmanager -u -l portmanager will remove the old apache and install the new one. If the new version doesn't work for some reason just pkg_delete it and pkg_addthe one you backed up: pkg_add /usr/ports/packages/All/apache-2.0.55.tgz -Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512050934.56743.ringworm01>