Version 69 (modified by rik goldman, 14 years ago) ( diff )

vmware tools install

Virtual Machine


This virtual machine has been built to allow Developers to get operational quickly (1 Gb compressed):

It is in the Open Virtual Machine format for use in either VirtualBox or VMWare.

It is currently running the Ubuntu 10.04 OS with Web2Py-r2717, Eden-r1560 & Eclipse 3.6.


Usage Notes


The dev env virtual machines for Virtualbox and VMware are based on a blueprint and are configured to use about 512MB of RAM. The virtual disk is configured to expand to 20GB. The virtual machine is built on TurnKey Linux's Core, which in turn is based on Ubuntu 10.04 (Lucid -- the most recent long-term support release). The machine runs Shellinabox, Webmin, and SSH/sftp as services from startup.

The development environment is configured to launch LXDE, a lightweight desktop environment after the first boot. From LXDE, Eclipse with Pydev, Firefox with Firebug, and irssi are accessible.

Getting Started

  1. Download the Image
  2. Uncompress the image: 7zip is a very effective FOSS tool for systems running Microsoft OSs. In Linux distros, the following command should work:
    unzip #unzip to current working directory
    unzip -d ~/ #unzip to home directory

To run the image, you need to install either VirtualBox or VMWare:

VirtualBox Installation

  1. Download VirtualBox
  2. Install VirtualBox
  3. Import the Virtual Appliance:
  • File menu | Import Appliance
  • Choose the uncompressed image (the .ovf file)
  • Next
  • Accept the default appliance options unless you have a reason to make a specific change
  1. The VM will appear in the left window pane, and the settings will appear in the right. Scroll down on the right side until you see "Network." Click network to specify the NIC (e.g. switch to wireless) and choose between bridged and NAT mode.
  2. Start the Virtual Appliance by double-clicking the icon on the left.

Troubleshooting VirtualBox

Network Configuration

Solutions will be here.

Too Many IDE Drives Configured

Solutions will be here.

VMWare Installation

To import the download VM into VMware (e.g. Fusion), use the following steps.

  1. File > New
  2. Click Continue without disc
  3. Select Use an existing virtual disk
  4. Select NewDev.vmdk
  5. Select Make a separate copy of the virtual disk
  6. Click Choose
  7. Click Continue
  8. OS=Linux and Version=Ubuntu should be selected, click Continue, Click Finish
  9. Enter name for new VMware image e.g. Eden in the Virtual Machines directory
  10. Click Save
  11. Press the green play icon to start the virtual machine.

Remember to install the Linux VMware Tools after starting up the Eden machine using Virtual Machine > Install VMware Tools

sudo su -

And accept all the default options

Troubleshooting VMware Tools Install
  • Open LXTerminal and browse to the folder containing
    pwd #displays the current location in the filesystem
    cd /absolut/path/to/folder # change directory to the one containing
    sudo ./ #start installation script
  • Download Build Tools *Option 1: Open Synaptic in the LXDE menu, update, then search for build-essential *Option 2: Open LXTerminal and install build-essential from the command line:
    sudo apt-get update
    sudo apt-get install -y build-essential


After first boot, the machine arrives at the graphical user interface login page. Login with the provided credentials.

Web2py administration password is set during the debugging process with either of the following commands and arguments, both of which would set the admin password to "admin":

/home/dev/ -a admin -i -p 80

/home/dev/ --password admin -i -p 80

Root User

Username: root

Password: to be determined

Dev User

Username: dev

Password: eden


Web2py is located in /home/web2py. Eden is located in /home/web2py/applications/eden. Eclipse and PyDev are preconfigured with this information.


/usr/local/bin contains three helpful scripts. To run them, start LXTerminal (in the accessories menu) and simply enter the commands as demonstrated below. They are in all users' paths, so may be executed from any working directory.

Update web2py

Enter the command with or without a revision number, as demonstrated below:

update_web2py 2717 #updates web2py to rev 2717
update_web2py #updates web2py to recent revision

Import Eden

update_eden 1560 #updates Eden to rev 1560
update_eden #updates Eden to recent revision

Update Eden

Imports Eden to Web2py

import #imports models to web2py

Troubleshooting older Releases

Note: If you get a ticket when running the application for the 1st time with a message like "OperationalError: Cannot add a UNIQUE column" then you need to stop the debugger, delete the contents of the databases folder & then start debugging again (there was an old database accidentally left on the system which cannot be auto-migrated - a new image without this issue has been uploaded):

rm -rf ~/Desktop/web2py/applications/eden/databases/*

If you get an error like "AttributeError: SQLCustomType instance has no attribute 'startswith'" then:

cd ~/Desktop/web2py/gluon

Then can proceed as above: Stop Eclipse, empty databases folder & restart Eclipse

A new image without this issue has now been uploaded.




Note: See TracWiki for help on using the wiki.