From owner-freebsd-questions@FreeBSD.ORG Wed Sep 13 17:28:55 2006 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 EA7F016A416 for ; Wed, 13 Sep 2006 17:28:55 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EE8743D9E for ; Wed, 13 Sep 2006 17:28:43 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 13 Sep 2006 13:28:42 -0400 id 0005641D.45083FCA.00018546 Received: from Internal Mail-Server (206.210.89.202) by mx01 (envelope-from wmoran@collaborativefusion.com) with AES256-SHA encrypted SMTP; 13 Sep 2006 13:25:46 -0400 Date: Wed, 13 Sep 2006 13:28:41 -0400 From: Bill Moran To: "Jonathan Horne" Message-Id: <20060913132841.26ad2ec5.wmoran@collaborativefusion.com> In-Reply-To: <24832.167.246.36.14.1158158944.squirrel@webmail.dfwlp.org> References: <24832.167.246.36.14.1158158944.squirrel@webmail.dfwlp.org> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: package-recursive and methods to quickly rebuild your computer 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: Wed, 13 Sep 2006 17:28:56 -0000 In response to "Jonathan Horne" : > so ive been playing with my buildserver, and working out the methodology > to quickly recover a computer to operational mode. > > yesterday, i took my buildserver, and began with a 'pkg_delete -a', and > then updated my ports tree. i then proceeded to visit each port directory > of things my production server runs, and did a 'make install > package-recursive', until had a /usr/ports/packages/ directory that was > very full of what appears to be invididual packages of each of the things > i need on my server. > > next, i took a test box, and mounted /usr/ports from my build server to > this test box, changed to /usr/ports/packages/All, and did a 'pkg_add -v > *', and watched as what appeared to be each package this directory install > onto my test box. > > the first thing i decided to test, was apache (2.0.59). apache would fire > up, but php would not work well enough to load squirrelmail or something > like phpsysinfo. phpsysinfo told me that the xml and pcre exentions are > required, but 'pkg_info|grep php5' told me that these extensions were > installed. if i do a plain 'pkg_info' on both my build server and test > box, they are line for line the same, but some things are obvously not > working. > > first, am i going about this project in the wrong direction? Sounds good to me. > second, what is the proper way to use the packages that have been built > from ports, and how do they differ from actually building the port on a > system? It sounds to me like the php addons aren't getting registered in /usr/local/etc/php/extensions.ini -- Bill Moran Collaborative Fusion Inc.