Skip to content

{ Category Archives } FreeBSD — General

The one to rule them all

Updating FreeBSD 6.2

Ah good old FreeBSD sometimes you forget that you actually have to patch it. While I am fairly good about keeping my release current, this is one of the few times that I have had to update because of an exploit that concerned me enough that I patched because of it. FreeBSD-SA-07:09.random.asc Seeing this I [...]

Tagged , ,

Creating Certificate Authority (CA) for a SSL Certificate

1) Create the certificate authority certificate and key. Make sure you remember the password you use. You will need to use it repeatedly. mkdir /CERTS/ldap-certs/ca cd /CERTS/ldap-certs/ca openssl req -new -x509 -keyout ./ca.key -out ./ca.crt echo 01 > /CERTS/ldap-certs/ca/serial touch > /CERTS/ldap-certs/ca/index.txt 2) Create the openssl.cf file in /CERTS/ldap-certs #################################################################### [ ca ] default_ca = [...]

Updating FreeBSD 6.0 to FreeBSD 6.1

Preliminary Work 1) First make sure that you have cvsup installed pkg_add -r cvsup-without-gui rehash 2) Setup your standard-supfile to update to the Release English 6.1 Sources cp /usr/src/share/examples/cvsup/standard-supfile ~/ 3) Edit the standard-supfile file: vi standard-supfile Change *default release=cvs tag=RELENG_6_0 to *default release=cvs tag=RELENG_6_1 Also make sure that you edit the *default host=CHANGE_THIS.FreeBSD.org to [...]

Notes on Keeping FreeBSD 6 up to date

Updating FreeBSD 6.x Before you start Setup environment for packages: setenv PACKAGESITE ftp://ftp2.us.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/ Using freebsd-update to update standard kernels 1) Add freebsd update package: pkg_add -r freebsd-update 2) Setup and use freebsd-update: cp /usr/local/etc/freebsd-update.conf.sample /usr/local/etc/freebsd-update.conf mkdir /usr/local/freebsd-update freebsd-update fetch freebsd-update install shutdown -r now Updating packages and ports 1) install portaudit package pkg_add -r portaudit [...]