安装oracle12c与配置,Oracle 12C静默安装与配置

Oracle 12C已经发布...下面我将跟大家一起学习静默安装与配置Oracle 12C以及示例用户。

Oracle 12C已经发布...下面我将跟大家一起学习静默安装与配置Oracle 12C以及示例用户。

相关阅读:

Linux-6-64下安装Oracle 12C笔记

Oracle 12C新特性之翻页查询

解读 Oracle 12C 的 12 个新特性

1. 获取Oracle 12C

从链接地址获取Oracle 12C安装包与示例用户安装包。

2. 静默安装数据库软件

2.1浏览response file参数

[billi@slc03nuj Disk1]$ sed -n '/^[^#]/p' response/db_install.rsp

oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.1.0

oracle.install.option=

ORACLE_HOSTNAME=

UNIX_GROUP_NAME=

INVENTORY_LOCATION=

SELECTED_LANGUAGES=en

ORACLE_HOME=

ORACLE_BASE=

oracle.install.db.InstallEdition=

oracle.install.db.DBA_GROUP=

oracle.install.db.OPER_GROUP=

oracle.install.db.BACKUPDBA_GROUP=

oracle.install.db.DGDBA_GROUP=

oracle.install.db.KMDBA_GROUP=

oracle.install.db.rac.configurationType=

oracle.install.db.CLUSTER_NODES=

oracle.install.db.isRACOneInstall=

oracle.install.db.racOneServiceName=

oracle.install.db.rac.serverpoolName=

oracle.install.db.rac.serverpoolCardinality=

oracle.install.db.config.starterdb.type=

oracle.install.db.config.starterdb.globalDBName=

oracle.install.db.config.starterdb.SID=

oracle.install.db.ConfigureAsContainerDB=

oracle.install.db.config.PDBName=

oracle.install.db.config.starterdb.characterSet=

oracle.install.db.config.starterdb.memoryOption=

oracle.install.db.config.starterdb.memoryLimit=

oracle.install.db.config.starterdb.installExampleSchemas=

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.DBSNMP=

oracle.install.db.config.starterdb.password.PDBADMIN=

oracle.install.db.config.starterdb.managementOption=

oracle.install.db.config.starterdb.omsHost=

oracle.install.db.config.starterdb.omsPort=

oracle.install.db.config.starterdb.emAdminUser=

oracle.install.db.config.starterdb.emAdminPassword=

oracle.install.db.config.starterdb.enableRecovery=

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=

DECLINE_SECURITY_UPDATES=

PROXY_HOST=

PROXY_PORT=

PROXY_USER=

PROXY_PWD=

PROXY_REALM=

COLLECTOR_SUPPORTHUB_URL=

oracle.installer.autoupdates.option=

oracle.installer.autoupdates.downloadUpdatesLoc=

AUTOUPDATES_MYORACLESUPPORT_USERNAME=

AUTOUPDATES_MYORACLESUPPORT_PASSWORD=

2.2配置response file参数

[billi@slc03nuj Disk1]$ cat /home/billi/binlearn/db_install.rsp

oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.1.0

oracle.install.option=INSTALL_DB_SWONLY

ORACLE_HOSTNAME=slc03nuj

UNIX_GROUP_NAME=dba

INVENTORY_LOCATION=/scratch/billi/app/oraInventory

SELECTED_LANGUAGES=en

ORACLE_HOME=/scratch/billi/app/database/silent/12.1.0.1.0/dbhome

ORACLE_BASE=/scratch/billi/app/database/silent/12.1.0.1.0

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.isRACOneInstall=false

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

DECLINE_SECURITY_UPDATES=true

oracle.installer.autoupdates.option=SKIP_UPDATES

2.3静默安装数据库12C

[billi@slc03nuj Disk1]$ ./runInstaller -silent -ignoreSysPrereqs -ignorePrereq -responseFile /home/billi/binlearn/db_install.rsp

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 500 MB.  Actual 136617 MB    Passed

Checking swap space: must be greater than 150 MB.  Actual 1185 MB    Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-07-20_11-50-04PM. Please wait ...[billi@slc03nuj Disk1]$ You can find the log of this install session at:

/scratch/billi/app/oraInventory/logs/installActions2013-07-20_11-50-04PM.log

The installation of Oracle Database 12c was successful.

Please check '/scratch/billi/app/oraInventory/logs/silentInstall2013-07-20_11-50-04PM.log' for more details.

As a root user, execute the following script(s):

1. /scratch/billi/app/database/silent/12.1.0.1.0/dbhome/root.sh

Successfully Setup Software.

2.4以root用户运行root.sh

[root@slc03nuj Disk1]# /scratch/billi/app/database/silent/12.1.0.1.0/dbhome/root.sh

Check /scratch/billi/app/database/silent/12.1.0.1.0/dbhome/install/root_slc03nuj_2013-07-21_00-26-05.log for the output of root script

3. 配置Net Listener

3.1 浏览netca response file参数

你可能感兴趣的:(安装oracle12c与配置)