Oracle silent installation template

Under the premise of oracle installation environment configuration
1 in the installation file / database / response / * There are three profile template

[oracle@oracledb response]$ ll
总用量 100
-rwxrwxr-x. 1 oracle oinstall 44954 12月 4 11:46 dbca.rsp
-rwxrwxr-x. 1 oracle oinstall 22733 12月 3 16:22 db_install.rsp
-rwxrwxr-x. 1 oracle oinstall 5740 2月 26 2009 netca.rsp

A: Modify db_install.rap (the following parameters need to be configured, tampered with specific needs, such as the host name, instance name, memory size)

oracle.install.option = INSTALL_DB_SWONLY // 29 rows mounted type
ORACLE_HOSTNAME = java-linux-test // 37 rows hostname
UNIX_GROUP_NAME = oinstall // 42 group row installed
INVENTORY_LOCATION = / u01 / app / oracle / oraInventory // 47 rows INVENTORY directory
SELECTED_LANGUAGES = en, zh_CN, zh_TW // 78 row select language
ORACLE_HOME = / u01 / app / oracle / product / 11.2.0 / db_1 // 83 rows ORACLE_HOME
the ORACLE_BASE = / u01 / App / 88 // Oracle row ORACLE_BASE
Oracle. install.db.InstallEdition = EE // 99 rows oracle version
oracle.install.db.isCustomInstall = true // 108 rows custom installation
oracle.install.db.DBA_GROUP = dba // 142 rows dba user group
oracle.install.db .OPER_GROUP = oinstall // 147 rows oper user group
oracle.install.db.config.starterdb.type = GENERAL_PURPOSE // 160 row type database
oracle.install.db.config.starterdb.globalDBName = ecology // 165 line globalDBName
oracle.install.db.config.starterdb.SID = orcl // 170 lines SID
oracle.install.db.config.starterdb.password.ALL = oracle // 233 row to all database users using the same password
DECLINE_SECURITY_UPDATES = true // 385 line sets the security update

A silent install Oracle software
./runInstaller -silent -force -responseFile /u01/database/response/db_install.rsp

# Installation process will pop Root script to run

/u01/app/oracle/oraInventory/orainstRoot.sh
/u01/app/oracle/product/11.2.0/db_1/root.sh
To perform configuration script, do the following:
1. Open a terminal window
2. " root "Log
3. run the script
4. return to this window and press the" Enter "key to continue

Successfully Setup Software.


II: Network netca.rsp silent configuration file without modifying the
$ ORACLE_HOME / bin / netca / silent / responseFile /u01/database/response/netca.rsp

Run listener error
[oracle @ oracledb response] $ $ ORACLE_HOME / bin / netca / silent / responseFile /u01/database/response/netca.rsp

Three: to create an instance modify dbca.rsp
GDBNAME, SID, TEMPLATENAME
follows
# following parameters do not change (depending on your version)
[the GENERAL]
RESPONSEFILE_VERSION = "11.2.0.4"
OPERATION_TYPE = "createDatabase"
# The following parameters must be set
[CREATE DATABASE]
GDBNAME = "orcl"
SID = "orcl"
totalMemory = "1024"

$ ORACLE_HOME / bin / dbca -silent -responseFile /u01/database/response/dbca.rsp
enter sys and system password


The user can continue to create

 

 

 

More please pay attention to micro-channel public number: data with others

Guess you like

Origin www.cnblogs.com/sunkang-dba/p/12660588.html