Welcome 微信登录

首页 / 数据库 / MySQL / 静默安装Oracle数据库

无图形界面情况下静默安装Oracle
有些机器上没有图形化终端,我们可以使用Oracle提供的静默安装来实现提示符下的Oracle安装,并且这样也不要太多的资源。安装前的系统环境变量及内核参数的设置这里就不重复了。
我的项目流程如下:Oracle安装文件已经解压至/udisk。
su - oracle
mkdir -p /u01/app/oracle/
1. 建立静默安装的配置文件
cd /udisk/database/response
vi enterprise01.rsp
RESPONSEFILE_VERSION=2.2.1.0.0
FROM_LOCATION="../stage/products.xml"
ORACLE_HOME="/u01/app/oracle/product/10.2.0/db_1/"
ORACLE_HOME_NAME="OraDb10g_home1"
TOPLEVEL_COMPONENT={"oracle.server","10.2.0.1.0"}
DEINSTALL_LIST={"oracle.server","10.2.0.1.0"}
SHOW_SPLASH_SCREEN=false
SHOW_WELCOME_PAGE=false
SHOW_COMPONENT_LOCATIONS_PAGE=false
SHOW_CUSTOM_TREE_PAGE=false
SHOW_SUMMARY_PAGE=false
SHOW_INSTALL_PROGRESS_PAGE=false
SHOW_REQUIRED_CONFIG_TOOL_PAGE=false
SHOW_CONFIG_TOOL_PAGE=false
SHOW_RELEASE_NOTES=false
SHOW_ROOTSH_CONFIRMATION=false
SHOW_END_SESSION_PAGE=false
SHOW_EXIT_CONFIRMATION=false
NEXT_SESSION=false
NEXT_SESSION_ON_FAIL=false
SHOW_DEINSTALL_CONFIRMATION=false
SHOW_DEINSTALL_PROGRESS=false
ACCEPT_LICENSE_AGREEMENT=true
COMPONENT_LANGUAGES={"en"}
CLUSTER_NODES=
INSTALL_TYPE="EE"
s_nameForDBAGrp=dba
s_nameForOPERGrp=dba
b_oneClick=false
SHOW_DATABASE_CONFIGURATION_PAGE=false
b_createStarterDB=false
相关属性的值的意义,请参考Oracle提供的enterprise.rsp文档中的说明 。
2. 开始安装
cd /udisk/database/
./runInstaller -silent -responseFile /udisk/database/response/enterprise01.rsp
#注意-responseFile参数后的文件路径一定是绝对路径 ,并且enterprise01.rsp oracle用户可读。
执行过程如下:
Installation in progress (Mon May 12 20:27:18 CST 2008)
............................................................... 11% Done.
............................................................... 23% Done.
............................................................... 35% Done.
............................................................... 47% Done.
........................................... 55% Done.
Install successfulLinking in progress (Mon May 12 20:30:01 CST 2008)
. 55% Done.
Link successfulSetup in progress (Mon May 12 20:31:21 CST 2008)
.................... 100% Done.
Setup successfulEnd of install phases.(Mon May 12 20:31:29 CST 2008)
Starting to execute configuration assistants
Configuration assistant "Oracle Net Configuration Assistant" succeeded
Configuration assistant "Oracle Database Configuration Assistant" failed
SEVEREOUI-10104:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured. Select the failed assistants and click the "Retry" button to retry them.
--------------------------------------
The "/u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/configToolFailedCommands" . contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this . with passwords (if any) before executing the same.
The "/u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/configToolAllCommands" . contains all commands to be executed by the configuration assistants. This file may be used to run the configuration assistants outside of OUI. Note that you may have to update this . with passwords (if any) before executing the same.--------------------------------------
The installation of Oracle Database 10g was successful, but some optional configuration assistants failed, were cancelled or skipped.
Please check "/u01/app/oracle/oraInventory/logs/silentInstall2008-05-12_08-26-55PM.log" for more details.
  • 1
  • 2
  • 3
  • 下一页
AIX+HACMP+Oracle双机集群项目Oracle 10g 升级到11g实训项目相关资讯      oracle数据库安装  Oracle静默安装 
  • Oracle 数据库基础——安装  (05月04日)
  • Oracle 10g,11g中数据库静默安装中  (10/14/2015 19:28:31)
  • Oracle 11g静默安装软件+手工创建  (07/21/2015 14:56:31)
  • Oracle 11g静默安装简明版  (03月01日)
  • Linux下静默安装Oracle  (08/16/2015 10:25:18)
  • Linux平台静默安装Oracle  (04/09/2015 20:18:22)
本文评论 查看全部评论 (0)
表情: 姓名: 字数