因为安装的是oracle软件,并且是企业版,所以所有的前期安装准备还是要做的,包括修改内核参数,配置内存,空间大小要求,包要求
注意:
1. 发现各个版本的runinstall的命令可能不一样,相同的命令在不同版本之间可能不能通用。
2. 因为安装的是oracle软件,并且是企业版,所以所有的前期安装准备还是要做的,包括修改内核参数,配置内存,空间大小要求,包要求,该满足的还是要满足的,否则可能会失败。
3. 静默模式最大的问题是响应文件的编辑,目前发现响应文件稍微不对,就会出现响应文件invaild问题,少参数或者参数指定了错误的值。
4. 前期创建用户和组,以及修改权限,参数的工作本文不叙述
静默安装命令及过程
./runinstaller -silent -force -ignoreprereq -responsefile/home/oracle/db.rsp
说明:
-silent 必须要有
-ignoreprereq 如果哪块没有符合要求,不添加可能就安装不过去了
-force 软件可以安装在一个非空目录中
-responsefile 指定响应文件
安装命令显示:
starting oracle universal installer...
checking temp space: must be greater than120 mb. actual 8452 mb passed
checking swap space: must be greater than150 mb. actual 1897 mb passed
preparing to launch oracle universalinstaller from /tmp/orainstall2013-12-18_06-27-09pm. please wait...[oracle@linux1 database]$ you can find the log of this install session at:
/oracle/orainventory/logs/installactions2013-12-18_06-27-09pm.log
the following configuration scripts need tobe executed as the root user.
#!/bin/sh
#root scripts to run
/oracle/product/11.2.0/dbhome_1/root.sh
to execute the configuration 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
--执行完root脚本,此处打回车
[oracle@linux1 database]$
另开root窗口执行/oracle/product/11.2.0/dbhome_1/root.sh
响应文件内容
注意:只适合此版本11.2.0.1.0(是否适合其他版本没有测试)
仔细看一下,下面好多db的属性都指定了,但是好像不指定又不行,,就严格按照下边写吧
db.rsp内容
[oracle@linux1 ~]$ more db1.rsp
oracle.install.responsefileversion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
oracle.install.option=install_db_swonly
oracle_hostname=linux1
unix_group_name=oinstall
inventory_location=/oracle/orainventory
selected_languages=en
oracle_home=/oracle/product/11.2.0/dbhome_1
oracle_base=/oracle
oracle.install.db.installedition=ee
oracle.install.db.iscustominstall=false
oracle.install.db.customcomponents=
oracle.install.db.dba_group=dba
oracle.install.db.oper_group=dba
oracle.install.db.cluster_nodes=
oracle.install.db.config.starterdb.type=general_purpose
oracle.install.db.config.starterdb.globaldbname=
oracle.install.db.config.starterdb.sid=
oracle.install.db.config.starterdb.characterset=
oracle.install.db.config.starterdb.memorylimit=
oracle.install.db.config.starterdb.memoryoption=false
oracle.install.db.config.starterdb.installexampleschemas=false
oracle.install.db.config.starterdb.enablesecuritysettings=true
oracle.install.db.config.starterdb.password.all=
oracle.install.db.config.starterdb.password.sys=
oracle.install.db.config.starterdb.password.system=
oracle.install.db.config.starterdb.password.sysman=
oracle.install.db.config.starterdb.password.dbsnmp=
oracle.install.db.config.starterdb.control=db_control
oracle.install.db.config.starterdb.gridcontrol.gridcontrolserviceurl=
oracle.install.db.config.starterdb.dbcontrol.enableemailnotification=false
oracle.install.db.config.starterdb.dbcontrol.emailaddress=
oracle.install.db.config.starterdb.dbcontrol.smtpserver=
oracle.install.db.config.starterdb.automatedbackup.enable=false
oracle.install.db.config.starterdb.automatedbackup.osuid=
oracle.install.db.config.starterdb.automatedbackup.ospwd=
oracle.install.db.config.starterdb.storagetype=
oracle.install.db.config.starterdb.filesystemstorage.datalocation=
oracle.install.db.config.starterdb.filesystemstorage.recoverylocation=
oracle.install.db.config.asm.diskgroup=
oracle.install.db.config.asm.asmsnmppassword=
myoraclesupport_username=
myoraclesupport_password=
security_updates_via_myoraclesupport=false
decline_security_updates=true
proxy_host=
proxy_port=
[oracle@linux1 ~]$
相关阅读:
oracle 12c静默安装与配置
oracle教程之oracle静默安装
oracle 静默安装简要的注意事项
静默安装oracle数据库
非图形化静默安装oracle 11g