注意:从18C 开始 database同grid为简单安装模式
解压 zip包至 oracle $ORACLE_HOME中
unzip LINUX.X64_193000_db_home.zip -d $ORACLE_HOME
oracle用户
cd $ORACLE_HOME
./runInstaller
只安装软件,后面在建库
配置ssh互信
安装前监测、
以下跟scan dns 与shm有关的告警可以忽略,原因在于测试没有使用dns解析的方式进行配置会出现dns与scan的告警,因测试环境内存问题,会出现shm告警
信息查看
db软件安装
注意:执行root脚本前不要点击ok
节点1
[root@rac19c21 ~]# /u01/app/oracle/product/19.0.0/db_1/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/19.0.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
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.
节点2
[root@rac19c22 install]# /u01/app/oracle/product/19.0.0/db_1/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/19.0.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
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.
软件安装完成
DBCA 数据库建库
建立单实例数据库,非cdb pdb建库
根据安装需求配置信息
关闭CVU与EM
添加结果
建库前自检,出现的告警与软件安装一致,忽略即可
查看信息,确认无误后进行安装
完成建库