redhat6.2静默安装oracle11gr2(二)

2014-11-24 09:39:19 · 作者: · 浏览: 1
oconfig -force -responseFile /oracle/install/db_install.rsp
参数:-silent---指oracle采用静默安装
-noconfig---指oracle安装过程中不创建database
-force---遇到非空目录也强制安装
-responseFile---指定应答文件路径(注意后边路径一定是绝对路径)
安装启动:
[oracle@oracle11database]$ ./runInstaller -silent -noconfig -force -responseFile/media/database/response/db_install.rsp
Starting OracleUniversal Installer...
Checking Temp space:must be greater than 120 MB. Actual15657 MB Passed
Checking swap space:must be greater than 150 MB. Actual4031 MB Passed
Preparing to launchOracle Universal Installer from /tmp/OraInstall2013-10-22_12-04-07PM. Pleasewait ...[oracle@oracle11 database]$ [WARNING] [INS-13014] Target environment donot meet some optional requirements.
CAUSE: Some of the optional prerequisitesare not met. See logs for details./tmp/OraInstall2013-10-22_12-04-07PM/installActions2013-10-22_12-04-07PM.log
ACTION: Identify the list of failedprerequisite checks from the log:/tmp/OraInstall2013-10-22_12-04-07PM/installActions2013-10-22_12-04-07PM.log.Then either from the log file or from installation manual find the appropriateconfiguration to meet the prerequisites and fix it manually.
[WARNING][INS-13014] Target environment do not meet some optional requirements.
CAUSE: Some of the optional prerequisitesare not met. See logs for details./tmp/OraInstall2013-10-22_12-04-07PM/installActions2013-10-22_12-04-07PM.log
ACTION: Identify the list of failedprerequisite checks from the log:/tmp/OraInstall2013-10-22_12-04-07PM/installActions2013-10-22_12-04-07PM.log.Then either from the log file or from installation manual find the appropriateconfiguration to meet the prerequisites and fix it manually.
You can find the logof this install session at:
/u01/app/oraInventory/logs/installActions2013-10-22_12-04-07PM.log
------------------------------------------------------------------------
-----------
-----------半小时后出现下面,执行两条脚本后安装完成…
--------------------------------------------------------------------------
The followingconfiguration scripts need to be executed as the "root" user.
#!/bin/sh
#Root scripts to run
/u01/app/oraInventory/orainstRoot.sh
/u01/app/oracle/product/11.2.0/dbhome_1/root.sh
To execute theconfiguration scripts:
1. Open a terminal window
2. Log in as "root"
3. Run the scripts
4. Return to this window and hit"Enter" key to continue
Successfully SetupSoftware.
The followingconfiguration scripts need to be executed as the "root" user.
#!/bin/sh
#Root scripts to run
/u01/app/oraInventory/orainstRoot.sh
/u01/app/oracle/product/11.2.0/dbhome_1/root.sh
To execute theconfiguration scripts:
1. Open a terminal window
2. Log in as "root"
3. Run the scripts
4. Return to this window and hit"Enter" key to continue
Successfully SetupSoftware.
说明:
---上面这一步之前发生了个小插曲,由于在安装过程中按回车键会自动跳出且有prerequisite的warning,然后就修改了文件和目录最后导致安装失败,其实当时细心点会发现oracle的后台进程其实一直在运行的:
ps -ef|g