From owner-freebsd-questions@FreeBSD.ORG Fri Nov 6 17:58:23 2009 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 87A531065670 for ; Fri, 6 Nov 2009 17:58:23 +0000 (UTC) (envelope-from rnodal@gmail.com) Received: from mail-px0-f190.google.com (mail-px0-f190.google.com [209.85.216.190]) by mx1.freebsd.org (Postfix) with ESMTP id 62D298FC16 for ; Fri, 6 Nov 2009 17:58:23 +0000 (UTC) Received: by pxi28 with SMTP id 28so822201pxi.7 for ; Fri, 06 Nov 2009 09:58:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=OGSOVl5KUdUDeOiS58mT2rNb3uMnhp3YmzV1WEJLo28=; b=ec2uyo580oJlF/L3opKgKurXlHd6vozB33BrLGPGIbss42FVNaU0foqs1LA1UqJd9l vCyp1ECvbrMEMl+ULkBo6LHBa97rfIafvN8jHUPAOm81NYZNHntmF9iHrpZYEgcVIIR9 VBB14UP82HQtzCBj5BTwudKBoer+YL/01sPd8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=LR/KRoWRN/sMiNHAo27FesIylCOtHE5oW5VJdQc4FyZ3q/Fx38gdt8PXMIqpexC0qP SI9ybVO+eVB7JDMEt6zYEqKs1wIgu0T+Kh5FqB1W2XdOqQjrGgpfqrBlK/sBMpubeoRC ltRIK5DnTYalUro3XGU3hM9sebPom+sehE7Fw= MIME-Version: 1.0 Received: by 10.114.242.2 with SMTP id p2mr6972564wah.153.1257528722149; Fri, 06 Nov 2009 09:32:02 -0800 (PST) From: Roger Date: Fri, 6 Nov 2009 12:31:42 -0500 Message-ID: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) 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: Fri, 06 Nov 2009 17:58:23 -0000 Hello all, I'm coming from Linux and I would appreciate it if I could get some help understanding some basic FreeBSD concepts. Here is the output of 'uname -r' is "7.2-RELEASE-p4". My first concerned is how do I keep FreeBSD up to date. According to the FreeBSD site, the lastest production release is 7.2. Is this the version that is recommended to have in a production server? According to what I have read from the Handbook and searches in google, the way to stay up to date binary wise is to use "freebsd-update", is this correct? I believe freebsd-update will update the base system but not the ports. Please correct me if I'm wrong. My second concerned is the ports. In the file "ports-supfile" there is one option, "*default release=cvs tag=.". I believe this specifies which cvs tag to use when pulling files from the ports. At one point I had "*default release=cvs tag=RELEASE_7_2_0". When I pulled the ports using the "RELEASE_7_2_0" tag and tried to build "portsupgrade" the installation failed because the ruby version that was going to be installed I believe had a security problem. (I love the fact that I was stopped from installing software that is KNOWN to be vulnerable). I figured that maybe I needed to get the latest version. So I went ahead and changed the cvs tag to "." (which I believe means the head version). I updated the ports and then tried the installation again, this time the installation went further but failed again due to the fact that my libtool (I can't remember the exact name) was older than what the installation required. So that threw me off. I believe that libtool is part of the base system and not the ports, correct? So that made me think that maybe because of using the latest version of the ports I can build certain ports if my base is not concurrent (in terms of what the ports requires and what my system offers) with the port system. So my question is this, if my FreeBSD release is 7.2-RELEASE-p4 which tag should I set for the ports system? Should I put the tag "RELEASE_7_2_0" and then wait for a security fix of the particular port (ruby) and then proceed to install? What is the recommended approach if your aim is to have your system up to date and stable? Another question that I have about the port system is, if LibX has a security update (or simply a bug fix) and programs from the ports programA, programB and programC depend on that library what is the recommended way to perform the upgrade that will also handle upgrading those programs? My third item is jails. I currently have only one external IP. I would like to setup two jails, one for apache and the other for postfix. Would that require more external IPs? If I wanted to have ssh access to the host and the jails that would definitely will require 3 external IPs right? Thank you very much for your time and patience, -r