Code Monkey home page Code Monkey logo

vagrant_oracle12's Introduction

vagrant_oracle12

A simple Vagrant virtual machine with Oracle Linux 7 + Oracle 12c EE with Multitenancy.

Installation

Download Oracle 12c installation files (2 zips, x86-64 version) from Oracle site and put them into orafiles/ directory.

Then run vagrant up.

What's inside

Provisioning scripts do the following:

  • Update the system
  • Install a bunch of useful packages (vim, git, Python)
  • Unzip and install the database
  • Create a container database
  • Setup the environment
  • Deploy PDB management script

Users and passwords

All Linux accounts (root, oracle, vagrant) and database accounts (sys, system) have password vagrant.

PDB management

/home/oracle/bin/pdb wraps some PDB management SQL commands. /home/oracle/bin is added to PATH of oracle and vagrant users, so you can just reference pdb.

$ pdb create foo      # Creates and opens a new PDB. Admin user is pdbsys/vagrant by default
                      # You can immediately connect with pdbsys/vagrant@//localhost/foo
Pluggable database created.
Pluggable database altered.
$ pdb clone foo boo   # Clones a PDB
Pluggable database created.
Pluggable database altered.
$ pdb ls              # Lists PDBs and their status
FOO			       READ WRITE
BOO			       READ WRITE
$ pdb drop boo        # Drops a PDB
Pluggable database altered.
Pluggable database dropped.

vagrant_oracle12's People

Contributors

kmehkeri avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

josh-bonello

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.