Home » Page 32

Change is coming

Which apparently is the slogan for launching Ubuntu 10.04. I think this is going to be a very nice LTS release. It’s too bad that they didn’t include Perl 5.12 in it, but that’s understandable as it just got released; although compiling your own is very easy. On the other hand, PHP 5.3 got in there thanks to the pressure of some fellow Dutchmen. Not that I’m a big fan of PHP, but PHP 5.3 has some nice additions such as closures.

Serving files with Apache on Windows from a network drive

After I installed Zend Server CE today I had to configure Apache to serve files from a shared network drive. Although these have been given a drive name serving files from it with Apache fails to work.

By default Apache under Windows (or generally any service) is being executed as a local user. This user doesn’t have network rights, and normally shouldn’t have any. But in my case it should. So to get this all working I opened the Windows administration tool for services and modified the Apache service to be run as some other user, in my case DOMAIN\username.

After having done that I configured my Apache configuration to serve files from a shared network drive. To my surprise it still didn’t work and my path was correct… For Windows that is. Windows use the backward slash, for example, \\MYSERVER\Projects\example.com. But for this to work with Apache you have to substitute the backward slashes with forward slashes, like this: //MYSERVER/Projects/example.com.

If you do this all should be well and you can serve files from your network through your locally installed Apache.

Configure Git on Windows to use KDiff3

Something I don’t do often and always forget is how to setup msysgit to use KDiff3 as its merge tool.

To get it done edit your .gitconfig and add the following:

  1. [merge]
  2.     tool = kdiff3
  3. [mergetool "kdiff3"]
  4.     path = C:/Program Files/KDiff3/kdiff3.exe
  5.     keepBackup = false
  6.     trustExitCode = false
  7.  

Upgraded Ubuntu server 7.04 to 8.04.4

A little while ago I posted about waiting for Ubuntu 10.04 to be released to upgrade our webserver at work to. We were running Ubuntu 7.04 which already wasn’t supported anymore. Due to ClamAV stopping support for the specific ClamAV version on Ubuntu 7.04 we decided not to wait and upgrade as soon as possible. Which was earlier this week.

I had already created a well prepared upgrade procedure, which I finished somewhere in august 2009. Almost 5 months later I was happy to find out that upgrading was still a painless process and all went without problems. As upgrading from 7.04 to 8.04.4 isn’t directly possible I had to upgrade to 7.10 first, which also isn’t supported anymore. Luckily all the packages are still available online. Just not in the official repositories.

The only problem I’ve run into was with Postfix and the IMAP protocol. Some old accounts had their Maildir folder set to the user nobody (which was strangely deleted by the way). For some reason Postfix only accepts it when the group on the folder is users. All Maildir folders for the new(ish) accounts were already owned by the group users and didn’t give me any problems. A quick call chgrp fixed this issue.

Other than that no outstanding issues. So overall I’m VERY HAPPY with how painless upgrading from 7.04 to 8.04.4 was. Of course at the time I was working on my upgrade procedure there were quite some issues, such as HP Tools (hpasm, hpasmcli, hpOpenIPMI) not working. But all were resolved before doing the actual upgrade on the live server. In case of hpasm, in case somebody wonders, you no longer need the hpOpenIPMI driver, as there’s now a open-source driver for it called openipmi. No more recompiling this driver when upgrading the kernel :-).

Item #1 of bucket list done!

My my, I managed to finish something that was on my bucket list. I finished reading The Game Producer’s Handbook. So far the most expensive book I had bought (in this genre). The biggest part of the book didn’t really interest me, but nearing the end of the book it got better. The thing is, I’m interested in Indie Gamedev. This book mostly focuses on AAA titles. Which means big budgets and huge teams. Nevertheless it was an interesting read as it gives a nice insight in the work of a game producer.