Introduction

Vagrant is a tool to manage virtual machine-based development environments. Vagrant Boxes are pre-built base images that can be imported into Vagrant as a starting point. Read more about Vagrant here. On this page Oracle publishes Vagrant boxes based on Oracle Linux.

Using Oracle Linux Vagrant boxes

Prerequisites

You will need the following software installed on your machine. Check the minimum required versions in the Vagrant Box description.

Available Boxes

These boxes are configired as follows:

Box Description URL Size (MB) Last Updated SHA256 Checksum
Oracle Linux 7.5
  • Kernel: 4.1.12-124.14.1.el7uek.x86_64
http://yum.oracle.com/boxes/oraclelinux/ol75/ol75.box 441 24-APR-2018
b0d4134d47e94be0bafbec0a36117f4bec46e51c8cfcebb531d479e503c4b1aa
Oracle Linux 6.9
  • Kernel: 4.1.12-112.16.4.el6uek.x86_64
http://yum.oracle.com/boxes/oraclelinux/ol69/ol69.box 330 23-MAR-2018
2d0a699a80a265a420710c351d98a27d14c3646538c8f2203ae488c2ed447ea8

Adding, downloading and starting the Oracle Linux Vagrant Box

Create a working directory for your development project and from within that directory, issue the following commands, substituting <name> and <url> as appropriate.

$ vagrant box add --name <name> <url>
$ vagrant init <name>
$ vagrant up
$ vagrant ssh

For example:

$ vagrant box add --name ol75 http://yum.oracle.com/boxes/oraclelinux/ol75/ol75.box
$ vagrant init ol75
$ vagrant up
$ vagrant ssh

To verify the checksum of the downloaded box:

$ vagrant box add --name ol75 --checksum b0d4134d47e94be0bafbec0a36117f4bec46e51c8cfcebb531d479e503c4b1aa \
--checksum-type sha256 http://yum.oracle.com/boxes/oraclelinux/ol75/ol75.box

Durable Locations for Latest Oracle Linux 6 and Oracle Linux 7 Vagrant Boxes

The latest release of each Oracle Linux Vagrant Box is always available here:

Sample Vagrantfiles with Oracle products on GitHub

Example Vagrantfiles that provision Oracle products including Oracle Database 12c are available on github.com/oracle

Where can I get help with these Vagrant boxes?

These Vagrant Boxes are provided as is, free of charge and without support from Oracle. Peer support is available in the Oracle Linux space on the Oracle Developer Community.

Contact Us

software.hardware.complete