Oracle 12c DB installation
Here are the easy steps to install the Oracle 12c (12.1.0.2) Database.
[root@ol5-12c-cdb ~]# groupadd oinstall
[root@ol5-12c-cdb ~]# useradd -g oinstall oracle
[root@ol5-12c-cdb ~]# passwd oracle
We will use below dir's for 12c DB software installation.
Oracle Base: /u01/app/oracle
DB Home: /u01/app/oracle/product/12.1.0/dbhome_1
Inventory: /u01/app/oraInventory
[root@ol5-12c-cdb ~]# xhost +
access control disabled, clients can connect from any host
[root@ol5-12c-cdb ~]# su - oracle
[oracle@ol5-12c-cdb ~]$ cd /media/sf_Oracle_Base/sw12.1.0.2db/database
[oracle@ol5-12c-cdb database]$ ./runInstaller
[Step1] If you have valid credentials and the server is connected to the Internet, then you should provide these details. Otherwise, you can skip this option and configure them after installation.

[Step-2] Select "Install Database software only"
We will create the container database along with PDB's in later posts.

[Step-3] Select "Single instance database instance" and click next..

[Step-4]Select your preferred language and click next..

[Step-5] Click Next..

[Step-6] Provide directory paths for oracle base and oracle home software.

[Step-7] Provide path for Central Inventory. Select group as oinstall.

[Step-8] select group "oinstall" and click next..

[Step-9] We may ignore this error and proceed further with installation.

[Step-10] It lists all the details, Review once and click Install.

[Step-11] Installation is in Progress...

[Step-12] Once after installation we need to run below scripts as a root user.
/u01/app/oraInventory/orainstRoot.sh
/u01/app/oracle/product/12.1.0/dbhome_1/root.sh

Please choose default options while running the scripts
Script:1
---------------------------------------------------------------------------------
[root@ol5-12c-cdb ~]# sh /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
---------------------------------------------------------------------------------
Script:2
---------------------------------------------------------------------------------
[root@ol5-12c-cdb ~]# sh /u01/app/oracle/product/12.1.0/dbhome_1/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/12.1.0/dbhome_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
---------------------------------------------------------------------------------
Oracle Database Software installation has been completed.
Click on below link for Container DB creation.
Container DB creation (Coming soon..)
No comments:
Post a Comment