Tuesday, April 7, 2009

Updating FreeBSD

To update FreeBSD you need to run a few commands to update a running server

  1. freebsd-update fetch
  2. freebsd-update install
To upgrade FreeBSD to the latest version: (currently 7.1)
  1. freebsd-update -r 7.1-RELEASE upgrade

To figure out what version of FreeBSD you are using do this

uname -a

FreeBSD freebsd.example.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

No comments:

Post a Comment