From owner-freebsd-questions Sat Jan 24 05:22:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA10381 for questions-outgoing; Sat, 24 Jan 1998 05:22:32 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns2.cetlink.net (root@ns2.cetlink.net [209.54.54.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA10369 for ; Sat, 24 Jan 1998 05:22:27 -0800 (PST) (envelope-from jak@cetlink.net) Received: from hot1.auctionfever.com (ts1-cltnc-47.cetlink.net [209.54.58.47]) by ns2.cetlink.net (8.8.5/8.8.5) with SMTP id IAA16700; Sat, 24 Jan 1998 08:22:24 -0500 (EST) From: jak@cetlink.net (John Kelly) To: pstewart Cc: questions@FreeBSD.ORG Subject: Quick recipe to make world and kernel Date: Sat, 24 Jan 1998 14:23:04 GMT Message-ID: <34cbf7fb.3120783@mail.cetlink.net> References: In-Reply-To: X-Mailer: Forte Agent 1.01/16.397 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id FAA10374 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Sat, 24 Jan 1998 06:49:57 -0500 (EST), pstewart 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