The fastest and easiest way to setup your own local Oracle Development environment is by using the "Oracle Technology Network Developer Day" Database Virtual Box Appliance.
- Oracle Linux 7
- Oracle Database 12c (22.214.171.124) EE (CDB/PDB)
- Oracle Rest Data Services (ORDS)
- Oracle Application Express (APEX)
- Oracle SQL Developer and Oracle SQL Developer Data Modeler
Step 2: Download the VM image that contains all the pieces you need
Step 3: Import the VM: File > Import Appliance
You can now start using the VM.
Some extra steps I did was adding a Shared folder and setup the Network connection
Once you add the Shared Folder open up a Terminal in your VM and type: "mount -t vboxsf Downloads /mnt" (Downloads is my OSX Downloads folder and /mnt is my mount directory in VirtualBox), that makes it easier to transfer files to the VM.
The nice thing with this VM is that everything is ready to be used and it includes labs, so you can do some exercises too and there's even a reset script to put everything back how it was.
Exercises are available for: Database 12c (including JSON, XML DB, ...), SQL Developer, APEX, REST Data Services and Cloud Services.
Who said installing Oracle was hard? :)