Preparing VirtualBox machines with Linux

Many Linux-based operating systems have decent support for virtualization using VirtualBox. They also usually have an OpenSSH client and server preinstalled or available in the main packages repository.

In this recipe, we will set up an Ubuntu Linux virtual machine that can be used for automated OpenJDK builds.

Getting ready

For this recipe, we will require the Ubuntu 12.04 amd64 operating system with VirtualBox installed and a virtual network interface configured.

How to do it...

The following procedure will help us to prepare the Linux virtual machine:

  1. Prepare the SSH keys as described in the recipe Preparing SSH keys.
  2. Download the Ubuntu 12.04 server amd64 image from the Ubuntu website (http://www.ubuntu.com/ ...

Get OpenJDK Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.