hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting Talk Tutorials : Hosting Security and Technology Tutorials : Howto - Stable-ize FreeBSD4x
Reply

Forum Jump

Howto - Stable-ize FreeBSD4x

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
WHT Addict
 
Join Date: Oct 2003
Location: Chicago, Illinois
Posts: 110

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.


Sponsored Links
  #2  
Old
Retired Moderator
 
Join Date: Jan 2001
Posts: 2,603
Re: Howto - Stable-ize FreeBSD4x

Quote:
Originally posted by inFused
To upgrade your FreeBSD4.x server to FreeBSD4.x-STABLE...
You forgot step 0: Carefully consider if you actually want to do this. -STABLE is a development branch, even if it is very well tested, and it brings primarily new features. Unless you have any reason to need those features, there's no reason to run 4-STABLE; indeed, most users -- especially on production servers -- should never "make buildworld".

__________________
Dr. Colin Percival, FreeBSD Security Officer
Online backups for the truly paranoid: http://www.tarsnap.com/

  #3  
Old
WHT Addict
 
Join Date: Oct 2003
Location: Chicago, Illinois
Posts: 110
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

Sponsored Links
  #4  
Old
Retired Moderator
 
Join Date: Jan 2001
Posts: 2,603
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/

  #5  
Old
WHT Addict
 
Join Date: Feb 2004
Posts: 165
Quote:
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
Unless a bug in OpenSSL like this one is discovered :
ftp://ftp.freebsd.org/pub/FreeBSD/CE...05.openssl.asc
and the best solution recommended by FreeBSD team is to rebuild the world.

__________________
ServerWizards Inc ** http://serverwizards.com/ **
** MSN: support@serverwizards.com AIM: serverwizards **
| Complex System Management and Security Solutions Under One Roof |


Reply

Related posts from TheWhir.com
Title Type Date Posted
HostMetro Listing 2014-10-22 09:46:09
HostMetro Listing 2014-10-22 09:46:10
Jetfire Networks L.L.C. Listing 2014-10-22 09:44:10
cPanel & WHM Software 11.36 Reaches Stable Tier Status Web Hosting News 2013-04-09 11:44:33
Hosting Control Panel cPanel & WHM 11.34 Release Hits Stable Tier Web Hosting News 2012-11-12 17:04:57


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?