SlideShare a Scribd company logo
First, log in to Oracle Software Delivery Cloud, and search for the 12cR1 database software. Since I
am running a 64-bit OS, I chose Linux x86-64 as the platform for the search.

Click on the link titled "Oracle Database 12c Release 1 (12.1.0.1.0) Media Pack for Linux x86-64"
and download the two zip files titled "Oracle Database 12c Release 1 (12.1.0.1.0) for Linux x86-64
(Part 1 of 2)" and "Oracle Database 12c Release 1 (12.1.0.1.0) for Linux x86-64 (Part 2 of 2)" depending on your download speed, this may take a few hours.
Copy the two zip files from the host Windows machine into the guest Linux VM using the shared
folders defined in this previous post. As the oracle unix user, unzip the two zip files using the unzip
command, and a folder named "database" will be created. (If the unzip command reports errors, this
typically implies that the downloaded zip files are corrupt - you may have to download the zip files
again). On my machine, after unzipping the two files, I renamed the "database" folder to
"database_12c" for clarity.

Review the 12cR1 Linux Install Guide before proceeding with the installation. If you have a
previous/older Oracle install on the VM server, ensure that you backup the oraInventory directory
before proceeding. The location of this directory is documented in file /etc/oraInst.loc.
Start the install by executing the "runInstaller" script.
On the first install screen, provide your My Oracle Support credentials if you have them. For the
purposes of this install, I chose not to use this feature. Click Next button.
Click Yes to confirm
Again, for the purposes of this blog post, I chose to skip software updates.
Choose the default option to create and configure a database, then click Next. (Alternatively, you
can choose to install the software only, then create a database later using the DBCA utility)
Choose Desktop Class, then click Next. (Desktop Class is defined in the Install Guide)
Enter the paths for "Oracle base", "Software location" and "Database file location" as appropriate.
Choose "Enterprise Edition" for the edition and AL32UTF8 for the characterset. Choose and
appropriate "Global database name" and strong passwords. Check the box to create container and
pluggable database. Understand the multitenant conceptbefore proceeding. Click Next.
Ensure that you provide a strong admin password. For this blog post, I chose a simple password click Yes to continue.
Review the Summary screen, and if everything is as expected, click the Install button.
The Installer will then proceed with the installation process.
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
You will be prompted to execute the root.sh script as root.
Run the root.sh script in a separate terminal window as instructed - use the default prompt for the
"local bin directory" variable, then choose to overwrite the 3 environment files (this will happen only if
these files are present from a previous install).
Close the root terminal window, then click OK on the Installer screen. The database configuration
process will start. This process may take a while depending on your VM configuration.
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
When the 12cR1 database creation process is complete, you will see
Note that all seeded database accounts except for SYS and SYSTEM are locked. You can choose
to unlock them at this point (click on Password Management button), or accounts can be unlcoked
later manually. Click OK, then click Close to exit the installer.
Set these environment variables
#
#
#
#
#

export
export
export
export
export

ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1
ORACLE_SID=orcl12c1
PATH=$ORACLE_HOME/bin:$PATH
TNS_ADMIN=$ORACLE_HOME/network/admin

and then connect to the container database by issuing command
# sqlplus / as sysdba
and query the database name
select database_name from v$database;
We have successfully connected to the container database (CDB). Next, we need to open the
pluggable database (PDB) "pdborcl" created as part of this install. Note that PDBs are not opened
automatically after a CDB is started.
Issue command "alter pluggable database pdborcl open read write" to open the PDB database.
Edit the tnsnames.ora file (found in $TNS_ADMIN directory) and add a TNS entry for the PDB
pdborcl. The service name in the entry should point to the PDB (pdborcl.localdomain in this case).
Exit out of the CDB connection and connect to the PDB using the syntax
# sqlplus<username>/<password>@<pdb_tns_alias>
Verify that you have connected to the PDB by issuing command
show con_name
Installing 12c R1 database on oracle linux
Ad

Recommended

fast_bitcoin_data_mining
fast_bitcoin_data_mining
Jason Papapanagiotakis
 
patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack
David McNish
 
Oracle11g notes
Oracle11g notes
Manish Mudhliyar
 
Database administration commands
Database administration commands
Varsha Ajith
 
SQL2SPARQL
SQL2SPARQL
Alexandru Dron
 
Oracle ORA Errors
Oracle ORA Errors
Manish Mudhliyar
 
Download Presentation
Download Presentation
webhostingguy
 
Database mirroring setup
Database mirroring setup
K Singh
 
10 resource kit remote administration tools
10 resource kit remote administration tools
Duggesh Talawar
 
Pluggable database tutorial 2
Pluggable database tutorial 2
Osama Mustafa
 
Oracle business intelligence enterprise edition 11g
Oracle business intelligence enterprise edition 11g
uzzal basak
 
Pluggable database 3
Pluggable database 3
Osama Mustafa
 
SQL Database Mirroring setup
SQL Database Mirroring setup
Kamaljeet Singh Matharu (Kam)
 
Mirroring in SQL Server 2012 R2
Mirroring in SQL Server 2012 R2
Mahesh Dahal
 
Oracle backup
Oracle backup
Ravi Kumar Lanke
 
161 Rac
161 Rac
Emanuel Mateus
 
Part1 create sequence,dual table
Part1 create sequence,dual table
Girija Muscut
 
How to protect your sensitive data using oracle database vault / Creating and...
How to protect your sensitive data using oracle database vault / Creating and...
Anar Godjaev
 
DataPump ile Single Parititon Export
DataPump ile Single Parititon Export
Anar Godjaev
 
Oracle SQL
Oracle SQL
Anar Godjaev
 
Oracle Golden Gate
Oracle Golden Gate
Anar Godjaev
 
Veri̇tabani ve Kullanici Yöneti̇mi̇
Veri̇tabani ve Kullanici Yöneti̇mi̇
Anar Godjaev
 
Contraints
Contraints
Anar Godjaev
 
Fiziksel Standby Database Kurulum
Fiziksel Standby Database Kurulum
Anar Godjaev
 
Instance ve Media Bozukluklarını Inceleme
Instance ve Media Bozukluklarını Inceleme
Anar Godjaev
 
Conditional Control
Conditional Control
Anar Godjaev
 
Redologlar ve Yöneti̇mi̇
Redologlar ve Yöneti̇mi̇
Anar Godjaev
 
Tuning SGA
Tuning SGA
Anar Godjaev
 
Geliştiriciler için Oracle_Part_2
Geliştiriciler için Oracle_Part_2
Anar Godjaev
 

More Related Content

What's hot (9)

10 resource kit remote administration tools
10 resource kit remote administration tools
Duggesh Talawar
 
Pluggable database tutorial 2
Pluggable database tutorial 2
Osama Mustafa
 
Oracle business intelligence enterprise edition 11g
Oracle business intelligence enterprise edition 11g
uzzal basak
 
Pluggable database 3
Pluggable database 3
Osama Mustafa
 
SQL Database Mirroring setup
SQL Database Mirroring setup
Kamaljeet Singh Matharu (Kam)
 
Mirroring in SQL Server 2012 R2
Mirroring in SQL Server 2012 R2
Mahesh Dahal
 
Oracle backup
Oracle backup
Ravi Kumar Lanke
 
161 Rac
161 Rac
Emanuel Mateus
 
Part1 create sequence,dual table
Part1 create sequence,dual table
Girija Muscut
 
10 resource kit remote administration tools
10 resource kit remote administration tools
Duggesh Talawar
 
Pluggable database tutorial 2
Pluggable database tutorial 2
Osama Mustafa
 
Oracle business intelligence enterprise edition 11g
Oracle business intelligence enterprise edition 11g
uzzal basak
 
Pluggable database 3
Pluggable database 3
Osama Mustafa
 
Mirroring in SQL Server 2012 R2
Mirroring in SQL Server 2012 R2
Mahesh Dahal
 
Part1 create sequence,dual table
Part1 create sequence,dual table
Girija Muscut
 

Viewers also liked (17)

How to protect your sensitive data using oracle database vault / Creating and...
How to protect your sensitive data using oracle database vault / Creating and...
Anar Godjaev
 
DataPump ile Single Parititon Export
DataPump ile Single Parititon Export
Anar Godjaev
 
Oracle SQL
Oracle SQL
Anar Godjaev
 
Oracle Golden Gate
Oracle Golden Gate
Anar Godjaev
 
Veri̇tabani ve Kullanici Yöneti̇mi̇
Veri̇tabani ve Kullanici Yöneti̇mi̇
Anar Godjaev
 
Contraints
Contraints
Anar Godjaev
 
Fiziksel Standby Database Kurulum
Fiziksel Standby Database Kurulum
Anar Godjaev
 
Instance ve Media Bozukluklarını Inceleme
Instance ve Media Bozukluklarını Inceleme
Anar Godjaev
 
Conditional Control
Conditional Control
Anar Godjaev
 
Redologlar ve Yöneti̇mi̇
Redologlar ve Yöneti̇mi̇
Anar Godjaev
 
Tuning SGA
Tuning SGA
Anar Godjaev
 
Geliştiriciler için Oracle_Part_2
Geliştiriciler için Oracle_Part_2
Anar Godjaev
 
Asm disk group migration from
Asm disk group migration from
Anar Godjaev
 
Audit Mekani̇zmasi
Audit Mekani̇zmasi
Anar Godjaev
 
Wait Interface
Wait Interface
Anar Godjaev
 
PL/SQL Blocks
PL/SQL Blocks
Anar Godjaev
 
How to protect your sensitive data using oracle database vault / Creating and...
How to protect your sensitive data using oracle database vault / Creating and...
Anar Godjaev
 
DataPump ile Single Parititon Export
DataPump ile Single Parititon Export
Anar Godjaev
 
Oracle Golden Gate
Oracle Golden Gate
Anar Godjaev
 
Veri̇tabani ve Kullanici Yöneti̇mi̇
Veri̇tabani ve Kullanici Yöneti̇mi̇
Anar Godjaev
 
Fiziksel Standby Database Kurulum
Fiziksel Standby Database Kurulum
Anar Godjaev
 
Instance ve Media Bozukluklarını Inceleme
Instance ve Media Bozukluklarını Inceleme
Anar Godjaev
 
Conditional Control
Conditional Control
Anar Godjaev
 
Redologlar ve Yöneti̇mi̇
Redologlar ve Yöneti̇mi̇
Anar Godjaev
 
Geliştiriciler için Oracle_Part_2
Geliştiriciler için Oracle_Part_2
Anar Godjaev
 
Asm disk group migration from
Asm disk group migration from
Anar Godjaev
 
Audit Mekani̇zmasi
Audit Mekani̇zmasi
Anar Godjaev
 
Ad

Similar to Installing 12c R1 database on oracle linux (20)

Oracle database 12c client installation guide 3
Oracle database 12c client installation guide 3
bupbechanhgmail
 
Oracle database 12c client quick installation guide 3
Oracle database 12c client quick installation guide 3
bupbechanhgmail
 
Oracle database 12c client quick installation guide
Oracle database 12c client quick installation guide
bupbechanhgmail
 
Asian Spirit 3 Day Dba On Ubl
Asian Spirit 3 Day Dba On Ubl
newrforce
 
WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation
K Kumar Guduru
 
Soa bpm standalone_installation
Soa bpm standalone_installation
K Kumar Guduru
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
K Kumar Guduru
 
Oracle database 12c client quick installation guide 8
Oracle database 12c client quick installation guide 8
bupbechanhgmail
 
Oracle database 12c client installation guide 6
Oracle database 12c client installation guide 6
bupbechanhgmail
 
Oracle 12cR2 Installation On Linux With ASM
Oracle 12cR2 Installation On Linux With ASM
Arun Sharma
 
Data Warehousing Practical for T.Y.I.T.
Data Warehousing Practical for T.Y.I.T.
Niraj Bharambe
 
E56576 01
E56576 01
Wilfred Mbithi Luvai
 
Oracle11g on fedora14
Oracle11g on fedora14
Khalid Matar Albuflasah
 
Oracle11g On Fedora14
Oracle11g On Fedora14
kmsa
 
Oracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create Database
Monowar Mukul
 
Oracle database 12c client quick installation guide 4
Oracle database 12c client quick installation guide 4
bupbechanhgmail
 
Oracle database 12c client installation guide 2
Oracle database 12c client installation guide 2
bupbechanhgmail
 
Oracle database 12c client quick installation guide 2
Oracle database 12c client quick installation guide 2
bupbechanhgmail
 
Oracle database 12c client installation guide 4
Oracle database 12c client installation guide 4
bupbechanhgmail
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1
Voeurng Sovann
 
Oracle database 12c client installation guide 3
Oracle database 12c client installation guide 3
bupbechanhgmail
 
Oracle database 12c client quick installation guide 3
Oracle database 12c client quick installation guide 3
bupbechanhgmail
 
Oracle database 12c client quick installation guide
Oracle database 12c client quick installation guide
bupbechanhgmail
 
Asian Spirit 3 Day Dba On Ubl
Asian Spirit 3 Day Dba On Ubl
newrforce
 
WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation
K Kumar Guduru
 
Soa bpm standalone_installation
Soa bpm standalone_installation
K Kumar Guduru
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
K Kumar Guduru
 
Oracle database 12c client quick installation guide 8
Oracle database 12c client quick installation guide 8
bupbechanhgmail
 
Oracle database 12c client installation guide 6
Oracle database 12c client installation guide 6
bupbechanhgmail
 
Oracle 12cR2 Installation On Linux With ASM
Oracle 12cR2 Installation On Linux With ASM
Arun Sharma
 
Data Warehousing Practical for T.Y.I.T.
Data Warehousing Practical for T.Y.I.T.
Niraj Bharambe
 
Oracle11g On Fedora14
Oracle11g On Fedora14
kmsa
 
Oracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create Database
Monowar Mukul
 
Oracle database 12c client quick installation guide 4
Oracle database 12c client quick installation guide 4
bupbechanhgmail
 
Oracle database 12c client installation guide 2
Oracle database 12c client installation guide 2
bupbechanhgmail
 
Oracle database 12c client quick installation guide 2
Oracle database 12c client quick installation guide 2
bupbechanhgmail
 
Oracle database 12c client installation guide 4
Oracle database 12c client installation guide 4
bupbechanhgmail
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1
Voeurng Sovann
 
Ad

More from Anar Godjaev (16)

Oracle GoldenGate
Oracle GoldenGate
Anar Godjaev
 
how to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vault
Anar Godjaev
 
Database Vault / Verinin Güvenliği
Database Vault / Verinin Güvenliği
Anar Godjaev
 
Oracle 10g Database Server Kurulum
Oracle 10g Database Server Kurulum
Anar Godjaev
 
Parallel Server
Parallel Server
Anar Godjaev
 
Table Partitions
Table Partitions
Anar Godjaev
 
Backup and Recovery
Backup and Recovery
Anar Godjaev
 
Memory Management
Memory Management
Anar Godjaev
 
LogMiner
LogMiner
Anar Godjaev
 
Undo Management
Undo Management
Anar Godjaev
 
ASM
ASM
Anar Godjaev
 
Oracle Managed Files
Oracle Managed Files
Anar Godjaev
 
Recovery Manager (RMAN)
Recovery Manager (RMAN)
Anar Godjaev
 
Oracle Enterprise Linux 5
Oracle Enterprise Linux 5
Anar Godjaev
 
Oracle Database 11g R2 Installation
Oracle Database 11g R2 Installation
Anar Godjaev
 
Change DB Name
Change DB Name
Anar Godjaev
 
how to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vault
Anar Godjaev
 
Database Vault / Verinin Güvenliği
Database Vault / Verinin Güvenliği
Anar Godjaev
 
Oracle 10g Database Server Kurulum
Oracle 10g Database Server Kurulum
Anar Godjaev
 
Backup and Recovery
Backup and Recovery
Anar Godjaev
 
Oracle Managed Files
Oracle Managed Files
Anar Godjaev
 
Recovery Manager (RMAN)
Recovery Manager (RMAN)
Anar Godjaev
 
Oracle Enterprise Linux 5
Oracle Enterprise Linux 5
Anar Godjaev
 
Oracle Database 11g R2 Installation
Oracle Database 11g R2 Installation
Anar Godjaev
 

Recently uploaded (20)

ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
 
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
 
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
OpenPOWER Foundation & Open-Source Core Innovations
OpenPOWER Foundation & Open-Source Core Innovations
IBM
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
 
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
 
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
OpenPOWER Foundation & Open-Source Core Innovations
OpenPOWER Foundation & Open-Source Core Innovations
IBM
 

Installing 12c R1 database on oracle linux

  • 1. First, log in to Oracle Software Delivery Cloud, and search for the 12cR1 database software. Since I am running a 64-bit OS, I chose Linux x86-64 as the platform for the search. Click on the link titled "Oracle Database 12c Release 1 (12.1.0.1.0) Media Pack for Linux x86-64"
  • 2. and download the two zip files titled "Oracle Database 12c Release 1 (12.1.0.1.0) for Linux x86-64 (Part 1 of 2)" and "Oracle Database 12c Release 1 (12.1.0.1.0) for Linux x86-64 (Part 2 of 2)" depending on your download speed, this may take a few hours. Copy the two zip files from the host Windows machine into the guest Linux VM using the shared folders defined in this previous post. As the oracle unix user, unzip the two zip files using the unzip command, and a folder named "database" will be created. (If the unzip command reports errors, this typically implies that the downloaded zip files are corrupt - you may have to download the zip files again). On my machine, after unzipping the two files, I renamed the "database" folder to "database_12c" for clarity. Review the 12cR1 Linux Install Guide before proceeding with the installation. If you have a previous/older Oracle install on the VM server, ensure that you backup the oraInventory directory before proceeding. The location of this directory is documented in file /etc/oraInst.loc. Start the install by executing the "runInstaller" script.
  • 3. On the first install screen, provide your My Oracle Support credentials if you have them. For the purposes of this install, I chose not to use this feature. Click Next button.
  • 4. Click Yes to confirm
  • 5. Again, for the purposes of this blog post, I chose to skip software updates.
  • 6. Choose the default option to create and configure a database, then click Next. (Alternatively, you can choose to install the software only, then create a database later using the DBCA utility)
  • 7. Choose Desktop Class, then click Next. (Desktop Class is defined in the Install Guide)
  • 8. Enter the paths for "Oracle base", "Software location" and "Database file location" as appropriate. Choose "Enterprise Edition" for the edition and AL32UTF8 for the characterset. Choose and appropriate "Global database name" and strong passwords. Check the box to create container and pluggable database. Understand the multitenant conceptbefore proceeding. Click Next.
  • 9. Ensure that you provide a strong admin password. For this blog post, I chose a simple password click Yes to continue.
  • 10. Review the Summary screen, and if everything is as expected, click the Install button.
  • 11. The Installer will then proceed with the installation process.
  • 16. You will be prompted to execute the root.sh script as root.
  • 17. Run the root.sh script in a separate terminal window as instructed - use the default prompt for the "local bin directory" variable, then choose to overwrite the 3 environment files (this will happen only if these files are present from a previous install).
  • 18. Close the root terminal window, then click OK on the Installer screen. The database configuration process will start. This process may take a while depending on your VM configuration.
  • 24. When the 12cR1 database creation process is complete, you will see
  • 25. Note that all seeded database accounts except for SYS and SYSTEM are locked. You can choose to unlock them at this point (click on Password Management button), or accounts can be unlcoked later manually. Click OK, then click Close to exit the installer.
  • 26. Set these environment variables # # # # # export export export export export ORACLE_BASE=/u01/app/oracle ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1 ORACLE_SID=orcl12c1 PATH=$ORACLE_HOME/bin:$PATH TNS_ADMIN=$ORACLE_HOME/network/admin and then connect to the container database by issuing command # sqlplus / as sysdba and query the database name select database_name from v$database;
  • 27. We have successfully connected to the container database (CDB). Next, we need to open the pluggable database (PDB) "pdborcl" created as part of this install. Note that PDBs are not opened automatically after a CDB is started. Issue command "alter pluggable database pdborcl open read write" to open the PDB database.
  • 28. Edit the tnsnames.ora file (found in $TNS_ADMIN directory) and add a TNS entry for the PDB pdborcl. The service name in the entry should point to the PDB (pdborcl.localdomain in this case).
  • 29. Exit out of the CDB connection and connect to the PDB using the syntax # sqlplus<username>/<password>@<pdb_tns_alias> Verify that you have connected to the PDB by issuing command show con_name