Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

totalamateurhour/oracle-12.2-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

oracle-12.2-vagrant

A vagrant box that provisions Oracle Database 12c Release 2 automatically, using Vagrant, the latest Oracle Linux 7 box and a shell script.

Prerequisites

  1. Install Oracle VM VirtualBox
  2. Install Vagrant

Getting started

  1. Clone this repository git clone https://github.com/totalamateurhour/oracle-12.2-vagrant
  2. Change into version folder (12.2.0.1)
  3. First time only (see #5): Download the Oracle Database 12c Release 2 binaries linuxx64_12201_database.zip from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
  4. Run vagrant up
  5. The first time you run this it will provision everything and may take a while. Ensure you have a good internet connection!
  6. Connect to the database.
  7. You can shut down the box via the usual vagrant halt and the start it up again via vagrant up.

Connecting to Oracle

  • Hostname: localhost
  • Port: 1521
  • SID: ORCLCDB
  • PDB: ORCLPDB1
  • OEM port: 5500
  • All passwords are password

Acknowledgements

Based on @steveswinsburg's work here: https://github.com/steveswinsburg/oracle12c-vagrant

Other info

  • If you need to, you can connect to the machine via vagrant ssh.
  • You can sudo su - oracle to switch to the oracle user.
  • The Oracle installation path is /opt/oracle/ by default.
  • On the guest OS, the directory /vagrant is a shared folder and maps to wherever you have this file checked out.

Customization

You can customize your Oracle environment by amending the environment variables in the Vagrantfile file. The following can be customized:

  • ORACLE_BASE: /opt/oracle/
  • ORACLE_HOME: /opt/oracle/product/12.2.0.1/dbhome_1
  • ORACLE_SID: ORCLCDB
  • ORACLE_PDB: ORCLPDB1
  • ORACLE_CHARACTERSET: AL32UTF8

Known issues

None.

About

Oracle Database 12.2.0.1 installation scripts based on latest Oracle Linux 7 Vagrant box

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published