1. 软件安装
    2.1 使用vnc登录进去
    centos7下安装ORACLE 12C-软件安装_第1张图片

2.2 执行runInstaller 安装

[oracle@db100103019 ~]$ cd /data/soft/database/
[oracle@db100103019 database]$ ./runInstaller 

centos7下安装ORACLE 12C-软件安装_第2张图片

centos7下安装ORACLE 12C-软件安装_第3张图片
这里仅安装数据库软件,稍后创建数据库
centos7下安装ORACLE 12C-软件安装_第4张图片

centos7下安装ORACLE 12C-软件安装_第5张图片

centos7下安装ORACLE 12C-软件安装_第6张图片
centos7下安装ORACLE 12C-软件安装_第7张图片
centos7下安装ORACLE 12C-软件安装_第8张图片
centos7下安装ORACLE 12C-软件安装_第9张图片

centos7下安装ORACLE 12C-软件安装_第10张图片
centos7下安装ORACLE 12C-软件安装_第11张图片

安装smartmontools工具后再次check

# yum install smartmontools -y

然后ignore swap 下一步
centos7下安装ORACLE 12C-软件安装_第12张图片
centos7下安装ORACLE 12C-软件安装_第13张图片
centos7下安装ORACLE 12C-软件安装_第14张图片
centos7下安装ORACLE 12C-软件安装_第15张图片
centos7下安装ORACLE 12C-软件安装_第16张图片
在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_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.
Do you want to setup Oracle Trace File Analyzer (TFA) now ? yes|[no] : 
yes
Installing 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.log
Finished installing Oracle Trace File Analyzer (TFA)

centos7下安装ORACLE 12C-软件安装_第17张图片

到此为止,数据库软件已安装完成