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

Unless otherwise stated, these boxes have the following specifications:

  • Provider: VirtualBox
  • 64 bit
  • 2 vCPUs
  • 2048 MB RAM
  • Minimal package set installed
  • 32 GB root volume
  • 4 GB swap
  • XFS root filesystem
  • Yum configured for Oracle's Yum server - yum.oracle.com

Box Description URL Size (MB) Last Updated MD5 Checksum
Oracle Linux 7.3
  • Guest additions 5.1.14
  • Kernel: 4.1.12-61.1.28.el7uek.x86_64
http://yum.oracle.com/boxes/oraclelinux/ol73/ol73.box 380 16-MAR-2017
e2bbb85d6d54a1221e4bb2ff07100941
Oracle Linux 6.8
  • Guest additions 5.1.12
  • Kernel: 4.1.12-61.1.34.el6uek.x86_64
http://yum.oracle.com/boxes/oraclelinux/ol68/ol68.box 349 19-APR-2017
da47d0c929dfc71bfa50a3f5f5066889
Oracle Linux 6.9
  • Guest additions 5.1.12
  • Kernel: 4.1.12-61.1.33.el6uek.x86_64
http://yum.oracle.com/boxes/oraclelinux/ol69/ol69.box 373 19-APR-2017
688fc1136b43679f0773ca350b713569

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

To verify the checksum of the downloaded box:

$ vagrant box add --name ol73 --checksum e2bbb85d6d54a1221e4bb2ff07100941 \
--checksum-type md5 http://yum.oracle.com/boxes/oraclelinux/ol73/ol73.box

Where can I get help with these Vagrant boxes?

These Vagrant Boxes are provided for free and without support. You may use the Oracle Linux Community, where other users are ready and willing to help.

Contact Us

software.hardware.complete