Reinstall your Ubuntu VM from scratch
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Ubuntu 10.4 Django Development Setup

A simple reference guide for quickly setting up an ubuntu Virtual Machine in Fusion specifically for developing Django web applications.


Setup a virtual machine in Vmware Fusion. I prefer bridged network mode and making use of shared folders.

In the vmware terminal follow these steps:

* sudo apt-get install git-core

* git clone && cd ubuntu-django-setup

* ./

VmWare tools

If you want'm, install'm like so:

sudo apt-get install linux-headers-`uname -r`

Install Vmware Tools from fusion

sudo mkdir -p /media/cdrom

sudo mount /dev/cdrom /media/cdrom

tar -xvf /media/cdrom/Vm[..].gz

run the install script as super user


Add your public key to the authorized keys:

cat ~/.ssh/ | ssh user@host 'cat >> ~/.ssh/authorized_keys'

If you want to reuse your ssh-keys that you already have installed on your Mac, just scp them to the VM:

scp -r ~/.ssh/id_rsa* user@host:

Folder sharing

If you keep your git repo's in ~/devshare on your Mac, this is what you'll probably want to do:

ln -s /mnt/hgfs/devshare/


  • If you use Sequel Pro, connect using ssh to save yourself the hassle of granting permissions