2.2 执行runInstaller 安装
[oracle@db100103019 ~]$ cd /data/soft/database/[oracle@db100103019 database]$ ./runInstaller
这里仅安装数据库软件,稍后创建数据库
安装smartmontools工具后再次check
# yum install smartmontools -y
然后ignore swap 下一步
在root用户下执行如下脚本
# /opt/oraInventory/orainstRoot.sh # /opt/oracle/product/12.2.0.1/db_1/root.sh --------------------------------------------------------------------------------[root@db100103019 ~]# /opt/oraInventory/orainstRoot.sh Changing permissions of /opt/oraInventory.Adding read,write permissions for group.Removing read,write,execute permissions for world.Changing groupname of /opt/oraInventory to oinstall.The execution of the script is complete.[root@db100103019 ~]# /opt/oracle/product/12.2.0.1/db_1/root.sh Performing root user operation.The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /opt/oracle/product/12.2.0.1/db_1Enter 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 byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Do you want to setup Oracle Trace File Analyzer (TFA) now ? yes|[no] : yesInstalling Oracle Trace File Analyzer (TFA).Log File: /opt/oracle/product/12.2.0.1/db_1/install/root_db100103019_2020-04-24_13-50-37-337877892.logFinished installing Oracle Trace File Analyzer (TFA)
到此为止,数据库软件已安装完成