Oracle 19c on Oracle Linux 8 – Preinstallation

Hi friends, last tutorial we installed Oracle Linux 8. Today, we’ll try to install Oracle Database 19c on Oracle Linux 8.

This is preinstallation tutorial before Database, so let’s prepare Operating system for installation.

You should install necessary packages but no need to one by one installation. Just you need dowload preinstall packages.

Oracle 19c preinstall yum package is not available yet. So I have installed oracle-database-preinstall-18

First edit your hots file on /etc/hosts

ifconfig

add that ip address and host name on your hosts file,

vi /etc/hosts

click i or some key for writing (only root privileges can edit this file! ) and add ip adress and hostname.

Save and quit

 

Now, we can download a oracle-database-19c-preinstall package but it will not working ordinary terminal command such as yum install oracle-database-19c-preinstall. Because, Oracle Linux 8 repository doesn’t include some packages. Check the repository file under the /etc/yum.repos.d/oracle-linux-ol8.repo you could see Oracle linux 8 repos adress and go there.

https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/index_src.html

As you see oracle-database-19c or 18c preinstall package not available yet. So, we have to download preinstall rpm file on Oracle Linux 7 repos.

Look at the green arrow i uploaded my virtual machine and ready for run.

rpm -ivh oracle-database-pre*-19*

 

Found error, might be some package are missing. First install that.  After that try again 19c preinstall package

Done ! Preinstallation packages succesfully installed. Let’s check groups.

cat /etc/groups

groups and user automatically created. Now we should create directories.

mkdir -p /oracle/app/oracle/product/19.1.0.1/dbhome_1

mkdir -p /setup

chown oracle:oinstall -R /oracle

chmod -R 755 /oracle

chown -R oracle:oinstall /setup

chmod -R 755 /setup

 

Edit .bash_profile file with oracle user,

vi .bash_profile

export ORACLE_BASE=/oracle/app/oracle
export ORACLE_HOME=/oracle/app/oracle/product/19.1.0.1/dbhome_1
export GRID_HOME=/oracle/app/grid
export ORACLE_UNQNAME=TESTDB
export ORACLE_SID=TESTDB

 

save and exit

Everything ready !

But first i have to explain something.

Before decide writing this article i want to install oracle database 19c with grid.  But after doing some research Oracle 8 kernel not supported GRID setup yet.

So, there is no way to install GRID.

Review the pictures below,

 

rpm -ivh oracleas-*

 

Yes, oracleasm installed but also GRID required kmod-oracleasm ,

 

 

As you can see there are too many errors. These errors cannot be resolved at this time

 

Oracle linux 8 kernel does not yet support GRID installation.

But we are ready to Oracle database installation.

 

See you in next article

 

 

 

 

 

 

 

 

 

Deniz Parlak

Hi, I'm a Computer Engineering student in Dumlupınar University.I will graduate next year. I did an internship TurkNet Telecominication Company in 2018 June- 2018 September. I had experience Linux/Unix system, SQL Server Management , SSRS, Mysql Database Management,Troubleshooting performance issues in Linux. I also interested Oracle database and technologies. I want to work as Oracle DBA after my University. I am practicing Unix, Exadata, Orace Cloud, Oracle RAC, Dataguard, EBS, Oracle BI and etc and i hope the articles will be helpful. Any questions, or support please write email deniz.parlak@yahoo.com

Leave a Reply

Your email address will not be published. Required fields are marked *