Environment Configuration Details:
OEM Software Version: Oracle Enterprise Manager Cloud Control 24ai Release 1 (24.1.0.0.0)
Operating System: Oracle Linux 8.10 64 Bit
OEM 24ai Installation Step by Step:
Part-3 : Repository Database Creation
Step 1 : User and Group Creation
Create oracle user and oinstall & dba as groups.
[root@oemdb ~]# id
uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
#Command to create user
[root@oemdb ~]# useradd oracle
#Command to change user's password
[root@oemdb ~]# passwd oracle
Changing password for user oracle.
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: all authentication tokens updated successfully.
#Command to create group
[root@oemdb ~]# groupadd oinstall
[root@oemdb ~]# groupadd dba
#Command to define primary and secondary group for user
[root@oemdb ~]# usermod -g oinstall -G dba oracle
Step 2 : Directory Creation
Create directory to store Oracle RDBMS HOME Binaries.
[root@oemdb /]# id
uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[root@oemdb ~]# cd /
#Command to create directory
[root@oemdb /]# mkdir -p /u01/app/oracle
[root@oemdb /]# ls -ld /u01/app/oracle
drwxr-xr-x. 2 root root 6 Feb 27 11:24 /u01/app/oracle
[root@oemdb /]# df -Th /u01
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/ol-root xfs 48G 8.1G 40G 17% /
You can assign read, write, execute permissions to created directories.
#Command to assign/change user and group ownership for the directory.
[root@oemdb /]# chown -R oracle:oinstall /u01
#Command to assign/change directory permissions.
[root@oemdb /]# chmod -R 755 /u01
[root@oemdb u01]# ls -ld /u01
drwxr-xr-x. 3 oracle oinstall 17 Feb 27 11:24 /u01
[oracle@oemdb ~]$ mkdir -p /u01/app/oracle/product/19.0.0/dbhome_1
[oracle@oemdb ~]$ cd /u01/
[oracle@oemdb u01]$ ls -ltr
drwxr-xr-x. 3 oracle oinstall 20 Feb 27 11:24 app
[oracle@oemdb u01]$ mkdir oradata
[oracle@oemdb u01]$ cd oradata
#Create directories to store Database files.
[oracle@oemdb oradata]$ mkdir data redo arch
[oracle@oemdb oradata]$ ls -ltr
drwxr-xr-x. 2 oracle oinstall 6 Feb 27 12:02 redo
drwxr-xr-x. 2 oracle oinstall 6 Feb 27 12:02 data
drwxr-xr-x. 2 oracle oinstall 6 Feb 27 12:02 arch
Step 3: Tansfer downloaded Oracle 19c Setup to server.
[root@oemdb u01]# cd /media/sf_Softwares/OEM
[root@oemdb OEM]# ls -ltr
drwxrwx---. 1 root vboxsf 0 Feb 7 11:23 OEM_24
-rwxrwx---. 1 root vboxsf 1018 Feb 7 12:54 'OEM Link.txt'
drwxrwx---. 1 root vboxsf 0 Feb 27 10:53 Oracle_DB_19.3
drwxrwx---. 1 root vboxsf 4096 Feb 27 10:53 OEM_19.5
[root@oemdb OEM]# cd Oracle_DB_19.3
[root@oemdb Oracle_DB_19.3]# ls -ltr
-rwxrwx---. 1 root vboxsf 3059705302 Feb 6 15:30 V982063-01_Ora_DB_19.3.zip
[root@oemdb Oracle_DB_19.3]# cp V982063-01_Ora_DB_19.3.zip /u01/app/oracle/product/19.0.0/dbhome_1
[root@oemdb Oracle_DB_19.3]# cd /u01/app/oracle/product/19.0.0/dbhome_1
[root@oemdb dbhome_1]# ls -ltr
-rwxr-x---. 1 root root 3059705302 Feb 27 11:49 V982063-01_Ora_DB_19.3.zip
[root@oemdb dbhome_1]# chmod 777 V982063-01_Ora_DB_19.3.zip
[root@oemdb dbhome_1]# su - oracle
[oracle@oemdb ~]$ cd /u01
[oracle@oemdb u01]$ rm -rf setup
[oracle@oemdb u01]$ cd /u01/app/oracle/product/19.0.0/dbhome_1
[oracle@oemdb dbhome_1]$ ls -ltr
-rwxrwxrwx. 1 root root 3059705302 Feb 27 11:49 V982063-01_Ora_DB_19.3.zip
[oracle@oemdb setup]$ id
uid=1001(oracle) gid=1002(oinstall) groups=1002(oinstall),1003(dba) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
#Extract the software and remove once extract is done to free up the space.
[oracle@oemdb dbhome_1]$ unzip V982063-01_Ora_DB_19.3.zip
......
javavm/admin/classes.bin -> ../../javavm/jdk/jdk8/admin/classes.bin
javavm/admin/libjtcjt.so -> ../../javavm/jdk/jdk8/admin/libjtcjt.so
jdk/jre/bin/ControlPanel -> jcontrol
javavm/admin/lfclasses.bin -> ../../javavm/jdk/jdk8/admin/lfclasses.bin
javavm/lib/security/cacerts -> ../../../javavm/jdk/jdk8/lib/security/cacerts
javavm/lib/sunjce_provider.jar -> ../../javavm/jdk/jdk8/lib/sunjce_provider.jar
javavm/lib/security/README.txt -> ../../../javavm/jdk/jdk8/lib/security/README.txt
javavm/lib/security/java.security -> ../../../javavm/jdk/jdk8/lib/security/java.security
jdk/jre/lib/amd64/server/libjsig.so -> ../libjsig.so
[oracle@oemdb dbhome_1]$
[oracle@oemdb dbhome_1]$ rm V982063-01_Ora_DB_19.3.zip
Step 4: Oracle 19c RDBMS Software Installation and Repository Database Creation
Login by oracle user and start Oracle 19c RDBMS Software installation and Database creation.
Please note that this database will be used as OEM Repository database to store OEM data.
Go to ORACLE_HOME directory, set below environment variable and start runInstaller.
$cd /u01/app/oracle/product/19.0.0/dbhome_1
$export CV_ASSUME_DISTID=OL7
$./runInstaller
Install missing RPM packages as below:
[root@oemdb ~]# yum install ksh
Last metadata expiration check: 0:31:09 ago on Thu 27 Feb 2025 12:42:05 PM IST.
Dependencies resolved.
===========================================================================================
Package Architecture Version Repository Size
===========================================================================================
Installing:
ksh x86_64 20120801-267.0.1.el8 ol8_appstream 923 k
Transaction Summary
===========================================================================================
Install 1 Package
Total download size: 923 k
Installed size: 3.2 M
Is this ok [y/N]: y
Downloading Packages:
ksh-20120801-267.0.1.el8.x86_64.rpm 634 kB/s | 923 kB 00:01
----------------------------------------------------------------------------------
Total 633 kB/s | 923 kB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing :
Installing : ksh-20120801-267.0.1.el8.x86_64
Running scriptlet: ksh-20120801-267.0.1.el8.x86_64
Verifying : ksh-20120801-267.0.1.el8.x86_64
Installed:
ksh-20120801-267.0.1.el8.x86_64
Complete!
[root@oemdb ~]# yum install libaio-devel*
Last metadata expiration check: 0:34:06 ago on Thu 27 Feb 2025 12:42:05 PM IST.
Dependencies resolved.
============================================================================================
Package Architecture Version Repository Size
============================================================================================
Installing:
libaio-devel x86_64 0.3.112-1.el8 ol8_baseos_latest 19 k
Transaction Summary
============================================================================================
Install 1 Package
Total download size: 19 k
Installed size: 8.7 k
Is this ok [y/N]: y
Downloading Packages:
libaio-devel-0.3.112-1.el8.x86_64.rpm 65 kB/s | 19 kB 00:00
----------------------------------------------------------------------------
Total 64 kB/s | 19 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing :
Installing : libaio-devel-0.3.112-1.el8.x86_64
Running scriptlet: libaio-devel-0.3.112-1.el8.x86_64
Verifying : libaio-devel-0.3.112-1.el8.x86_64
Installed:
libaio-devel-0.3.112-1.el8.x86_64
Complete!
For the RPM Package "compat-libcap1-1.10", select Ignore All, and click Install to continue with the installation.
[oracle@oemdb ~]$ ps -ef | grep pmon
oracle 64804 3530 0 14:20 ? 00:00:00 ora_pmon_oem
oracle 65327 5194 0 14:22 pts/0 00:00:00 grep --color=auto pmon
The repository database creation is completed and it's time to start the pre-requsites checks before installing OEM 24ai.
Refer : Part-4 : OEM Installation
Thanks for reading this post ! Please comment if you like this post ! Click FOLLOW to get future blog updates !
Thank you for visiting my blog ! Thanks for your comment !