SlideShare une entreprise Scribd logo
1  sur  16
Télécharger pour lire hors ligne
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!
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
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.
Add Virtual Host to VirtualBox
On the File menu, choose Import Appliance.
Details are displayed
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.
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.
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
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.
$ 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:
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…
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>
To use SQLDeveloper, start it using sqldeveloper.sh script.
$ cd sqldeveloper
Happy 12c learning!

Contenu connexe

Plus de Biju Thomas

Plus de Biju Thomas (11)

Notes from #OOW19
Notes from #OOW19Notes from #OOW19
Notes from #OOW19
 
GLOC 2014 NEOOUG - Oracle Database 12c New Features
GLOC 2014 NEOOUG - Oracle Database 12c New FeaturesGLOC 2014 NEOOUG - Oracle Database 12c New Features
GLOC 2014 NEOOUG - Oracle Database 12c New Features
 
GLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
GLOC 2014 NEOOUG - R12 Upgrade Downtime ReductionGLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
GLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
 
Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1
Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1
Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1
 
OTech magazine article - Principle of Least Privilege
OTech magazine article - Principle of Least PrivilegeOTech magazine article - Principle of Least Privilege
OTech magazine article - Principle of Least Privilege
 
Create non-cdb (traditional) oracle database 12c on windows
Create non-cdb (traditional) oracle database 12c on windowsCreate non-cdb (traditional) oracle database 12c on windows
Create non-cdb (traditional) oracle database 12c on windows
 
Install oracle database 12c software on windows
Install oracle database 12c software on windowsInstall oracle database 12c software on windows
Install oracle database 12c software on windows
 
2008 Collaborate IOUG Presentation
2008 Collaborate IOUG Presentation2008 Collaborate IOUG Presentation
2008 Collaborate IOUG Presentation
 
2009 Collaborate IOUG Presentation
2009 Collaborate IOUG Presentation2009 Collaborate IOUG Presentation
2009 Collaborate IOUG Presentation
 
2011 Collaborate IOUG Presentation
2011 Collaborate IOUG Presentation2011 Collaborate IOUG Presentation
2011 Collaborate IOUG Presentation
 
2013 Collaborate - OAUG - Presentation
2013 Collaborate - OAUG - Presentation2013 Collaborate - OAUG - Presentation
2013 Collaborate - OAUG - Presentation
 

Dernier

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

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!