Skip to content

Buendia Virtual Machines

Rodrigo Gidra edited this page Sep 15, 2015 · 6 revisions

Buendia Virtual Machines

In order to expedite and facilitate the process of development and testing we are creating virtual machines ready for use.


Install Virtual Box

Download Virtual Box and install it in your machine following the instructions


Download Virtual Machine

Choose and Download a Virtual Machine Image:

  1. Buendia_Server_Ubuntu_i386 Buendia Server installed on Ubuntu 15.04 (Vivid Vervet) Server (Terminal Only Version ~1.6GB Zipped)

  2. (under construction) Buendia_Ubuntu_Dev Buendia Client development environment installed on Ubuntu 15.04 Desktop with Buendia Server, Buendia Client, Android Studio and IntelliJ.


Configure Virtual Machine

First unzip your VM.

  1. For Buendia_Server_Ubuntu_i386

You have two possibilities to configure your virtual machine:

  • Change the original Buendia_Server_Ubuntu_i386.vbox
  • Create a new virtual box that uses Buendia_Server_Ubuntu_i386.vdi

In both cases you have the following necessary configuration:

  • General>Basic>Type: Linux

  • General>Basic>Version: Ubuntu (32-bit)

  • Storage> Storage Tree>Controller:SATA> Buendia_Server_Ubuntu_i386.vdi

  • Network>Adapter1>ENABLE Network Adapter (checked)>attached to: Bridged Adapter

  • Network>Adapter1>ENABLE Network Adapter (checked)>MAC Address: (click the generate button on the right)

  • Network>Adapter1>ENABLE Network Adapter (checked)>Cable connected (checked)

  • System>Motherboard>Base Memory: (recommended at least 1GB)

  • Display>Screen>Video Memory: (doesn't requires much. it's a terminal only version)

Optional Configuration: Virtual box guest additions are installed in the VM so you can share clipboard, use drag and drop and so on.


Running OpenMRS in the VM

  • Start the VM

  • Login VM using user:buendia password:buendia

  • Run the openmrs_run script: /ProjectBuendia/buendia/tools/openmrs_run

Your VM is ready to be accessed from any machine in your network.


Acessing OpenMRS from VM Host

Ubuntu is configured for DHCP. So your IP can change.

Find out your VMs IP address: In the VM Guest open a terminal, run ifconfig and copy your IP Address.

Then in the VM Host, open a Browser and set the address bar to: http://IP_ADDRESS:9000/openmrs

User and password: buendia

Your are now accessing the openMRS web interface.


How Buendia_Server_Ubuntu_i386 VM was created

Installed Ubuntu 15.04 Server (32-bit) on a VM (32-bit VMs can run in 64-bit machines too)

followed the help.ubuntu.com installation guide

then followed the Buendia OpenMRS Module Server Installation Instructions

executed the following commands:

  • sudo apt-get install openjdk-7-jdk

  • sudo apt-get install maven

  • sudo apt-get install mysql-server

  • git clone https://github.com/projectbuendia/buendia

  • /buendia/tools/openmrs_setup dev

  • /buendia/tools/openmrs_build

Clone this wiki locally