Book Image

OpenJDK Cookbook

Book Image

OpenJDK Cookbook

Overview of this book

Table of Contents (20 chapters)
OpenJDK Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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/).

  3. In VirtualBox, create a virtual machine instance using the IDE storage controller and default values for other settings.

  4. Install Ubuntu on to the virtual machine, set up networking as described in the recipe, Installing VirtualBox, and boot the virtual...