Excluding subversion files from ZIP

March 30, 2007

Zip wildcards will include various .svn files. This command will exclude them:

find | grep -v .*\.svn.* | zip zipfile.zip -@


Strangeness with hwclock

March 28, 2007

So far, the only glitch with Debian is that hwclock needs the -directisa parameter. I’m just in the process of switching to Debian at work, and the machine there is fine.


Install VMWare server on Debian Etch

March 14, 2007

These are just my notes for installing VMWare server since I need to do it on a bunch of machines.

Load the prerequisites for VMWare server’s vmware-install.pl script (it should be a single line):

apt-get install libx11-6 libx11-dev libxtst6 xinetd wget linux-headers-`uname -r` build-essential gcc binutils-doc make manpages-dev autoconf automake1.9 libtool flex bison gdb libc6-dev-amd64 lib64gcc1 gcc-2.95-doc

Extract the downloaded file:

tar -xvzf /root/VMware-server-1.0.2-39867.tar.gz

Get some serial numbers by filling out the form:

http://register.vmware.com/content/registration.html

Run vmware-install.pl with the defaults for everything except NAT networking which should be no.

Add the following to /usr/bin/vmware (on the first blank line):

export VMWARE_USE_SHIPPED_GTK=yes

The VMWare icon is under Applications/System Tools.


Installing Java on Debian Etch

March 14, 2007

Add/edit the following lines in /etc/apt/sources.list:

deb http://ftp.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.debian.org/debian/ etch main contrib non-free

Then run apt-get update. Now install java with apt-get install sun-java5-jdk (or sun-java6-jdk)


Debian rocks

March 11, 2007

I got my new machine from the Dell Outlet, so it wasn’t configured exactly the way I wanted, but close enough (anyone want a Bluetooth keyboard, cheap?).

The main reason I got it from the outlet was so I could get Windows XP instead of Vista. I wanted a legit license that I could run in a virtual machine. I wasn’t willing to shell out the additional $’s for the high-end version of Vista that you are allowed to run in a VM. I didn’t realize that Dell would remove the option of getting XP on a new box. Microsoft is really in control in a way that isn’t in a customer’s best interest.

I’m running Debian Etch on it. I was really impressed with how easy it was to install and how everything “just worked”. Video, sound, network, external USB drive, everything.

It is somewhat unfair to compare performance, since I don’t know what XP would have been like on the new hardware, but performance is fantastic. Everything has that nice instantaneous “pop”.

I installed VMWare Server (again, hassle-free, though it would have been nice if there was a .deb for it). I used the VMWare Converter to make an image of my old machine, and it just worked (well, it did after I managed to get Windows XP activated again, grrrrr…). Maybe it was because my old machine was such a dog, but performance seems excellent: it seems faster in the VM than it did on the real box!

Maybe this is just the honeymoon, but I am really impressed.


What I don’t like about my new Dell

March 11, 2007

Instead of a Mac Mini, I got a Dell Dimension XPS 210. I’m comparing it to the Mac Mini, which I was considering getting, and this is the what I don’t like about it. My daughter has a Mac Mini, so I’m not just guessing about the Mac side of things.

  • Noise – the fan is a lot quieter than my old Dell box, but it is still way too loud. I have it in our bedroom, and have to turn it off at night.
  • Size – it is a “small” form factor box, but it is huge compared the Mac Mini. I haven’t measured, but you could probably fit 6 Mac Minis in the same space.
  • DVI output – I thought it came with it: I was shocked when I went to plug in the monitor and didn’t find it. I never even considered that Dell would sell a box (other than a completely barebones one) without DVI.
  • Gigabit ethernet – at least I knew this in advance. It isn’t absolutely mandatory, but really, how much more does GigE cost compared to FastE? Two dollars?
  • Door – it has this stupid pop-up door on the front that covers the DVD, USB/Firewire ports and speaker & microphone connection. I can’t imagine who would find something like this cool: it is just plain cheesy. And you can’t have the speaker/mic plugged in with it closed. And it doesn’t close easily. And it’s flimsy. And the open button is shaped so your finger gets in the way of it opening. It just reeks of “design-by-committee”.

Still, I’m happy with, mainly because the software side of things is working so well.


Why I didn’t get a Mac

March 11, 2007

I just got a new machine, and seriously considering getting a Mac Mini. This is a brief summary of why I didn’t.

The disadvantages of the Mac:

  • Cost – GHz vs GHz, byte vs byte, you just get a lot more bang for your buck. I know that there is design beyond GHz and bytes, but it has to be competitive.
  • OS X Leopard – it is coming, but it isn’t here yet and it won’t be a free upgrade. I suppose it is good that the new version has some worthwhile & exciting features, unlike with Vista…
  • Java – Apple always has lagged behind Linux & MSWindows in releasing new/updated Java versions. If there was something great about Apple Java, it might be worth it, but there isn’t.
  • Internet focus – I’m pretty much sold on the idea of doing/having everything online. Google Apps has the features I need for word processing and spreadsheets. I’m using GMail for email. So instead of comparing the OS’s, for me it makes more sense to compare browsers. And Firefox is simply better than Safari IMHO. I know I can use Firefox on the Mac, but then why not just use Linux?
  • Maximum RAM – I want 2 Gig with the option for more.
  • Licensing costs – one of the reasons I’ve been getting involved in Linux is because of I’m tired of paying the “Microsoft Tax” whenever I want to add a new machine (or upgrade an existing one). Just swapping in a new “Apple Tax” doesn’t make much sense.
  • Licensing hassle – the other big hassle with Microsoft is their whole license enforcement system. I’ve been using a Microsoft OS essentially forever, and literally the only times I’ve had to call them for help has been for problems with licensing. Just too much of a pain for something that doesn’t do me any good.
  • Virtualizability (is that a word?) – at some point in the not-to-distant future, I will get yet another new machine. I want to be able to virtualize my existing machine and just take everything with me. I used to do this with hard drives (i.e. a new drive 2+ times larger than the old one, and make a “previous” directory with a copy of the old drive in it: it got to be 3 or 4 levels deep at one point), but that only works for data. Current licensing forbids virtualization of OS X.