Oracle 19c installation using RPM

Oracle 19c installation using RPM

Hello everyone, I would like to share this LAB test that I performed recently, the main idea here is to create a lab environment to test some scenarios and I was getting some issues to run the oracle Graphical interface to install the oracle binaries and nowadays I don’t have much more patience to spend so I moved forward to find some workaround that could make possible install the oracle binaries without any Graphical interface.

In the old days of my career, I used to do it using a response file but I’m not a big fan f this approach.

So I remember that Oracle released the rpm install and I never tried it before, good time to try right?

First of all, to be very fast I used the automatic setup:

[root@osboxes ~]# yum install -y oracle-database-preinstall-19c

This will perform all pre-install steps making my life much easier and just in case I ran a full update of my centos 8 too:

[root@osboxes ~]# yum update –y

In my case, I went to the oracle website and downloaded the 19c rpm

This one => oracle-database-ee-19c-1.0-1.x86_64.rpm

Here is the link

With the rpm in place let move to the rpm installation:

[root@osboxes ~]# rpm -Uvh oracle-database-ee-19c-1.0-1.x86_64.rpm

Preparing...??????????????????????????????????????????################################# [100%]

Updating / installing...

??1:oracle-database-ee-19c-1.0-1????################################# [100%]

[INFO] Executing post installation scripts...

[INFO] Oracle home installed successfully and ready to be configured.

To configure a sample Oracle Database you can execute the following service configuration script as root: /etc/init.d/oracledb_ORCLCDB-19c configure

Next step is make some adjusts on this file: /etc/sysconfig/oracledb_ORCLCDB-19c.conf

[root@osboxes ~]# vi /etc/sysconfig/oracledb_ORCLCDB-19c.conf

# change default settings if you need

# listening port for Listener

LISTENER_PORT=1521

# data location

ORACLE_DATA_LOCATION=/opt/oracle/oradata

# EM_EXPRESS_PORT: Oracle EM Express listener

# listening port for Enterprise Manager

EM_EXPRESS_PORT=5500

  • After update the config file let’s run the binary installation


  • Very important hint here, update the /etc/hosts like this:


[root@osboxes ~]# cat /etc/hosts

127.0.0.1??localhost localhost.localdomain localhost4 localhost4.localdomain4

::1????????localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.56.101?osboxes????????osboxes

  • Otherwise, you may get a failure about listener port being in use

[root@osboxes ~]# /etc/init.d/oracledb_ORCLCDB-19c configure

Configuring Oracle Database ORADB01.

Prepare for db operation

8% complete

Copying database files

31% complete

Creating and starting Oracle instance

32% complete

36% complete

40% complete

43% complete

46% complete

Completing Database Creation

51% complete

54% complete

Creating Pluggable Databases

58% complete

77% complete

Executing Post Configuration Actions

100% complete

Database creation complete. For details check the logfiles at:

?/opt/oracle/cfgtoollogs/dbca/ORADB01.

Database Information:

Global Database Name: ORADB01

System Identifier(SID): ORADB01

Look at the log file "/opt/oracle/cfgtoollogs/dbca/ORADB01/ORADB01.log" for further details.


Database configuration completed successfully. The passwords were auto-generated, you must change them by connecting to the database using 'sqlplus / as sysdba' as the oracle user.

  • And after few minutes the binaries and database deployed, totally unbelievable?


要查看或添加评论,请登录

Mario Martinez的更多文章

  • Manipula??o de Dados Usando Power Bi e Linguagem R

    Manipula??o de Dados Usando Power Bi e Linguagem R

    Hoje quero falar um pouco sobre manipula??o e tratamento de dados com o crescimento expressivo das bases de dados cada…

  • Restore Oracle Database Cluster ASM em single instance system file

    Restore Oracle Database Cluster ASM em single instance system file

    O tema de hoje é bem interessante, vamos realizar um restore de backup rman.Ate ai nada muito complexo, mais.

  • Minerando os Archivelogs no Oracle

    Minerando os Archivelogs no Oracle

    As situa??es onde prescisamos ler os archivelogs atras de informa??es podem ser muitas, auditar algum usuario ou alguma…

  • ORATOP

    ORATOP

    Para quem vem do Windows , administrar um banco de dados Oracle no Linux exige uma verdadeira quebra de paradigmas…

社区洞察

其他会员也浏览了