Non-graphical Silent Installation of Oracle 11g

Source: Internet
Author: User

Install and configure Oracle11g in the silent mode of the response File
 

1. Hardware requirements:
 
Memory: grep-I memtotal/proc/meminfo requires at least 1 GB of memory
 
Swap partition grep-I swaptotal/proc/meminfo

If your memory is less than 2 GB, the swap partition is 1.5 times the memory.
 
If the memory is between 2G-8G, the swap partition should be equal to the memory size.
 
If the memory is greater than 8 GB, the swap partition should be 0.75 times the memory.

Note: The preceding swap partitions are only recommended in size. This setting is not required during actual installation.
 
Hard Disk: 4.5 GB for df-k Enterprise Edition, the hard disk space should be at least 5 GB for Installation
 
2. Preparations before installation
 
Create an oracle account and user group, and create an installation directory
 
Edit/etc/sysctl. conf and/etc/security/limits. conf to modify system parameters.
 
Edit/etc/profile,/home/oracle/. bash_profile,/home/oracle/. bashrc to modify the oracle user configuration file.
 
Create the/etc/oraInst. loc file and set oracle inventory
 
You can use the following script to set it automatically (OS: RHEL6.2)
 
#! /Bin/bash
 
 
 
Yum-y install binutils compat-libcap1 compat-libstdc ++ gcc-c ++ glibc-devel ksh libgcc libstdc ++-devel libaio sysstat libaio-devel elfutils-libelf- devel unixODBC-devel
 
 
 
# Unzip linux.x64_11gR2_database_1of2.zip
 
# Unzip linux.x64_11gr2_database204 f2.zip
 
# Find database/-name "db_install.rsp" | xargs-I cp {}.
 
 
 
ORACLE_BASE =/DataBase/oracle
 
 
 
ORACLE_PASSWORD = "oracle_admin"
 
Groupadd oinstall
 
Groupadd dba
 
Useradd-m-g oinstall-G dba oracle
 
Echo "oracle: $ ORACLE_PASSWORD" | chpasswd
 
Mkdir-p $ ORACLE_BASE
 
Chown-R oracle: oinstall $ ORACLE_BASE
 
Chmod-R 775 $ ORACLE_BASE
 
Cat>/etc/sysctl. conf <EOF
 
 
 
Fs. aio-max-nr = 3145728
 
 
 
Fs. file-max = 6815744
 
 
 
Kernel. shmall = 1073741824
 
 
 
Kernel. shmmax = 4398046511104
 
 
 
Kernel. shmmni = 4096
 
 
 
Kernel. sem = 250 32000 100 142
 
 
 
Net. ipv4.ip _ local_port_range = 9000 65500
 
 
 
Net. core. rmem_default = 262144
 
 
 
Net. core. rmem_max = 4194304
 
 
 
Net. core. wmem_default = 262144
 
 
 
Net. core. wmem_max = 1048576
 
 
 
EOF

  • 1
  • 2
  • 3
  • 4
  • 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.