Moving Ubuntu installation to a new HD

A couple of days ago, I discovered that the single 2,5" IDE disk containing the root file system of my home server had an error. I don't like errors on a device which is not duplicated. So I went out and bought a new (SSD) drive.

Instead of reinstalling Ubuntu, and thus remove all the config and tweaks I've made during the last couple of years, I decided to simply move the file system to the new disk.

Importing a GPG key into apt

 tags:

After adding a repository to /etc/apt/sources.list I got the following error on update:

W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 30B02BFA99E5A6E7
W: You may want to run apt-get update to correct these problems

To fix this, the missing public key must be imported into apt, which can be done the following way:

Switch to root:

sudo su -

Get the gpg public key from a key server:

Redmine and running it behind Apache proxy

 tags:

For a while, I've been looking for a web-based project management tool to help med keep track of ideas, documents, releases a.s.o. for the projects I'm working on. I prefer to host such tools myself, as I like to keep my files under my control. So I found redmine, which (unlike other web applications I've tried) is running on ruby on rails. Googling a bit made me confident that installing this on my Ubuntu 8.10 server wouldn't be a problem. I was nearly correct..

GWT on Ubuntu Hardy

 tags:

I started out following the official guide (http://code.google.com/webtoolkit/gettingstarted.html), with a couple of additions:

The projectCreator script doesn't create a folder for the project. At least not when creating an eclipse project.
The default libstdc++ on Ubuntu Hardy is 6, while the gwt specifically requires 5. sudo apt-get install libstdc++5 fixed that.

Installing fit-pc's

A while ago I bought three fit-pc's (yes, three) with the intention of using them as servers for various purposes in our house. I quickly set up one as firewall/gateway, as I prefer a simple linux/iptables based firewall setup instead of a closed SOHO router (from any vendor). Anyway - the fit-pc comes with Ubuntu Gutsy (7.10) Desktop preinstalled, so I quickly decided to wipe in and reinstall with Ubuntu Server. Unfortunately I never managed to get it to boot from usb - cd or flash.