|
About
Zap's Digital Lighthouse is a Blosxom weblog for our digital outpost on the Internet
For info
info@rax.org
Useful links:
Google
Cyberpresse
The Reg
Slashdot
FreeBSD
LinkedIn
Twitter
Boursorama
RAX
zap
Soekris
xkcd
AirFrance
Wiki soekris
Wikipedia
Wiktionary
ACME
blosxom
Categories:
/FreeBSD (27)
/admin (4)
/blosxom (6)
/games (5)
/hardware (17)
/inet (4)
/misc (37)
/notwork (2)
/software (11)
/tech (1)
Archives:
2025 (1)
| January (1)
2024 (3)
| December (3)
2023 (1)
| June (1)
2021 (2)
| January (2)
2020 (2)
| December (1)
| September (1)
2019 (2)
| November (1)
| July (1)
2018 (6)
| December (1)
| November (3)
| January (2)
2017 (4)
| December (2)
| January (2)
2016 (3)
| November (1)
| October (1)
| January (1)
2015 (9)
| December (2)
| November (1)
| October (1)
| June (1)
| May (2)
| February (1)
| January (1)
2014 (9)
| December (1)
| October (1)
| September (1)
| August (3)
| May (2)
| April (1)
2013 (20)
| October (3)
| June (4)
| May (2)
| April (7)
| March (1)
| January (3)
2012 (60)
| December (4)
| October (1)
| July (5)
| June (7)
| May (1)
| April (6)
| March (3)
| February (14)
| January (19)
2011 (3)
| December (1)
| November (2)
2008 (1)
| October (1)
|
|
|
Upgrading FreeBSD
An interesting script to upgrade FreeBSD (and installed ports) from mebsd.com:
.
#!/bin/sh
LOG_FILE="/var/log/freebsd-update.log"
echo "Starting updates: `date`" | tee -a ${LOG_FILE}
echo "***"
echo "*** Checking for FreeBSD patches..."
echo "***"
/usr/sbin/freebsd-update fetch | tee -a ${LOG_FILE}
/usr/sbin/freebsd-update install | tee -a ${LOG_FILE}
echo "***"
echo "*** Updating ports tree..."
echo "***"
/usr/sbin/portsnap fetch update | tee -a ${LOG_FILE}
echo "***"
echo "*** Looking for ports to update..."
echo "***"
/usr/local/sbin/portmaster -a --no-confirm | tee -a ${LOG_FILE}
echo "***"
echo "*** Checking installed ports for known security problems..."
echo "***"
/usr/local/sbin/portaudit -Fva | tee -a ${LOG_FILE}
echo "Finished updates: `date`" | tee -a ${LOG_FILE}
This uses "freebsd-update " and "portmaster " which seem to be the "modern" way for
people to manage FreeBSD installations.
P.S. Oh well, I still like to recompile world+kernel by hand...
/FreeBSD | Posted at 19:53 |
permanent link
|
|