Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jan 1998 14:23:04 GMT
From:      jak@cetlink.net (John Kelly)
To:        pstewart <pstewart@oncomdis.on.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Quick recipe to make world and kernel
Message-ID:  <34cbf7fb.3120783@mail.cetlink.net>
In-Reply-To: <Pine.LNX.3.93.980124064507.28316E-100000@oncomdis.on.ca>
References:  <Pine.LNX.3.93.980124064507.28316E-100000@oncomdis.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 24 Jan 1998 06:49:57 -0500 (EST), pstewart
<pstewart@oncomdis.on.ca> wrote:

>> Just to hear it in your own words ... what caused the decision
>> to switch?

> we spent literally hours in Linux just upgrading kernels on the
> various servers, patching GCC, recompiling Apache constantly as
> upgrades came out..... with FreeBSD this seems so much easier
> and painless ...  this ports collection thing has to be the best
> invention I've ever seen, much better than RPM on Linux

I recommend you also install the cvsup port to keep up with the latest
patches to the -stable source tree:

  cd /usr/ports/net/cvsup
  make extract

  edit the Makefile and set MAKE_ENV= M3FLAGS="-DNOGUI -DM3STATIC"

  make install

Look at the sample supfiles in /usr/share/examples/cvsup.  Make a copy
of stable-supfile and ports-supfile and edit them to your preferences.
Then change to the directory where copied them and:

  cvsup -L 2 stable-supfile

Or if you are behind a firewall you can add -P - as:

  cvsup -L 2 -P - stable-supfile

When that completes, you will have the latest changes to the source
tree.  Then you are ready to: a) make world  b) recompile the kernel:

  cd /usr/src
  make -DNOGAMES -DCLOBBER world

That will take 3 to 8 hours depending on your CPU horsepower.  When
complete:

  cd /sys/i386/conf

  copy GENERIC to a name like OHBOY and edit it to your preferences

  config OHBOY
  cd ../../compile/OHBOY
  make
  make install

If all goes well, you have rebuilt the world and your kernel and are
ready to reboot with the latest FreeBSD patches to the -stable tree.

John





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34cbf7fb.3120783>