- Download and install Vagrant
- Download and install VirtualBox
- Download and install Oracle SQL Developer
- 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.
- Clone the vagrant-ubuntu-oracle-xe repository from GitHub
git clone git://github.com/hilverd/vagrant-ubuntu-oracle-xe
- 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
- Install vbguest
vagrant plugin install vagrant-vbguest
- Invoke Vagrant to install and configure Oracle 11g
cd <vagrant-ubuntu-oracle-xe folder>
vagrant up
-
After a few minutes your local machine will be running an Oracle 11g server on a virtual instance of Ubuntu 14.04
-
You should now be able to connect to the new database at
localhost:1521/XE
assystem
with passwordmanager
.
Demo: Oracle XE 11g on Ubuntu 14.04 using Vagrant : installation cast
Source:
Took a couple tries, I had to reinstall VirtualBox, but it worked eventually. Thanks!