Results 1 to 5 of 5
Thread: Howto - Stable-ize FreeBSD4x
-
03-08-2004, 01:24 AM #1WHT Addict
- Join Date
- Oct 2003
- Location
- Chicago, Illinois
- Posts
- 112
Howto - Stable-ize FreeBSD4x
To upgrade your FreeBSD4.x server to FreeBSD4.x-STABLE, follow the instructions below:
1) If you don't have cvsup installed, install it now.
# cd /usr/ports/net/cvsup-without-gui
# make install clean
2) Enter the "/usr/share/examples/cvsup" directory.
# cd /usr/share/examples/cvsup
3) Edit the file named "stable-supfile" with your favorite text edior.
# edit stable-supfile
Change "*default host=CHANGE_THIS.FreeBSD.org" to "*default host=cvsup2.FreeBSD.org"
You can use any of FreeBSD's CVS servers.
4) Save and exit the file.
5) Execute "cvsup stable-supfile"
# cvsup stable-supfile
This will download all updates to the FreeBSD operating system
6) Enter the "/usr/src" directory.
# cd /usr/src/
7) If you need to edit your kernel, do that now
# cp sys/i386/conf/GENERIC sys/i386/conf/YOURKERNEL
# edit sys/i386/conf/YOURKERNEL
8) Build FreeBSD's world
# make buildworld
9) Build FreeBSD's kernel
# make buildkernel KERNCONF=GENERIC
-or-
# make buildkernel KERNCONF=YOURKERNEL
10) Install FreeBSD's kernel
# make installkernel KERNCONF=GENERIC
-or-
# make installkernel KERNCONF=YOURKERNEL
11) Reboot
# reboot
12) Install FreeBSD's world
# make installworld
13) Reboot
# reboot
14) Run mergemaster (This step is not required, however it should be done)
# mergemaster
15) Reboot, and you'll be running the most up to date version of FreeBSD4.x
Enjoy!Last edited by SoftWareRevue; 03-08-2004 at 03:44 AM.
-
03-08-2004, 05:49 PM #2Web Hosting Master
- Join Date
- Jan 2001
- Posts
- 2,605
Re: Howto - Stable-ize FreeBSD4x
Originally posted by inFused
To upgrade your FreeBSD4.x server to FreeBSD4.x-STABLE...Dr. Colin Percival, FreeBSD Security Officer
Online backups for the truly paranoid: http://www.tarsnap.com/
-
03-08-2004, 06:03 PM #3WHT Addict
- Join Date
- Oct 2003
- Location
- Chicago, Illinois
- Posts
- 112
It's still useful for those looking to build their own kernels (as it demonstrates how to download the current kernel source code), and incase there is a security flaw discovered in the operating system.
John Kata
-
03-08-2004, 06:16 PM #4Web Hosting Master
- Join Date
- Jan 2001
- Posts
- 2,605
I agree that knowing how to build a custom kernel is important; but there's no reason for anyone to recompile the world to deal with security flaws -- FreeBSD Update normally has binary updates available before the patches even reach cvsup-master, let alone any of the publicly accessible mirrors.
Dr. Colin Percival, FreeBSD Security Officer
Online backups for the truly paranoid: http://www.tarsnap.com/
-
04-06-2004, 10:41 AM #5Disabled
- Join Date
- Feb 2004
- Posts
- 179
Originally posted by cperciva
I agree that knowing how to build a custom kernel is important; but there's no reason for anyone to recompile the world to deal with security flaws
ftp://ftp.freebsd.org/pub/FreeBSD/CE...05.openssl.asc
and the best solution recommended by FreeBSD team is to rebuild the world.