After the box that was hosting the old FreeBSD box (version 6.x) finally gave up the ghost and knowing that I wanted to skip 7.x, I just finished a fresh install of 8.1. After setting up my accounts the next step is updating and patching. All material comes from the FreeBSD Handbook.
This updates source, world and kernel.
- I choose to use the defaults in
- Fetch the updates
- Apply the updates
- Reboot the systems
shutdown -r now
If a rollback is needed the
Updating Ports Collections
- Download updated ports
- The first time
portsnapis executed, you have to use extract to install the downloaded files.
- Rest of the time
portsnap updateis OK.
Updating Documentation Sources
cvsup -h cvsup1.us.FreeBSD.org -g -L 2 /usr/share/examples/cvsup/doc-supfile
Cleaning up Obsolete files, Directories and Libraries
- check for obsolete files and libraries
- If any obsolete files are found, deleted
portsclean -Dwill purge old distfiles.
portsclean -Cwill clean all ‘work’ directories.
portsclean -Lwill clean up unused libraries in /usr/local/lib/compat/pkg.
portsclean -Pwill clean up outdated packages.