Oracle Silent Installation tutorial, oracle Silent Installation

Source: Internet
Author: User

Oracle Silent Installation tutorial, oracle Silent Installation

In this article

>

Content

>

Indicates that the content is appended to the input file, which is part of the parameter required in the file.

<

Content

<

This means that the content is all in the current file. You can delete the file, create the file, and enter the content.

Installation environment, CentOS 6.8, VMware workstation PRO 12

Hardware environment, RAM: 4 GB, SWAP: 8 GB

Host Name localhost

Mount the DVD installation disc

※Prepare the installation environment ※

# Yum install binutils compat-libcap1 libXp-devel compat-libstdc ++-33 elfutils-libelf elfutils-devel

Elfutils-libelf-devel-static gcc-c ++ glibc-common glibc-devel kernel-headers ksh libaio-devel libgcc libgomp libstdc ++

Libstdc ++-devel make sysstat unixODBC-devel readline-devel-y

※Upload the oracle 11G Installation File to/v ※

<

/V/database

<

※Modify/v/database file permissions ※

# Chmod-R 777/v/database

# Chown-R oracle. oinstall/v/database

※Create users and groups ※

# Groupadd-g 501 oinstall

# Groupadd-g 502 dba

# Groupadd-g 503 running

# Useradd-u 502-g oinstall-G dba, role oracle

# Echo oracle | passwd -- stdin oracle

※Configure the user variable file and add the Oracle directory ※

(This step is recommended for creating a new session window)

# Su-oracle

# Vim/home/oracle/. bash_profile

>

PATH = $ PATH: $ HOME/bin

Export ORACLE_BASE =/app/oracle

Export ORACLE_HOME =/app/oracle/product

Export TEMP =/tmp

Export TEPDIR =/tmp

Export ORACLE_SID = orcl

Export PATH = $ ORACLE_HOME/bin: $ PATH

Alias sqlplus = '/usr/local/bin/rlwrap sqlplus'

Alias rman = '/usr/local/bin/rlwrap rman'

>

# Mkdir/app/oracle-pv

# Chmod 775-R/app

# Chown-R oracle. oinstall/app

※Configure the system environment file ※

# Vim/etc/security/limits. conf

>

Oracle soft nproc 2047

Hard nproc 16384

Oracle soft nofile 1024

Oracle hard nofile 65536

>

# Vim/etc/sysctl. conf

>

Kernel. shmall = 2097152

Kernel. shmmax = 1047853056

Kernel. shmmni = 4096

Kernel. sem = 250 32000 100 128

Fs. file-max = 6815744

Fs. aio-max-nr = 1048576

Net. core. wmem_max = 1048586

Net. ipv4.ip _ local_port_range = 9000 65500

Net. core. rmem_default = 262144

Net. core. rmem_max = 4194304

Net. core. wmem_default = 262144

>

# Sysctl-p

# Vim/etc/oraInst. loc

>

Inventory_loc =/app/oraInventory

Inst_group = oinstall

>

# Chown oracle: oinstall/etc/oraInst. loc

# Chmod 664/etc/oraInst. loc

※Create an Oracle File Installation Directory ※

# Mkdir-vp/app/oracle/app/oraInventory/app/oradata/

# Chown-R oracle: oinstall/app/oracle/app/oraInventory/app/oradata/

# Chmod-R 775/app/oracle/app/oraInventory/app/oradata/

※Oracle installation response template db_install.rsp file ※

# Cp/v/database/response/*/app/oracle/

# Vim/app/oracle/db_install.rsp

<

Oracle. install. responseFileVersion =/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0

Oracle. install. option = INSTALL_DB_SWONLY

ORACLE_HOSTNAME = db

UNIX_GROUP_NAME = oinstall

INVENTORY_LOCATION =/app/oraInventory

Selected_ages = en, zh_CN, zh_TW

ORACLE_HOME =/app/oracle/pro

ORACLE_BASE =/app/oracle

Oracle. install. db. InstallEdition = EE

Oracle. install. db. EEOptionsSelection = false

Oracle. install. db. optionalComponents = oracle. rdbms. partitioning: 11.2.0.3.0, oracle. oraolap: 11.2.0.3.0, oracle. rdbms. dm: 11.2.0.3.0, oracle. rdbms. dv: 11.2.0.3.0, oracle. rdbms. lbac: 11.2.0.3.0, oracle. rdbms. rat: 11.2.0.3.0

Oracle. install. db. DBA_GROUP = dba

Oracle. install. db. OPER_GROUP = oinstall

Oracle. install. db. CLUSTER_NODES =

Oracle. install. db. isRACOneInstall =

Oracle. install. db. racOneServiceName =

Oracle. install. db. config. starterdb. type = GENERAL_PURPOSE

Oracle. install. db. config. starterdb. globalDBName = orcl

Oracle. install. db. config. starterdb. SID = orcl

Oracle. install. db. config. starterdb. characterSet = AL32UTF8

Oracle. install. db. config. starterdb. memoryOption = true

Oracle. install. db. config. starterdb. memoryLimit =

Oracle. install. db. config. starterdb. installExampleSchemas = false

Oracle. install. db. config. starterdb. enableSecuritySettings = true

Oracle. install. db. config. starterdb. password. ALL = oracle

Oracle. install. db. config. starterdb. password. SYS =

Oracle. install. db. config. starterdb. password. SYSTEM =

Oracle. install. db. config. starterdb. password. SYSMAN =

Oracle. install. db. config. starterdb. password. DBSNMP =

Oracle. install. db. config. starterdb. control = DB_CONTROL

Oracle. install. db. config. starterdb. gridcontrol. gridControlServiceURL =

Oracle. install. db. config. starterdb. automatedBackup. enable = false

Oracle. install. db. config. starterdb. automatedBackup. osuid =

Oracle. install. db. config. starterdb. automatedBackup. ospwd =

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

DECLINE_SECURITY_UPDATES = true

PROXY_HOST =

PROXY_PORT =

PROXY_USER =

PROXY_PWD =

PROXY_REALM =

COLLECTOR_SUPPORTHUB_URL =

Oracle. installer. autoupdates. option =

AUTOUPDATES_MYORACLESUPPORT_USERNAME =

AUTOUPDATES_MYORACLESUPPORT_PASSWORD =

<

# Chown-R oracle: oinstall/app/oracle/app/oraInventory/app/oradata/

# Chmod-R 775/app/oracle/app/oraInventory/app/oradata/

※Install Oracle ※

#/V/database/runInstaller-silent-force-ignorePrereq-responseFile/app/oracle/db_install.rsp

※Monitoring Oracle installation progress ※

# Watch-d-n 2 'du-sh/app/oracle '※monitoring Oracle installation progress ※#/usr/oracle/oraInventory/orainstRoot. sh #/usr/oracle/product/11.2.0/db_1/root. sh

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.