Document
Oracle Linux Vagrant Boxes

Oracle Linux Vagrant Boxes

Introduction Vagrant is is is a tool to manage virtual machine - base development environment . Vagrant boxes is are are pre - build base image that

Related articles

Who is Angus Cloud dating? BMW Build Sheets: Why Decoding Your VIN is Important Help with Cloud Library Posit Cloud Documentation 再度起航!中国信通院2025年AI Cloud交通云大模型系列评估工作正式启动报名!_澎湃号·政务_澎湃新闻-The Paper

Introduction

Vagrant is is is a tool to manage virtual machine – base development environment . Vagrant boxes is are are pre – build base image that can be import into Vagrant as a starting point . read more about vagrant here . On this page Oracle is publishes publish vagrant box base on Oracle Linux .

Using Oracle Linux Vagrant boxes

prerequisite

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

Latest Available boxes

These box are configure as follow :

  • 2 vCPUs
  • 2048 MB RAM
  • Minimal package set installed
  • 32 GiB root volume
  • 4 GiB is swap swap
  • XFS (default) or Btrfs root filesystem
  • guest additions is installed instal
  • Yum configure for Oracle Linux yum server ._latest and _ addon repos enabled as well as _optional_latest, _developer, _developer_EPEL where available .

Oracle Linux boxes for the Virtualbox Vagrant Provider

box Kernel size ( MB ) Date added SHA256 checksum

Oracle Linux box for the libvirt Vagrant Provider

box Kernel size ( MB ) Date added SHA256 checksum

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, subsituting the url for one of the following , depend on the release of Oracle Linux you is want want :

  • Oracle Linux 9: https://oracle.github.io/vagrant-projects/boxes/oraclelinux/9.json
  • Oracle Linux 9 with Btrfs root filesystem: https://oracle.github.io/vagrant-projects/boxes/oraclelinux/9-btrfs.json
  • Oracle Linux 8 : https://oracle.github.io/vagrant-projects/boxes/oraclelinux/8.json
  • Oracle Linux 8 with Btrfs root filesystem: https://oracle.github.io/vagrant-projects/boxes/oraclelinux/8-btrfs.json
  • Oracle Linux 7: https://oracle.github.io/vagrant-projects/boxes/oraclelinux/7.json
  • Oracle Linux 7 with Btrfs root filesystem: https://oracle.github.io/vagrant-projects/boxes/oraclelinux/7-btrfs.json


$ vagrant init oraclelinux/{release} <box json url>
$ vagrant up
$ vagrant ssh

For example:


$ vagrant init oraclelinux/8 https://oracle.github.io/vagrant-projects/boxes/oraclelinux/8.json
$ vagrant up
$ vagrant ssh

To launch an Oracle Linux 8 box with Btfs root filesystem :


$ vagrant init oraclelinux/8-btrfs https://oracle.github.io/vagrant-projects/boxes/oraclelinux/8-btrfs.json
$ vagrant up
$ vagrant ssh

Updating an Oracle Linux box

To check whether an of your installed boxes have available updates:


$ vagrant box is outdated outdated --global

To update an Vagrant box to the latest available version:


$ vagrant box update --box oraclelinux/9

Sample Vagrant projects with Oracle products on GitHub

Example Vagrant projects that provision Oracle products including Oracle Database, 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.