Skip to content

Instantly share code, notes, and snippets.

@ddanailov-nmdp
Last active February 25, 2019 05:27
Show Gist options
  • Save ddanailov-nmdp/012eb4e73843c363fe22ab4ab67c6be1 to your computer and use it in GitHub Desktop.
Save ddanailov-nmdp/012eb4e73843c363fe22ab4ab67c6be1 to your computer and use it in GitHub Desktop.
Installing Oracle 11g on OS X 10.11 El Capitan

Installing Oracle 11g on OS X 10.11 El Capitan

  1. Download and install Vagrant
  2. Download and install VirtualBox
  3. Download and install Oracle SQL Developer
  4. Download the Oracle 11g zip file for Linux x64. Always download the Linux x64 zip file, even if you are on Windows or Mac OSX.
  5. Clone the vagrant-ubuntu-oracle-xe repository from GitHub
git clone git://github.com/hilverd/vagrant-ubuntu-oracle-xe
  1. Copy the Oracle 11g zip file to the directory vagrant-ubuntu-oracle-xe expects to find it in
cp <Download folder or etc.>/oracle-xe-11.2.0-1.0.x86_64.rpm.zip ~/vagrant-ubuntu-oracle-xe/modules/oracle/files
  1. Install vbguest
vagrant plugin install vagrant-vbguest
  1. Invoke Vagrant to install and configure Oracle 11g
cd <vagrant-ubuntu-oracle-xe folder>
vagrant up
  1. After a few minutes your local machine will be running an Oracle 11g server on a virtual instance of Ubuntu 14.04

  2. You should now be able to connect to the new database at localhost:1521/XE as system with password manager.

Demo: Oracle XE 11g on Ubuntu 14.04 using Vagrant : installation cast

Source:

@chnakamura
Copy link

Took a couple tries, I had to reinstall VirtualBox, but it worked eventually. Thanks!

@gsolano777
Copy link

Got this error when connecting through SQLDeveloper: "Status : Failure -Test failed: IO Error: Got minus one from a read call, connect lapse 0 ms., Authentication lapse 0 ms."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment