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 configured as follows:

Box Kernel URL Size (MB) Last Updated SHA256 Checksum
Oracle Linux 8.1 4.18.0-147.el8.x86_64 https://yum.oracle.com/boxes/oraclelinux/ol81/ol81.box 774 19-FEB-2020
3e64f00ab19e64e7652ba64b8741895cbefdf2b1ab2d2d5c59fdf38dc74685f6
Oracle Linux 7.7 4.14.35-1902.10.7.el7uek.x86_64 https://yum.oracle.com/boxes/oraclelinux/ol77/ol77.box 546 19-FEB-2020
71a6f7088d6c0ab037684afe0a0e0cc3935c9b775a26fae79d0310892af48efe
Oracle Linux 6.10 4.1.12-124.24.5.el6uek.x86_64 https://yum.oracle.com/boxes/oraclelinux/ol610/ol610.box 396 19-APR-2019
12bfc9804ca37a96b633db3cdc5a2277f68170a74780a92b09180a6ebd79a1bd

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 ol77 https://yum.oracle.com/boxes/oraclelinux/ol77/ol77.box
$ vagrant init ol77
$ vagrant up
$ vagrant ssh

To verify the checksum of the downloaded box:

$ vagrant box add --name ol77 --checksum 71a6f7088d6c0ab037684afe0a0e0cc3935c9b775a26fae79d0310892af48efe \
--checksum-type sha256 https://yum.oracle.com/boxes/oraclelinux/ol77/ol77.box

Durable Locations for Latest Oracle Linux 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 19c, Oracle Dataguard, Oracle Real Application Clusters, Oracle Container Services for Kubernetes, and more 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