Advertisement

Wednesday, April 4, 2018

Oracle Database - 18c Setup

The available version on e-delivery is only for exadata and not 18c for linux, however if you follow below you can install on Linux as well. (See the last of blog for workaround done)
Step 1
Go to Oracle Home Directory and unzip the Binaries
cd /u01/app/oracle/product/180/db1
unzip -qq /tmp/binaries/V974953-01.zip

Step2
Run run installer script
./runInstaller

Step 3


Step 4



Step 5   


Step  6

Step 7

Step 8

Step 9


Step  10


Step 11


Step 12

Run Root Script
/u01/app/oracle/product/180/db1/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/product/180/db1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copying coraenv to /usr/local/bin ...

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/180/db1/install/root_oem13cr2.novalocal_2018-04-04_06-37-07-668681314.log
Finished installing Oracle Trace File Analyzer (TFA) 

Step 13


  
There is a workaround for this version of install which is available for Exadata only as of now 
This is what I did
1. In /usr/bin/ create
cat uname2
/bin/uname1 -r | awk -F '-' '{print $1}'

2. Provide execute to all 
3. Start the installer
4. If the pre-check fails due to kernel version then 
mv uname uname1
mv uname2 uname
5. Once it proceeds then move the files back 
mv uname uname2
mv uname1 uname

This will allow the installation to complete.

No comments:
Write comments