Advertisement

Tuesday, July 24, 2018

Oracle Database - 18c: On Premise Installation - Oracle Linux - Part 2

The second part of the blog discusses on how to install 18c once all the pre-req are complete. 


Download the required software from 
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

Make sure to accept the license agreement before downloading. 

Once you have the software then Create the directories

[As root]
mkdir /u01

chown oracle:oinstall /u01

[Connect as user - oracle]
mkdir -p /u01/app/oracle/product/183/dbhome_1

Copy the Downloaded file to /u01/app/oracle/product/183/dbhome_1

unzip -qq LINUX.X64_180000_db_home.zip

Working Directory = /u01/app/oracle/product/183/dbhome_1
Run - runInstaller and follow the steps as in the Screenshots







Choosing of Oracle Home is not present as it is a in place installation and linking of binaries

If you have created only one group as part of your install then dba will be selected for all 

OraInventory location if required can be edited here

At this point you are prompted to run root scripts, run root scripts and press okay. 
Root scripts as the name says are run as root user.


[root@orclbox18c ~]# /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.
[root@orclbox18c ~]# /u01/app/oracle/product/183/dbhome_1/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/product/183/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.
Do you want to setup Oracle Trace File Analyzer (TFA) now ? yes|[no] :
yes
Installing Oracle Trace File Analyzer (TFA).
Log File: /u01/app/oracle/product/183/dbhome_1/install/root_orclbox18c.novalocal_2018-07-24_01-33-35-863801359.log

Finished installing Oracle Trace File Analyzer (TFA)

Press OK once the root script are run 

This completes the Database Installation as well. 



Now if you check the installation then the DB is at 18.3

OPatch/opatch lspatches
27908644;UPDATE 18.3 DATABASE CLIENT JDK IN ORACLE HOME TO JDK8U171
27923415;OJVM RELEASE UPDATE: 18.3.0.0.180717 (27923415)
28090553;OCW RELEASE UPDATE 18.3.0.0.0 (28090553)
28090523;Database Release Update : 18.3.0.0.180717 (28090523)

No comments:
Write comments