Installing ubuntu development environment in virtual box

kej edited this page Aug 22, 2012 · 9 revisions

back to For developers

Install Ubuntu within Virtual Box

Virtual Box allows you to simulate a computer runing in a window. Therein we'll install Ubuntu as some parts of befdata need a Linux environment to work.

Download and install Virtual Box

  1. Go to the Virtual Box Download Page

  2. Download the files for your platform. You will need the

  • VirtualBox platform packages

  • VirtualBox Oracle VM VirtualBox Extension Pack (needed for fancy stuff like neatless copy and paste between host and guest system or shared folders)

  1. Install the VirtualBox platform packages

  2. Start VirtualBox (just starting, creating a new box comes further down)

  3. Install the Extension Pack by Double-Clicking it, and follow the steps on the screen

Download Ubuntu CD

Here we go for Xubuntu which is kind of lightweight and uses a more classic interface.

  1. Select your country (or one close to it) at this page

  2. Download PC (Intel x86) desktop CD

Setting up the virtual Machine

Create a new Virtual Machine

  1. Start VirtualBox and click New

  2. Give you machine a name and as type choose Linux - Ubuntu

  3. Assign a certain amount of RAM to the Machine, bottomline 1000MB, around 2000MB are cool

  4. Create a Virtual Hard Disk, go with the defaults until you are asked for the location and size

  5. Select a place to store the virtual HardDrive, set the size to something between 12 and 20 GB

  6. Follow the steps until the wizard is away and your new Virtual machine appears on the left.

Configure the VM

  1. Rightclick on the VM -> Edit (this was settings for me)

  2. go to Mass Storage (this was Storage for me)

  3. select the empty CD beneath the IDE-Controller

  4. In the Attributes section on the right click the small CD icon right of 'CD/DVD Drive'

  5. Select and Choose a file for the Virtual Drive - choose the downloaded Ubuntu image file

  6. Click OK and then start the VM

Install XUbuntu within the VM

The Virtual Machine should now boot from the Ubuntu install CD. Choose to install Xubuntu and go with the defaults.

When the install is finished the VM will reboot and you can go with that guide, but be careful when it comes to the x64 specific settings.

Configuring an Ubuntu development machine