Silent Installation of Oracle 11gR2 software and manual database creation

Source: Internet
Author: User

--- 1. Preparations for installing Oracle
Content of the oracle user. bash_profile File
Umask 022
PATH =/bin:/usr/local/bin:/usr/X11R6/bin
LD_LIBRARY_PATH =/usr/lib:/usr/X11R6/lib
ORACLE_BASE =/u01/app
ORACLE_HOME = $ ORACLE_BASE/product/10.2.0.1/db_1
ORACLE_SID = ora11g
PATH = $ ORACLE_HOME/bin: $ PATH
Export PATH LD_LIBRARY_PATH
Export ORACLE_BASE ORACLE_HOME ORACLE_SID
 
2. After the installation environment is configured, copy the installation media of oracle11gr2 to the server and decompress the package. The two packages are resolved together. Run the command for Silent Installation
./RunInstaller-silent-noconfig-responseFile/u01/app/db_install.rsp
 
The following problems occur during execution:
-----------------------------
[Oracle @ localhost database] $./runInstaller-silent-force-noconfig-responseFile/home/oracle/db_install.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 80 MB. Actual 127047 MB Passed
Checking swap space: must be greater than 150 MB. Actual 4000 MB Passed
Preparing to launch Oracle Universal Installer from/tmp/OraInstall2009-11-30_08-48-47PM. Please wait... [oracle @ localhost database] $ [SEVERE]-Email Address Not Specified
The following parameters are configured in the responsefile file:
DECLINE_SECURITY_UPDATES = true

The above operations only install the oracle 11g R2 database software. Create a database manually.
--------------------
3. Create a database in nomount state. Therefore, you need to create a parameter file for instance startup. Modify the default parameter file of the program: Rename the rule initSID. ora.
Initora11g. ora
Db_name = 'ora11g' -- modify
# Memory_target = 500 m -- Comment out
Sga_target = 200 m -- add
Pga_aggregate_target = 60 m -- add
Processes = 150
Audit_file_dest = '/u01/app/admin/ora11g/adump' -- create a directory
Audit_trail = 'db'
DB _ block_size = 8192
Db_domain =''
Db_recovery_file_dest = '/u01/app/flash_recovery_area' -- create a directory
Db_recovery_file_dest_size = 2G
Diagnostic_dest = '/u01/app' --- modify
Dispatchers = '(PROTOCOL = TCP) (SERVICE = ORCLXDB )'
Open_cursors = 300
Remote_login_passwordfile = 'clusive'
Undo_tablespace = 'undotbs1'
 
Create a directory
Mkdir-p/u01/app/admin/ora11g/adump
Mkdir-p/u01/app/admin/ora11g/dpdump
Mkdir-p/u01/app/flash_recovery_area

---------------------------------------------------------------------------

4. Create a password file: orapwSID naming rules
Orapw + Instance name in linux
Pwd + Instance name in windows
[Oracle @ bkjia dbs] $ orapwd file = orapwora11g password = oracle
[Oracle @ bkjia dbs] $ ls
Hc_ora11g.dat initora11g. ora lkORA11G ora_control1 ora_control2 orapwora11g peshm_ora11g_0

  • 1
  • 2
  • Next Page

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.