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

More Related Content

What's hot (9)

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

Viewers also liked (17)

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

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

DOCX
Installation of oracle 12c RAC on linux vm
Ron Morgan
 
DOCX
Obia11.1.1.10.1 installation and configuration on Unix platform
Sheikh Zakirulla
 
PDF
154090896 installation-of-oracle-database-12c
Venkatesh Ramiya Krishnamoorthy
 
PDF
Installing d space on windows
Bibliounivbtn
 
PPTX
Dspace for windows
Ravi Bankar
 
PDF
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
yoonus ch
 
PPTX
Lecture 1 sql {installation &amp; uninstallation}
Shubham Shukla
 
PDF
Oracle database 12c client quick installation guide 7
bupbechanhgmail
 
PDF
Oracle 10g Installation
sasidharreddilingala
 
PDF
Installation of oracle
RamanRai18
 
PDF
Oracle 10g installation_guide
Daila Carmona
 
PDF
Oracle 12cR2 Installation On Oracle Linux 7
Arun Sharma
 
PDF
Installing oracle grid infrastructure and database 12c r1
Voeurng Sovann
 
DOCX
Oracle 12cR2 RAC Database Software Installation and Create Database
Monowar Mukul
 
PDF
Oracle database 12c client quick installation guide 8
bupbechanhgmail
 
PDF
Oracle ebs-r12-1-3installationlinux64bit
Ravi Kumar Lanke
 
PDF
E56576 01
Wilfred Mbithi Luvai
 
PDF
Installing oracle database 12c as container database with three pluggable dat...
Marco Vigelini
 
PDF
12c installation
Osama Mustafa
 
PDF
InstallationGuide.pdf
sahirzakaria
 
Installation of oracle 12c RAC on linux vm
Ron Morgan
 
Obia11.1.1.10.1 installation and configuration on Unix platform
Sheikh Zakirulla
 
154090896 installation-of-oracle-database-12c
Venkatesh Ramiya Krishnamoorthy
 
Installing d space on windows
Bibliounivbtn
 
Dspace for windows
Ravi Bankar
 
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
yoonus ch
 
Lecture 1 sql {installation &amp; uninstallation}
Shubham Shukla
 
Oracle database 12c client quick installation guide 7
bupbechanhgmail
 
Oracle 10g Installation
sasidharreddilingala
 
Installation of oracle
RamanRai18
 
Oracle 10g installation_guide
Daila Carmona
 
Oracle 12cR2 Installation On Oracle Linux 7
Arun Sharma
 
Installing oracle grid infrastructure and database 12c r1
Voeurng Sovann
 
Oracle 12cR2 RAC Database Software Installation and Create Database
Monowar Mukul
 
Oracle database 12c client quick installation guide 8
bupbechanhgmail
 
Oracle ebs-r12-1-3installationlinux64bit
Ravi Kumar Lanke
 
Installing oracle database 12c as container database with three pluggable dat...
Marco Vigelini
 
12c installation
Osama Mustafa
 
InstallationGuide.pdf
sahirzakaria
 
Ad

More from Anar Godjaev (16)

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

Recently uploaded (20)

PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Digital Circuits, important subject in CS
contactparinay1
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 

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