Step by step screenshots showing the installation of Virtual box and configuring pre-built Oracle Database 12.1.0.2 (including in-memory option). A quick way to get started on Oracle Database 12c. This is a very easy setup, though many do not know how easy it is to get started and playing with Oracle Database 12c on Linux platform using VirtualBox. Hopefully these screens will convince you to download and setup, and start playing with Database 12c and its various options. There are not many complicated steps to get this done, the screens are pretty much self-explanatory!
Automating Google Workspace (GWS) & more with Apps Script
Â
Oracle Database 12c pre built on virtual box
1. Oracle Database Pre-Built
12.1.0.2 Database on
VirtualBox
Step by step screenshots showing the installation of Virtual box and configuring
pre-built Oracle Database 12.1.0.2 (including in-memory option). A quick way to
get started on Oracle Database 12c. This is a very easy setup, though many do
not know how easy it is to get started and playing with Oracle Database 12c on
Linux platform using VirtualBox. Hopefully these screens will convince you to
download and setup, and start playing with Database 12c and its various
options. There are not many complicated steps to get this done, the screens are
pretty much self-explanatory!
First download and Install VirtualBox. Always download the latest and greatest
version.
Then download the pre-built Oracle Database 12c (12.1.0.2) Virtual Host Image
file, and import to VirtualBox.
By default the VM is configured to use only 1GB RAM. This is very low. If your
computer has memory, 4G or more for the VM would be really beneficial.
Will show screens on Starting the Virtual Host and using the database as well.
Good Luck learning Oracle Database 12c!
2. Install VirtualBox
Download VirtualBox Software
Go to https://www.virtualbox.org/
1. Click âDownloadsâ
2. Download latest version of VirtualBox available
3. Download corresponding Extension Pack
Install VirtualBox
Doubleclick on VirtualBox-<version>-Win.exe
3.
4.
5.
6.
7. Double-click on Extension Pack download file. Alternatively, you can choose to
download and install when VirtualBox starts.
Download Oracle Database Pre-Built VirtualBox Image
http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-
vm-161299.html
This virtual machine contains:
ï· Oracle Linux 7
ï· Oracle Database 12c Release 1 Enterprise Edition (12.1.0.2 with In-Memory Option)
ï· Oracle XML DB
ï· Oracle SQL Developer
ï· Oracle SQL Developer Data Modeler
ï· Oracle Application Express
ï· Hands-On-Labs (accessed via the Toolbar Menu in Firefox)
Wow! What else do you needâŠ? ï
Download VM Image â Oracle Login Required. It is almost 6GB file, so will take some
time to download.
8. Add Virtual Host to VirtualBox
On the File menu, choose Import Appliance.
Details are displayed
9. Change location of Disk Image if required. Adjust memory as well, or you can
adjust later.
Click Import.
Once import completes, the Machine appears on VirtualBox.
10. The disks are also visible
On the right side, details of the machine is displayed.
Let us increase the memory of the machine, if your laptop/desktop has enough
free memory. Make any other adjustments as you find suitable. All defaults work
just fine.
Click settings.
11. If you want any OS folder to be visible on the VM machine, add it to the Shared
Folder. For example, if you have downloaded software or you want to copy files
to the VM, it is easy to create shared folder.
The changes are reflected in the summary
12. Using the VM host for Oracle Database Learning
Now ready to start this machine.
Select the VM and Click Start.
Login as âoracleâ, password âoracleâ.
Start a terminal session, and view the readme.txt.
To start learning, view ODDHandsOnLabs.html file using firefox browser.
13. $ firefox ODDHandsOnLabs.html
Following training available:
ï· Oracle Database Track
o XML DB
o JSON
o SQL Developer
o SQL Developer Data Modeler
o Optimizer
ï· Oracle Application Express Track
o Oracle Application Express
ï· Database as a Service
o Getting Started with Oracle Database Cloud Service
ï· Application Development
o Soup to Nuts of Building an Application
Here is an example screen from Optimizer class:
14. The database is started automatically.
[oracle@localhost Desktop]$ env |grep ORACLE
ORACLE_SID=cdb1
ORACLE_HOME=/home/oracle/app/oracle/product/12.1.0/dbhome_1
[oracle@localhost Desktop]$ ps -ef |grep pmon
oracle 1634 1 0 22:05 ? 00:00:00 ora_pmon_cdb1
The shared folder added is also visible and mounted as /media/sf_Oracle12c.
Thus files on your local machine folder are visible in the VM.
Contents of readme.txt file is displayed when you loginâŠ
15. The database name running is âcdb1â. The TWO_TASK variable is set to âorclâ.
So, your âsqlplus / sysdbaâ fails. Unset the TWO_TASK variable to login as sysdba.
[oracle@localhost Desktop]$ sqlplus / as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Fri Jan 23 22:13:42 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name: ^C
[oracle@localhost Desktop]$ echo $TWO_TASK
orcl
[oracle@localhost Desktop]$ unset TWO_TASK
[oracle@localhost Desktop]$
[oracle@localhost Desktop]$ sqlplus / as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Fri Jan 23 22:14:24 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
SQL>
16. To use SQLDeveloper, start it using sqldeveloper.sh script.
$ cd sqldeveloper
Happy 12c learning!