Date Tags english

[caption id=”attachment_853” align=”alignleft” width=”300” caption=”Django”]Django logo[/caption]

It’s been a while since I pimped my Django Dev Kit Appliance, mostly because I have been really busy with work, projects and my kid’s end of the school year. Anyhow, I rebuilt the appliance to use the latest Django 1.3 release plus several other updated packages such as git and mercurial. I have also stopped building Amazon EC2 images and will from now on only provide ISOs and Raw Filesystem images.

Speaking of Raw Filesystem images, here’s how I currently use it  with QEMU. In my .bashrc file I have an alias that will boot them and redirect it’s internal ports 80 and 22 (apache and ssh) to my system’s port 8080 and 2222 respectively. I also forward port 3389 for Windows systems.

sudo qemu-kvm -m 2048 -hda "$1" -boot c -soundhw ac97 -redir tcp:8080::80 -redir tcp:2222::22 -redir tcp:9999::3389

So when I call my alias and pass a raw filesystem image as an argument, I can then use localhost as the destination to my http and ssh connections.

[caption id=”attachment_1417” align=”aligncenter” width=”300” caption=”Running under QEMU”]Running under QEMU[/caption]

I also have a special configuration in my .ssh/config file to make it easier for me to ssh to these virtual systems and not have to change my known_hosts file every time I boot a different system and try to ssh to localhost on port 2222:

Host qemu User root Port 2222 Hostname localhost StrictHostKeyChecking no UserKnownHostsFile /dev/null

If you want to play with this appliance, feel free to download it in the following formats:


comments powered by Disqus