Date Tags english

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

I rebuilt the appliance to use the latest Django 1.3.1 release to deliver the security fixes found in the previous version. There are also several other updated packages included.

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

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_1462” align=”aligncenter” width=”300” caption=”Django Dev Kit on QEMU”]Django Dev Kit on 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


comments powered by Disqus