Setting up Ruby, Rails, Git and Redmine on Dreamhost

Git, RedMine, Ruby, Rails on DreamhostThe task is to have:
– Redmine installation on
– Several Git repositories on with different access rights to each one

This proved to be a non-trivial task. There is a number of tutorials on the net, but none of them described the full solution. So after getting it all to work, I decided to share all the tips and tricks. Feel free to comment, if you will find problems with the following set of instructions.
Continue reading “Setting up Ruby, Rails, Git and Redmine on Dreamhost”


Migrating domain emails to Google Apps mail

logo While performing some administrative tasks on one of the domains I maintain, I decided that the time has come to switch to a modern and reliable solution – Google Mail.

If you have an IMAP mailbox hosted somewhere and you want to move it to Google, then do the following (example is set for migrating from Dreamhost, but can be used on any other IMAP mailbox):

1. Register at Google Apps for your domain

2. Re-create your email accounts

3. Log in to  shell on your hosting and execute the following command:

 mailutil transfer -verbose -merge append \
   /imap/ssl/novalidate-cert/user=<your-dreamhost-username>}' \

<your-dreamhost-username> is the name you use for logging into your existing IMAP mailbox – e.g.
<your-dreamhost-username> is the name you use for logging into your Gmail account (just username if you’re migrating to @gmail account or if you’re migrating to Google Apps account

4. Enter first password to your existing IMAP account, then password to your Gmail account

5. Voilà – prepare that this can be a long running operation, especially if you have a lot of mails.

(Thanks to joyjit for advice)


What’s new in Ubuntu 9.04 Jaunty Jakalope

Jaunty Jackalope It was a fun weekend. I upgraded from Ubuntu 8.10 to 9.04 on my Lenovo T61 and installed it instead of Windows Vista on my wife’s new Dell Vostro 1510.

Both upgrade and installation on both machines went without a single hickup, which was a positive surprise after my last experience with Ubuntu upgrade.

Continue reading “What’s new in Ubuntu 9.04 Jaunty Jakalope”


Introducing Moozement

moozementLast year I got involved in the development of a new social network – Moozement. There are plenty of social networks out there, there are even white label social networks. So why create another one?

Jyri Engeström wrote some time ago about the case for object-centered sociality: “‘social networking’ makes little sense if we leave out the objects that mediate the ties between people”. I could not agree with him more. The glue of each community is something that unites them – common interest, social object. When you join new social network, you typically start by building your social graph – re-establishing links to the real people you know, checking if they have already registered, inviting those whom you would like to see in the new environment. But there must be something beyond the initial phase of building the social graph. And this is the problem that haunts giants like Facebook and MySpace. You cannot possibly have common interest with everyone, and you don’t want to share the same things with everyone.

Continue reading “Introducing Moozement”


Upgrading to Ubuntu 8.04 Hardy Heron or “Ubuntu sucks… get a Mac”

I should admit – I shamelessly borrowed part of the title for this post from Tyler.
I had exactly same feeling after upgrading from Ubuntu 7.10 to 8.04.

I’ve been meaning to write about this upgrade for almost two months now. Right after Ubuntu 8.04 was released I upgraded two of my laptops from Ubuntu 7.10 to 8.04. I know, I know, never download software on the release date, wait for a couple of months before all major bugs are fixed and it starts working somehow. But anyway…

Continue reading “Upgrading to Ubuntu 8.04 Hardy Heron or “Ubuntu sucks… get a Mac””


Sampo bank software upgrade, Ubuntu and beta culture

Even if you are not Sampo bank’s customer, but live in Finland, you have most probably heard by now about continuous problems Sampo had with their web-bank system.

When Sampo launched the new system this Easter, they took into use Java-based authentication system. Of course it didn’t work in my Ubuntu 7.10, but after removing Open JDK and installing latest Sun JDK it started functioning again – at least log in worked. This Java solution raised a lot of concerns in internet community.

Continue reading “Sampo bank software upgrade, Ubuntu and beta culture”


Moving /home to its own partition

Ubuntu - Disk Usage AnalyzerAfter upgrading Ubuntu to 8.04 I decided it would be a good idea to finally move /home folder to a separate partition. It makes it much easier to make backups and reinstall operating system if all data/configurations are safely stored on their own partition.

Without installing additional hard drive (which would be impractical for laptop user anyway) the only source for extra space was Vista partition. Vista comes preinstalled with most modern laptops, but there’s no need for it to exist taking up to 40Gb of hard drive space, when Ubuntu is the primary OS.

WARNING: Before executing any of the belowmentioned steps, it is highly recommended to make a full backup of your data.
Continue reading “Moving /home to its own partition”


Ubuntu 7.10 on Lenovo T61

I bought myself a new laptop – Lenovo T61 (15.4″ WSXGA+ TFT, Intel GMA X3100 GM965 integrated graphics, 100Gb 7200rpm HDD, 2Gb RAM, Core 2 Duo T7500 2.2GHz CPU, integrated bluetooth, Intel PRO/Wireless 3945ABG). I was really tempted by MacBook Pro, but Lenovo with similar configuration was almost twice as cheap, and still provided everything I need. And after all what is the point of running Linux in Parallels on Mac, when you need to develop for Maemo? 🙂

Unfortunately when I bought it in February there was no option to get it without Vista preinstalled, so the first thing I had to do was to install the proper OS. Now Lenovo offers an option to get T-series laptops with SUSE Linux preinstalled.

Ubuntu 7.10 installation worked as a dream – I didn’t have to hack anything at all – everything worked out of the box. Of course I had to configure the system to my needs, but user interface was sufficient for that.

Looking forward to Ubuntu 8.04 release now:


Ubuntu 7.10 – Gutsy Gibbon

ubuntulogo.png I used Ubuntu 7.04 on my Dell Inspiron 9100 for quite a long time. Unfortunately attempt to upgrade to 7.10 failed miserably – after reboot all I got from Gnome was gray screen (which I managed to go past by explicitly selecting session type at logon), but then “HAL failure” and other problems forced me to just make a clean install (having a separate partition for /home helped a great deal).

Continue reading “Ubuntu 7.10 – Gutsy Gibbon”


I moved to Linux completely

Nokia 6600 LinuxThat finally happened. I’ve completely got rid of Windows on my computers.

The last bastion of Windows was my Nokia work laptop, and now there is Nokia corporate version of Linux installed. I would’ve preferred Ubuntu, but that was not an option.

Migration was relatively painless and that’s yet another proof that Linux can be successfully used on laptops in corporate environments. As a disclaimer I should say that moving to Linux was not a sentimental decision or pledging support for Linux community, but a pure necessity of my present job. Using shell scripts and tools like sort, awk, grep, python, perl and running experiments with web 2.0 stuff locally (even without a network connection) is just so much easier.

The only thing I really miss from Windows is Lifeblog. I really hope that soon there’ll be a way to upload complete Lifeblog database to an internet server and access it via web interface. Let’s see what Ovi brings us when it’s ready.