Building servers this weekend. Recommendations?

Jason Hellenthal jhell at DataIX.net
Sun Nov 13 20:02:23 UTC 2011



On Sun, Nov 13, 2011 at 07:24:51PM +0000, Matthew Seaman wrote:
> On 13/11/2011 18:51, Brett Glass wrote:
> > I need to build up some new servers this weekend, and my first choice
> > for the OS would be FreeBSD 9.0-RC2 if it were available. Alas, it
> > isn't, and there's no sign of when it's coming (neither the Release
> > Engineering page or the Wiki is anywhere near up to date). RC1 has a few
> > bugs that I'd like to avoid, as does 8.2-RELEASE. Recommendations?
> 
> It's here already:
> 
> maggot:~:% uname -a
> FreeBSD maggot.black-earth.co.uk 9.0-RC2 FreeBSD 9.0-RC2 #1: Sat Nov 12
> 01:06:59 GMT 2011
> root at maggot.black-earth.co.uk:/usr/obj/usr/src/sys/MAGGOT  amd64
> 
> Don't know about iso images or the like: this was upgraded from -RC1 by
> compiling sources.
> 

Don't know why you would go with 9.0 on a new server but ok. It's not that hard to build up your own ISO via the process laid out in the docs. make realease is pretty nice.

Tweak as neccesary...

#!/bin/sh

trap 'exit 1' 2

VERSION=8.1-STABLE
BRANCH="stable/8"
SVNVER=$(svnversion /usr/src)
RELNAME=${VERSION}-r${SVNVER}
THISBUILD=${RELNAME} ;export THISBUILD
MAKEOBJDIRPREFIX=/usr/obj/RELEASE ;export MAKEOBJDIRPREFIX
KERNELS=SH4500 ;export KERNELS
NUMCPUS=$(($(sysctl -n kern.smp.cpus)*2+(8)))

cd /usr/src/release

nice make release CHROOTDIR=/usr/obj/RELEASE BUILDNAME=${THISBUILD} \
  SVNROOT=file:///exports/nsvn SVNBRANCH=${BRANCH} EXTSRCDIR=/usr/src \
  NOPORTS=YES NODOCS=YES EXTPORTSDIR=/usr/ports EXTDOCDIR=/usr/doc \
  MAKE_ISOS=YES


More information about the freebsd-stable mailing list