Guest machine for Virtualbox with preinstalled Django, Pylons and Ruby On Rails

This weekend I have devoted my time for playing with the new and famous frameworks Django, Pylons, and Ruby On Rails.
Almost 80% of the weekend I spent on installing them, if you don't wanna spend time by installing these frameworks and want start playing with them immediately, you are welcome to use my already configured virtual machine for Virtualbox.

First of all you will need Virtualbox, then download image of my virtual machine:
Server 1
Server 2

Extract the archive and import the virtual appliance to Virtualbox
Importing Guest Machine

You might need to change the network setting in Virtualbox by selecting network adapter

that has access to internet so your virtual machine is able access to internet

Note, you will need make few network setting changes in order to access pre-configured apache virtual hosts,,

Here are my settings:
I use my win7 based laptop for development while the guest machine is running on my PC with Virtualbox.

My router's IP:
My guest machine's with all these frameworks IP:

so first you will need to change following settings on guest machine according to your network:

1) Setup static IP

# nano /etc/network/interfaces

Edit following lines according to your local network settings

---  interface file ---
auto eth0
iface eth0 inet static
        address # this ip for your guest machine
        gateway # this IP of my router

2) Setup DNS servers

# nano /etc/resolv.conf 

--- resolv.conf file ---

nameserver #my router's IP
nameserver # OpenDNS server just for backup


3) Configure apache, actually what you need it's just update IP to your one that you set in step 1:

/etc/apache2/ports.conf   (in NameVirtualHost directive)

4) Update /etc/hosts
   change according to what you set in "address" of step 1

Then update /etc/hosts file on your host machine or like in my case on my win7 based laptop I had to add following line to c:\Windows\System32\drivers\etc\
just press win+r and type «notepad c:\Windows\System32\drivers\etc\hosts» and the following lines (don't forget to update IP with correct one)

Finally if everything went well you can see simple «hello-world» projects as shown bellow:

In addition, as a bonus, there are installed MySQL and PHP. You can see phpinfo page by pointing your browser by IP address in my case this is

Software versions:
Ubuntu Server 10.04 LTS with Vbox guest drivers (root password: 12345)
Pylons 0.9.7 (mod_python)
Django 1.2 (mod_wsgi)
Ruby on Rails 2.3.6 (mod_rails)
MySQL 5.1.41 (root password: 12345)
PHP 5.3.2 (mod_php)

Comments (8)

RSS Collapse / Expand
Awesome Job on the Virtual Appliance.
Thank you for taking the time and effort.

Would love to talk with you about building other appliance and working together.



  • June 6, 2010, 7:12am
What is the ubuntu-srv login & password?


  • June 19, 2010, 11:50am
upps, I have found it. root/12345


  • June 19, 2010, 11:56am
let me know if you need any help…


  • June 20, 2010, 9:46pm
Comment was deleted

I am having an issue using the mysql library? I can connect to mysql, but not using pylons/django once I made the change to the connection of the helloworld project.


  • June 14, 2013, 2:15pm
Is this a standalone image or what? I cannot get mysql libraries to work with django and I see where I may need to retrieve packages online…


  • June 26, 2013, 3:08pm
yeah, it's a standalone, but probably too outdated already…


  • July 29, 2013, 3:17am

Only registered and authorized users can leave comments. Login or Register