目录

oracle12c到19c adg搭建(三)oracle19c数据库软件安装

由于这里的19c是做备库所以我们只安装软件不用创建实例,实例由主库同步过来

解压软件到安装目录

注意19c得db要直接解压到19c得软件安装目录

root@o12u19p software\]# ls V982063-01.zip \[root@o12u19p software\]# ls -ll total 2987996 -rw-r--r-- 1 root root 3059705302 Jun 18 11:13 V982063-01.zip \[root@o12u19p software\]# chown -R oracle:oinstall V982063-01.zip \[root@o12u19p software\]# su - oracle Last login: Tue Jun 18 11:05:00 CST 2024 on :0 \[oracle@o12u19p \~\]$ cd /software/ \[oracle@o12u19p software\]$ unzip V982063-01.zip -d $ORACLE_HOME Archive: V982063-01.zip ![](https://img-blog.csdnimg.cn/direct/d1e815152546423abbdbdd642e26423a.png) ## 运行安装程序 ![](https://img-blog.csdnimg.cn/direct/b332f1f2dfa4420091d3a96804f845f7.png) 只安装软件 ![](https://img-blog.csdnimg.cn/direct/ade9817cf7074831b196113043e4ec50.png) 创建单实例 ![](https://img-blog.csdnimg.cn/direct/1d29135dd9d3474894c901bf530de7a2.png) 选择企业版 ![](https://img-blog.csdnimg.cn/direct/95dbd5c6316e4678bc125f2e845a7cdb.png) 确认目录 ![](https://img-blog.csdnimg.cn/direct/eacdd5362ac949ab8c5da19b0a2d1047.png) ![](https://img-blog.csdnimg.cn/direct/17525c38bbdc4e0f9724961515deb467.png) 确认属组 ![](https://img-blog.csdnimg.cn/direct/436d9a74c45440188bb8554a2a38af85.png) 不自动运行root脚本 ![](https://img-blog.csdnimg.cn/direct/77c9ced4bc684939bce05027c5c09349.png) 预检查 ![](https://img-blog.csdnimg.cn/direct/7d22b1585e3148038025a1eca6868b6a.png) ### 出现报错处理报错 ![](https://img-blog.csdnimg.cn/direct/9b7d69a0865e41fc86ff147024535cf6.png) 下载相关缺失的包 ![](https://img-blog.csdnimg.cn/direct/b693e79b4ddc418686f545236c48c065.png) 卸载后重装高版本的kmod \[root@o12u19p software\]# rpm -qa\|grep kmod kmod-libs-20-5.el7.x86_64 kmod-20-5.el7.x86_64 \[root@o12u19p software\]# rpm -e kmod-libs-20-5.el7.x86_64 error: Failed dependencies: libkmod.so.2()(64bit) is needed by (installed) systemd-219-19.0.2.el7.x86_64 libkmod.so.2()(64bit) is needed by (installed) iscsi-initiator-utils-6.2.0.873-32.0.1.el7.x86_64 libkmod.so.2(LIBKMOD_5)(64bit) is needed by (installed) systemd-219-19.0.2.el7.x86_64 libkmod.so.2(LIBKMOD_5)(64bit) is needed by (installed) iscsi-initiator-utils-6.2.0.873-32.0.1.el7.x86_64 \[root@o12u19p software\]# rpm -e kmod-20-5.el7.x86_64 error: Failed dependencies: /sbin/modprobe is needed by (installed) os-prober-1.58-5.0.1.el7.x86_64 kmod is needed by (installed) dracut-033-359.0.1.el7.x86_64 kmod \>= 18-4 is needed by (installed) systemd-219-19.0.2.el7.x86_64 kmod is needed by (installed) nfs-utils-1:1.3.0-0.21.el7.x86_64 module-init-tools is needed by (installed) initscripts-9.49.30-1.0.1.el7.x86_64 module-init-tools is needed by (installed) lvm2-7:2.02.130-5.el7.x86_64 module-init-tools is needed by (installed) libvirt-daemon-1.2.17-13.0.1.el7.x86_64 \[root@o12u19p software\]# rpm -e kmod-20-5.el7.x86_64 --nodeps \[root@o12u19p software\]# rpm -e kmod-libs-20-5.el7.x86_64 --nodeps \[root@o12u19p software\]# rpm -qa\|grep kmod \[root@o12u19p software\]# rpm -ivh kmod\* warning: kmod-20-21.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Preparing... ################################# \[100%

Updating / installing...

1:kmod-libs-20-21.el7 ################################# [ 50%]

2:kmod-20-21.el7 ################################# [100%]

root@o12u19p software\]# 重新检查下一步 ![](https://img-blog.csdnimg.cn/direct/52095497eee0482892948bd53a3ed359.png) ### 执行root脚本 ![](https://img-blog.csdnimg.cn/direct/04a953e702164a958f7da5b2a297b05a.png) \[root@o12u19p software\]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /u01/app/oraInventory to oinstall. The execution of the script is complete. \[root@o12u19p software\]# /u01/app/oracle/product/19.3.0.0/dbhome_1/root.sh Performing root user operation. The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/19.3.0.0/dbhome_1 Enter the full pathname of the local bin directory: \[/usr/local/bin\]: Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... Creating /etc/oratab file... 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. Oracle Trace File Analyzer (TFA - Standalone Mode) is available at : /u01/app/oracle/product/19.3.0.0/dbhome_1/bin/tfactl Note : 1. tfactl will use TFA Service if that service is running and user has been granted access 2. tfactl will configure TFA Standalone Mode only if user has no access to TFA Service or TFA is not installed \[root@o12u19p software\]# ![](https://img-blog.csdnimg.cn/direct/308a2b7029704d4287648bf45417c3c5.png) 安装完成

本文是转载文章,点击查看原文
如有侵权,请联系 xyy@jishuzhan.net 删除
相关推荐
PingCAP25 分钟前
从 DB-Engines 排名攀升看 TiDB 全球突破之路
数据库·人工智能·tidb
消失在人海中1 小时前
oracle 游标的管理
数据库·oracle
盖世英雄酱581361 小时前
小小的改动,竟然效率提高了1000倍
数据库·后端
八股文领域大手子1 小时前
从接口400ms到20ms,记录一次JVM、MySQL、Redis的混合双打
jvm·数据库·redis·mysql·jar
浩浩测试一下2 小时前
网络安全中信息收集需要收集哪些信息了?汇总
安全·web安全·网络安全·oracle·sqlite·系统安全·可信计算技术
提高记忆力2 小时前
truncate,drop,delete分析
数据库
江节胜-胜行全栈AI2 小时前
PostgreSQL-中文字段排序-修改字段的排序规则
数据库·postgresql
就是蠢啊3 小时前
SpringBoot 基础知识,HTTP 概述
数据库·mysql·spring
darkchink3 小时前
[LevelDB]Block系统内幕解析-元数据块(Meta Block)&元数据索引块(MetaIndex Block)&索引块(Index Block)
android·java·服务器·c语言·数据库·c++·分布式
代码拾光3 小时前
如果单表数据量大,只能考虑分库分表吗?
数据库