Oracle NoSQL Database — How to run NoSQL Database Community Edition with a VirtualBox VM
Introduction
Oracle recently announced the availability of Oracle NoSQL Database Community Edition as a Virtual Machine, one that you can run with Oracle VirtualBox in an easy way.
The great advantage of running a local Oracle NoSQL Database is represented by the cost savings that result from not being required to have a cloud environment during your development time hours.
You can use your local NoSQL database and then upload your software components to Oracle Cloud, where they can connect to an enterprise, cloud production NoSQL database.
Oracle has adopted the same approach with several new services, software components, and solutions.
As an example, the FN Project allows one to run a serverless environment locally, one that you can use to test your serverless components locally. That way, you are not required to be connected to the remote serverless cloud components during development time. That helps your company save money!
So, I decided to give it a try as well, the steps are described below. It’s quite easy indeed to install and run it and after that, you will have a full-fledged, enterprise NoSQL database up and running for your projects!
So without further ado, it’s time to start the NoSQL journey!
Download the VM image
Download the files that will compose the VM image (.ova file)
Now you can download the files from the link “Oracle VM (.ova file) Available with NoSQL Database Community Edition”
In order to run it from VirtualBox, just extract the four files, as usual, that will create the .ova file that you can use to run in VirtualBox.
The VM includes the following software components:
Oracle NoSQL Database Community Edition 4.3
Oracle Java 1.8
Oracle Linux 7.4
Run a VM instance
In order to run it, open Oracle VirtualBox:
Then select File -> Import Appliance. Select the appliance (.ova file) to import, as usual, and click the Open button:
Then on the configuration flow screen below, click the Next button.
Select the checkbox Reinitialize MAC address of all network cards.
Click the Import button:
Agree with the license terms.
The import procedure will start, and a progress bar will show the import status, so you just need to wait until it completes.
As soon as it completes, you will see the VM listed as OracleNoSQLCE-4.3–12.2017.
You can now run it as any other VM in VirtualBox. In case you want, you can adjust the Settings, as usual, just right-click the VM and select Settings.
Select the VM and click the Start button at the top:
The initial user ID is NoSQL and the default password is Oracle2017.
Wrapping up
Done! Your VM with Oracle NoSQL Database is now up and running!!!
The next blog posts will explore some features of the Oracle NoSQL Database. Stay tuned!
Oracle Developers and Oracle OCI Free Tier
Join our Oracle Developers channel on Slack to discuss Microservices, Java, JDBC, Oracle Cloud Infrastructure, Oracle Database, and other topics!
Build, test, and deploy your applications on Oracle Cloud — for free! Get access to OCI Cloud Free Tier!