Labels

Android (1) Apache (1) bash (2) boost (2) C (37) C++ (5) cheatsheet (2) CLion (6) css (3) Debian (34) DL (17) dns (1) Docker (3) Dreamweaver (2) Eclipse (3) fail2ban (5) git (6) GitHub (5) Hacking (4) html (8) http (1) iOS (1) iPad (1) IRC (1) Java (33) javascript (3) Linux (184) Mac (21) Machine Learning (1) mySQL (53) Netbeans (6) Networking (1) Nexus (1) OpenVMS (6) Oracle (5) Pandas (3) php (17) Postgresql (8) Python (9) raid (1) RedHat (15) Samba (3) Slackware (52) SQL (14) ssh (1) svn (1) tar (1) ThinkPad (1) Virtualbox (4) Visual Basic (2) Visual Studio (1) Windows (8) wire (1)

Monday, 14 September 2026

Oracle database 19c on Oracle Linux 8.10

See also:

Oracle database 11g on Windows 2012

Oracle database 11g on Oracle linux 6.10/7.9


Install Linux

1). Retrieve OracleLinux-R8-U10-x86_64-dvd.iso from here and install. 

In this example, this was done in a VM with 1Tb storage and 4Gb of ram.


Pre Installation


1). Do the preinstall;

dnf install -y oracle-database-preinstall-19c


Oracle Database Installation


1). Retrieve Oracle Database 19c from here [direct link]

2). Install with dnf localinstall -y /path/to/oracle-database-ee-19c-1.0-1.x86_64.rpm

This may take a while, so kick back and relax with a strong mug of Java, just like old times.



Oracle Database Post Installation


1). Change password with passwd oracle

2). Create data dir;

mkdir -p /var/DATA
chown -R oracle:oinstall /var/DATA
chmod -R 775 /var/DATA

3). Edit /etc/sysconfig/oracledb_ORCLCDB-19c.conf to match the data dir from above.

4). Execute configuration script /etc/init.d/oracledb_ORCLCDB-19c configure

This cause me several errors so it is important to have the hostname set correctly and in /etc/hosts
and done the following after it failed;
rm -f /opt/oracle/product/19c/dbhome_1/network/admin/listener.ora
rm -f /opt/oracle/product/19c/dbhome_1/network/admin/tnsnames.ora
rm -f /opt/oracle/product/19c/dbhome_1/network/admin/endpoints.ora

When  /etc/init.d/oracledb_ORCLCDB-19c configure finally worked, it also took an absolute age to complete.

5). Set environment variables;

TBA


Oracle Database Import


TBA





\\
\\
\\
\\
\\
\\|


Logs


[root@oracle SHARE]# dnf install -y oracle-database-preinstall-19c
Oracle Linux 8 BaseOS Latest (x86_64)            19 MB/s | 164 MB     00:08    
Oracle Linux 8 Application Stream (x86_64)       20 MB/s |  86 MB     00:04    
Latest Unbreakable Enterprise Kernel Release 7   19 MB/s | 119 MB     00:06    
Last metadata expiration check: 0:00:24 ago on Mon 14 Sep 2026 17:58:07 BST.
Dependencies resolved.
================================================================================
 Package         Arch   Version                         Repository         Size
================================================================================
Installing:
 oracle-database-preinstall-19c
                 x86_64 1.0-4.el8                       ol8_appstream      30 k
Installing dependencies:
 glibc-devel     x86_64 2.28-251.0.2.el8                ol8_baseos_latest  89 k
 ksh             x86_64 20120801-272.0.1.el8_10         ol8_appstream     924 k
 libaio-devel    x86_64 0.3.112-1.el8                   ol8_baseos_latest  19 k
 libnsl          x86_64 2.28-251.0.2.el8                ol8_baseos_latest 111 k
 libstdc++-devel x86_64 8.5.0-21.0.1.el8                ol8_appstream     2.1 M
 libxcrypt-devel x86_64 4.1.1-6.el8                     ol8_baseos_latest  25 k
 lm_sensors-libs x86_64 3.4.0-23.20180522git70f7e08.el8 ol8_baseos_latest  59 k
 make            x86_64 1:4.2.1-11.el8                  ol8_baseos_latest 498 k
 sysstat         x86_64 11.7.3-13.0.3.el8_10            ol8_appstream     427 k

Transaction Summary
================================================================================
Install  10 Packages

Total download size: 4.2 M
Installed size: 18 M
Downloading Packages:
(1/10): libaio-devel-0.3.112-1.el8.x86_64.rpm   120 kB/s |  19 kB     00:00    
(2/10): glibc-devel-2.28-251.0.2.el8.x86_64.rpm 437 kB/s |  89 kB     00:00    
(3/10): libxcrypt-devel-4.1.1-6.el8.x86_64.rpm  334 kB/s |  25 kB     00:00    
(4/10): libnsl-2.28-251.0.2.el8.x86_64.rpm      457 kB/s | 111 kB     00:00    
(5/10): lm_sensors-libs-3.4.0-23.20180522git70f 991 kB/s |  59 kB     00:00    
(6/10): ksh-20120801-272.0.1.el8_10.x86_64.rpm  6.1 MB/s | 924 kB     00:00    
(7/10): make-4.2.1-11.el8.x86_64.rpm            2.7 MB/s | 498 kB     00:00    
(8/10): oracle-database-preinstall-19c-1.0-4.el 789 kB/s |  30 kB     00:00    
(9/10): libstdc++-devel-8.5.0-21.0.1.el8.x86_64 8.5 MB/s | 2.1 MB     00:00    
(10/10): sysstat-11.7.3-13.0.3.el8_10.x86_64.rp 4.0 MB/s | 427 kB     00:00    
--------------------------------------------------------------------------------
Total                                           7.9 MB/s | 4.2 MB     00:00     
Oracle Linux 8 BaseOS Latest (x86_64)           3.0 MB/s | 3.1 kB     00:00    
Importing GPG key 0xAD986DA3:
 Userid     : "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>"
 Fingerprint: 76FD 3DB1 3AB6 7410 B89D B10E 8256 2EA9 AD98 6DA3
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : libxcrypt-devel-4.1.1-6.el8.x86_64                    1/10 
  Installing       : glibc-devel-2.28-251.0.2.el8.x86_64                   2/10 
  Running scriptlet: glibc-devel-2.28-251.0.2.el8.x86_64                   2/10 
  Installing       : libstdc++-devel-8.5.0-21.0.1.el8.x86_64               3/10 
  Installing       : ksh-20120801-272.0.1.el8_10.x86_64                    4/10 
  Running scriptlet: ksh-20120801-272.0.1.el8_10.x86_64                    4/10 
  Installing       : make-1:4.2.1-11.el8.x86_64                            5/10 
  Running scriptlet: make-1:4.2.1-11.el8.x86_64                            5/10 
  Installing       : lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x8    6/10 
  Running scriptlet: lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x8    6/10 
  Installing       : sysstat-11.7.3-13.0.3.el8_10.x86_64                   7/10 
  Running scriptlet: sysstat-11.7.3-13.0.3.el8_10.x86_64                   7/10 
  Installing       : libnsl-2.28-251.0.2.el8.x86_64                        8/10 
  Installing       : libaio-devel-0.3.112-1.el8.x86_64                     9/10 
  Running scriptlet: oracle-database-preinstall-19c-1.0-4.el8.x86_64      10/10 
  Installing       : oracle-database-preinstall-19c-1.0-4.el8.x86_64      10/10 
  Running scriptlet: oracle-database-preinstall-19c-1.0-4.el8.x86_64      10/10 
  Verifying        : glibc-devel-2.28-251.0.2.el8.x86_64                   1/10 
  Verifying        : libaio-devel-0.3.112-1.el8.x86_64                     2/10 
  Verifying        : libnsl-2.28-251.0.2.el8.x86_64                        3/10 
  Verifying        : libxcrypt-devel-4.1.1-6.el8.x86_64                    4/10 
  Verifying        : lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x8    5/10 
  Verifying        : make-1:4.2.1-11.el8.x86_64                            6/10 
  Verifying        : ksh-20120801-272.0.1.el8_10.x86_64                    7/10 
  Verifying        : libstdc++-devel-8.5.0-21.0.1.el8.x86_64               8/10 
  Verifying        : oracle-database-preinstall-19c-1.0-4.el8.x86_64       9/10 
  Verifying        : sysstat-11.7.3-13.0.3.el8_10.x86_64                  10/10 

Installed:
  glibc-devel-2.28-251.0.2.el8.x86_64                                           
  ksh-20120801-272.0.1.el8_10.x86_64                                            
  libaio-devel-0.3.112-1.el8.x86_64                                             
  libnsl-2.28-251.0.2.el8.x86_64                                                
  libstdc++-devel-8.5.0-21.0.1.el8.x86_64                                       
  libxcrypt-devel-4.1.1-6.el8.x86_64                                            
  lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64                        
  make-1:4.2.1-11.el8.x86_64                                                    
  oracle-database-preinstall-19c-1.0-4.el8.x86_64                               
  sysstat-11.7.3-13.0.3.el8_10.x86_64                                           

Complete!




[root@oracle SHARE]# dnf localinstall -y oracle-database-ee-19c-1.0-1.x86_64.rpm 
Last metadata expiration check: 0:07:57 ago on Mon 14 Sep 2026 17:58:07 BST.
Dependencies resolved.
================================================================================
 Package                      Architecture Version     Repository          Size
================================================================================
Installing:
 oracle-database-ee-19c       x86_64       1.0-1       @commandline       2.5 G

Transaction Summary
================================================================================
Install  1 Package

Total size: 2.5 G
Installed size: 6.9 G
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Running scriptlet: oracle-database-ee-19c-1.0-1.x86_64                    1/1 
  Installing       : oracle-database-ee-19c-1.0-1.x86_64                    1/1 
  Running scriptlet: oracle-database-ee-19c-1.0-1.x86_64                    1/1 
[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

  Verifying        : oracle-database-ee-19c-1.0-1.x86_64                    1/1 

Installed:
  oracle-database-ee-19c-1.0-1.x86_64                                           

Complete!




[root@oracle ~]# /etc/init.d/oracledb_ORCLCDB-19c configure
Configuring Oracle Database ORCLCDB.
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/ORCLCDB.
Database Information:
Global Database Name:ORCLCDB
System Identifier(SID):ORCLCDB
Look at the log file "/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB1.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.


No comments:

Post a Comment

Note: only a member of this blog may post a comment.