centos7下安装ORACLE 12C-软件安装
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos7下安装ORACLE 12C-软件安装相关的知识,希望对你有一定的参考价值。
2.1 使用vnc登录进去
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_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-软件安装的主要内容,如果未能解决你的问题,请参考以下文章