Fun hacks, WP plugins, photography, and PKI junk. Languishing since 2008.
Archive for April, 2009
Upgrading Ubuntu Server 8.10 (Intrepid) to 9.04 (Jaunty)
Apr 26th
Now that Ubuntu 9.04 (Jaunty Jackalope) is out I decided to upgrade a few of my servers from 8.10 (Intrepid Ibex) to the latest release. To upgrade via the command line follow these steps (as root or via sudo):
aptitude update aptitude safe-upgrade aptitude install update-manager-core
This will get your system upgraded to the latest packages of 8.10 and install the scripts to move to Jaunty. Be sure you have screen installed as well — Ubuntu does not like having upgrades interrupted so you want to be able to resume if your session is interrupted for any reason.
screen do-release-upgrade
It will download and check a few things and More >
RAM Disks in OS X
Apr 21st
If you’ve ever wanted to set up a ramdisk in Mac OS X, here’s a quick script you can use. Simply invoke it with a size in MB and the name for your volume and it will create and automount it for you. It also won’t leave any dangling directories in your /Volumes/ when you eject it! Be sure to chmod the file you place the script in to make it executable (755 or likewise).
#!/bin/bash if [ -n "$3" ]; then NUM_ARG=ERR; fi if [ -z "$1" ]; then NUM_ARG=ERR; fi if [ -n "$NUM_ARG" ]; then echo 'Usage: ./ramdisk <size in MB> <name, optional>' exit fi SIZE=$1 NAME='my_ramdisk' let "SIZE *= 2048" if [ -n "$2" ]; then NAME=$2; fi diskutil erasevolume HFS+ "$NAME" `hdiutil attach -nomount ram://${SIZE}` echo 'Done'More >
Subversion Global Ignores
Apr 16th
If you’re a Mac OS X user running Subversion on the command line and mounting remote disks you may have run into instances where you want to globally ignore ._*, .AppleDouble, and *:2e_* files. To do this simply open your Terminal and edit your ~/.subversion/config file and look for the line below.
#global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store
Uncomment it by removing the # and add the necessary additional exclusions and it will now look like this.
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store ._* .AppleDouble *:2e_*
Save it and you’re all set. More >
Firefox Autoenrollment With A Microsoft CA
Apr 12th
If you’re running a Microsoft CA and you want to be able to accept enrollment requests from clients supporting keygen (Firefox, Safari, Opera, et cetera) you’ve probably found that the /certsrv/ page allows enrollment, but the requests fail when you attempt to issue the certificate. This is because the server is not parsing the subject attributes from the request. To fix this, run the following on your server as administrator on the command line.
certutil -setreg ca\CRLFlags +CRLF_ALLOW_REQUEST_ATTRIBUTE_SUBJECT
You can also set your server to auto-issue on request for certain certificate profiles. To do this add the CA snap-in and get properties More >
MLB.tv NexDef On OS X
Apr 10th
I have found myself growing tired of paying for cable TV, so this year I wanted to see if I could use MLB.tv as a replacement. One of the major new features MLB is marketing for MLB.tv in 2009 is called “NexDef” and purports to provide an HD stream along with DVR functionality. How could I go wrong?
As it turns out, NexDef runs as a daemon on both Windows and Mac (it uses Autobahn). There is a shell app that launches at boot and invokes a Java http server. Leaving aside the ugliness of the whole solution, having it running More >
Ubuntu 9.04 (beta/RC/final) In VMware Fusion
Apr 4th
Update 10/26/09 Ubuntu 9.10 (Karmic Koala) is about to be released, so check out the new guide for that version.
Update 4/25/09 Ubuntu 9.04 (Jaunty Jackalope) final was released a few days ago so I grabbed it and rebuilt my VM. I don’t recommend using the “easy install” option at this time, so uncheck that and run through the Ubuntu installer by hand. There are only 7 steps and you can leave everything default if you want. Once installed you can follow the instructions below (including the vmmouse install) to get it all up and running.
Update 4/21/09: RC is now out and to get mouse More >