Home >Database >Oracle >Detailed steps and precautions for silent installation of Oracle 11g

Detailed steps and precautions for silent installation of Oracle 11g

PHPz
PHPzOriginal
2023-04-18 09:07:171581browse

Oracle is one of the largest database software companies in the world, and its products are widely used in various industries. However, the installation of Oracle software has always been criticized. Especially for DBAs who need to install Oracle software frequently, the process of manually installing Oracle software is very tedious and time-consuming. In order to solve this problem, Oracle provides a silent installation method, allowing DBAs to install Oracle software with one click without spending too much time and energy.

This article will introduce the detailed steps and precautions for silent installation of Oracle 11g so that DBAs can complete the installation of Oracle software more efficiently.

1. Preparations

Before performing the silent installation of Oracle 11g, you first need to make the following preparations:

1. Download the Oracle 11g installation package and unzip it.

2. Check whether the local computer environment meets the installation requirements of Oracle 11g software.

3. Run the command line window with administrator rights for better silent installation.

4. Write the answer file for silent installation.

2. Write the response file

The response file is an important part of the silent installation of Oracle 11g. In the answer file, you need to set the installation mode, installation options, Oracle Home directory, Oracle SID and other information.

The following is an example of an answer file:

[Oracle]

ORACLE_HOSTNAME=

ORACLE_UNQNAME=

INVENTORY_LOCATION=D:\app\oracle\inventory

SELECTED_LANGUAGES=en,zh_CN

[oracle.install.option]

INSTALL_OPTION=INSTALL_DB_SWONLY

UNIX_GROUP_NAME=oinstall

[oracle.install.db]

SOFTWARE_LOCATION=D:\app\oracle\product\11.2.0\dbhome_1

ORACLE_HOME=D: \app\oracle\product\11.2.0\dbhome_1

ORACLE_BASE=D:\app\oracle

NLS_LANG=AMERICAN_AMERICA.ZHS16GBK

oracle.install.db.InstallEdition =EE

oracle.install.db.DBA_GROUP=dba

oracle.install.db.OPER_GROUP=dba

oracle.install.db.BACKUPDBA_GROUP=dba

oracle.install.db.DGDBA_GROUP=dba

oracle.install.db.KMDBA_GROUP=dba

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=ZHS16GBK

[oracle.install.db.config]

EM_CONFIG_PORT=5500

EM_REPOSITORY_URL=http://: 5500/em

Role=Instance Administrator, Group Administrator

3. Run Silent Installation

After completing the writing of the answer file, you can perform Oracle 11g Installed silently. The following are the steps for silent installation:

1. Run the command line window with administrator rights.

2. Enter the following command in the command line window:

setup.exe -silent -responseFile D:\app\oracle\response\responsefile.txt

Where, -silent indicates silent installation, and -responseFile specifies the path to the response file.

3. Wait for the installation to complete.

4. Precautions

Although the silent installation of Oracle 11g is very convenient, there are some issues that need to be paid attention to during the actual installation.

1. The answer file needs to be written carefully, otherwise the installation may fail.

2. Before performing silent installation, you need to ensure that the local computer environment meets the installation requirements of Oracle 11g software.

3. You need to run the command line window with administrator rights, otherwise the installation may fail.

4. You need to wait patiently during the installation process and cannot terminate it midway, otherwise the installation may fail.

In short, Oracle 11g silent installation is the preferred way for DBAs to install Oracle software. It can not only greatly reduce the time required for installation, but also ensure the accuracy and stability of the installation. In actual use, we need to carefully read and follow the steps and precautions for Oracle 11g silent installation to ensure a successful installation.

The above is the detailed content of Detailed steps and precautions for silent installation of Oracle 11g. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn