欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

OracleDatabase12.2单实例的root.sh的变化--加入了安装TFA

程序员文章站 2022-03-23 20:34:44
OracleDatabase12.2单实例的root.sh的变化--加入了安装TFA。 [root@db12cr2 u01]# /u01/app/oraInventory/o...

OracleDatabase12.2单实例的root.sh的变化--加入了安装TFA。

[root@db12cr2 u01]# /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@db12cr2 u01]# /u01/app/oracle/product/12.2.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/12.2.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.
Do you want to setup Oracle Trace File Analyzer (TFA) now ? yes|[no] : ---->>>是否安装TFA
yes----->敲入yes即可.
Installing Oracle Trace File Analyzer (TFA).
Log File: /u01/app/oracle/product/12.2.0/dbhome_1/install/root_db12cr2_2017-02-25_06-22-00-133858952.log
Finished installing Oracle Trace File Analyzer (TFA)
[root@db12cr2 u01]#