Category Archives: UNIX

What I do for a living and what I like

Set Hostname for OS X

Append or edit /etc/hostconfig with the following: HOSTNAME=”machine.your.domain”

Posted in Mac OS X | Leave a comment

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 … Continue reading

Posted in FreeBSD -- General | Leave a comment

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 … Continue reading

Posted in FreeBSD -- General | Leave a comment

Making a Custom Kernel

update source tree To update your system, you should check /usr/src/UPDATING for any pre-buildworld steps necessary for your version of the sources and then use the following procedure: make -j4 buildworld make buildkernel make installkernel reboot Note: The -j4 switch … Continue reading

Posted in FreeBSD -- Setup | Leave a comment

Install Gnome 2.14 for FreeBSD

This information comes from FreeBSD/Gnome FAQ There are two ways to install GNOME 2.14 on FreeBSD. One way is to use packages, and the other way is to use ports. Before doing either installation, you should first familiarize yourself with … Continue reading

Posted in FreeBSD -- Setup | Leave a comment

X11 and Terminal.app

Add this to /etc/profile: # added to allow X11 applications to run if [[ -z $DISPLAY ]] then export DISPLAY=:0.0 fi And this to /etc/csh.cshrc: # added to allow X11 applications to run if (! $?DISPLAY) then setenv DISPLAY :0.0 … Continue reading

Posted in Mac OS X | Leave a comment

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 … Continue reading

Posted in FreeBSD -- General | Leave a comment