Silent installation and configuration of Oracle 12C

Source: Internet
Author: User

Oracle 12C has been released... Next I will learn about silent installation and configuration of Oracle 12C and the example users.

Installing Oracle 12C in Linux-6-64

New Features of Oracle 12C: Paging Query

12 new features of Oracle 12C

1. Obtain Oracle 12C

Http://www.oracle.com/technetwork/database/enterprise-edition/downloads/database12c-linux-download-1959253.html

Obtain the Oracle 12C installation package and the sample user installation package from the link.

2. Silent Installation of database software

2.1 browse response file Parameters

[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_ages = 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 configure the response file parameter

[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_ages = 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 silent database installation 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:
/Scratch/billi/apps/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 run root. sh as the root user

[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. Configure Net Listener

3.1 browse netca response file Parameters

[Billi @ slc03nuj Disk1] $ sed-n'/^ [^ #]/P' response/netca. rsp
[GENERAL]
RESPONSEFILE_VERSION = "12.1"
CREATE_TYPE = "CUSTOM"
[Oracle.net. ca]
INSTALLED_COMPONENTS = {"server", "net8", "javavm "}
INSTALL_TYPE = "" typical ""
LISTENER_NUMBER = 1
LISTENER_NAMES = {"LISTENER "}
LISTENER_PROTOCOLS = {"TCP; 1521 "}
LISTENER_START = "" LISTENER ""
NAMING_METHODS = {"TNSNAMES", "ONAMES", "HOSTNAME "}
NSN_NUMBER = 1
NSN_NAMES = {"EXTPROC_CONNECTION_DATA "}
NSN_SERVICE = {"PLSExtProc "}
NSN_PROTOCOLS = {"TCP; HOSTNAME; 1521 "}

3.2 edit netca response file Parameters

[Billi @ slc03nuj Disk1] $ cat/home/billi/binlearn/netca. rsp
[GENERAL]
RESPONSEFILE_VERSION = "12.1"
CREATE_TYPE = "CUSTOM" // Note, which is customized. Otherwise, the default value is LISTENER, 1525.
[Oracle.net. ca]
INSTALLED_COMPONENTS = {"server", "net8", "javavm "}
INSTALL_TYPE = "" custom ""
LISTENER_NUMBER = 1
LISTENER_NAMES = {"LISTENER_ST12C "}
LISTENER_PROTOCOLS = {"TCP; 1551 "}
LISTENER_START = "" LISTENER_ST12C ""
NAMING_METHODS = {"TNSNAMES", "ONAMES", "HOSTNAME "}
NSN_NUMBER = 1
NSN_NAMES = {"EXTPROC_CONNECTION_DATA "}
NSN_SERVICE = {"PLSExtProc "}
NSN_PROTOCOLS = {"TCP; HOSTNAME; 1551 "}

3.3 Silent Installation of NET Listener

[Billi @ slc03nuj dbhome] $./bin/netca-silent-responseFile/home/billi/binlearn/netca. rsp

Parsing command line arguments:
Parameter "silent" = true
Parameter "responsefile" =/home/billi/binlearn/netca. rsp
Done parsing command line arguments.
Oracle Net Services Configuration:
Refreshing ing Listener: LISTENER_ST12C
Listener configuration complete.
Oracle Net Listener Startup:
Running Listener Control:
/Scratch/billi/app/database/silent/12.1.0.1.0/dbhome/bin/lsnrctl start LISTENER_ST12C
Listener Control complete.
Listener started successfully.
Profile configuration complete.
Oracle Net Services configuration successful. The exit code is 0

  • 1
  • 2
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.