Oracle数据库静默安装总结(三)

2015-01-21 12:25:57 · 作者: · 浏览: 24
M/jdk/jre/bin/java -Doracle.installer.library_loc=/tmp/OraInstall2014-1
通过日志文件也能看到安装的一些细节。


?查看安装目录,也会看到在逐渐增大。
?[oracle@rac1 ORAHOME]$ du -sh .
?1.8G? ? .
?[oracle@rac1 ORAHOME]$ du -sh .
?2.2G? ? .
?[oracle@rac1 ORAHOME]$ du -sh .
?4.0G?
如果在日志文件中看到如下的内容,证明安装已经完成。
INFO: Finding the most appropriate exit status for the current application
?INFO: Exit Status is 6
?INFO: List of warnings encountered in this Application:
?INFO: PREREQS_FAILED_WITH_WARNING
?INFO: Shutdown Oracle Database 11g Release 2 Installer
?INFO: Unloading Setup Driver


同时,也可以通过sqlplus来测试安装进度
[oracle@rac1 bin]$ ./sqlplus
?./sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory? --这个时候说明安装还在继续
[oracle@rac1 bin]$ ./sqlplus
?Error 6 initializing SQL*Plus
?SP2-0667: Message file sp1.msb not found? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? --这个时候说明安装已经完成,需要设置的就是ORACLE_HOME了
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory


[oracle@rac1 ~]$ export ORACLE_SID=A? ? ? ? ? ? ? ? ? ? --设置ORACLE_HOME以后,可以简单的测试是否sqlplus一切正常
[oracle@rac1 ~]$ sqlplus / as sysdba


SQL*Plus: Release 11.2.0.3.0 Production on Tue Nov 18 04:34:08 2014


Copyright (c) 1982, 2011, Oracle.? All rights reserved.


Connected to an idle instance.