"Silent" Install of Oracle 10g Client - 静默安装方式

本文介绍如何使用Oracle Universal Installer (OUI)的记录模式创建响应文件,并利用该文件进行静默安装。通过这种方式,可以避免交互式的安装过程,实现批量化安装Oracle产品。适用于Windows和UNIX系统的安装流程均有详细说明。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Check out ORACLE_HOME\oui\guide\oui.pdf. If you search for silent
install, it has some directions.

Creating a Response File With Record Mode
You can create a new response file, based on the installation options you select, by
using OUI’s record mode.
When you use record mode, OUI records the installation session into a response file.
You specify the name of the response file on the command line. The recorded response
file is generated immediately after the Summary page, so you don’t need to actually
install your Oracle product to create the response file.
In other words, you can start the installation in Record mode and proceed through the
installation options until you get to the Summary page. On the Summary Page, click
Exit to stop the installation from proceeding with the installation. However, all the
options you selected will be saved in the resulting response file.
You can use the newly created response file to run identical installation sessions on
other computers in your organization.
Record mode can be also used during a silent installation. In those cases, the variable
values specified in the original source response file will be recorded into the new
response file.
The following sections describe how to use record mode on Windows and UNIX
systems.

Using Record Mode
To record a new response file:
1. At the command prompt, use the cd command to change to the directory that
contains the OUI executable file (setup.exe or runInstaller.sh) for your
installation.
2. Enter the following command:
setup -record -destinationFile <response_file_name> (on Windows)
./runInstaller -record -destinationFile <response_file_name> (on UNIX)
Replace the <response_file_name> with the complete path for the new
response file. For example:
setup -record -destinationFile C:\response_files\install_oracle910 (on Windows)
./runInstaller -record -destinationFile /private/temp/install_oracle91.rsp (on
UNIX)
3. Use the OUI user interface to select your installation options. These will be
recorded.
When OUI displays the Summary page, you can either continue with the
installation or exit.
OUI saves your new response file using the path and file name you specified on
the command line.

Installing Using a Response File in silent mode

setup.exe -silent -responsefile <response file name>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值