Linux RHEL5.4 64 system installation Oracle 11gR2 64-bit

Source: Internet
Author: User

Binutils-2.17.50.0.6
Compat-libstdc ++-33-3.2.3
Compat-libstdc ++-33-3.2.3 (32 bit)
Elfutils-libelf-0.125
Elfutils-libelf-devel-0.125
Gcc-4.1.2
Gcc-c ++-4.1.2
Glibc-2.5-24
Glibc-2.5-24 (32 bits)
Glibc-common-2.5
Glibc-devel-2.5

Glibc-devel-2.5 (32 bits)
Glibc-headers-2.5
Ksh-20060214
Libaio-0.3.106
Libaio-0.3.106 (32 bits)
Libaio-devel-0.3.106
Libaio-devel-0.3.106 (32 bits)
Libgcc-4.1.2
Libgcc-4.1.2 (32 bits)
Libstdc ++ 4.1.2
Libstdc ++-4.1.2 (32 bit)
Libstdc ++-devel 4.1.2
Make-3.81
Sysstat-7.0.2
UnixODBC-2.2.11
UnixODBC-2.2.11 (32 bits)
UnixODBC-devel-2.2.11
UnixODBC-devel-2.2.11 (32 bits)

[Root @ bkjia ~] # Rpm-q gcc
Gcc-4.1.2-44.el5
[Root @ bkjia ~] # Rpm-q sysstat
Package sysstat is not installed

[Root @ bkjia Server] # rpm-ivh sysstat-7.0.2-3.el5.x86_64.rpm
Warning: sysstat-7.0.2-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID
1e5e0159
Preparing... ######################################## ### [100%]
1: sysstat ####################################### #### [100%]

[Root @ bkjia Server] # vi/etc/sysctl. conf
Fs. aio-max-nr = 1048576
Fs. file-max = 6815744
Kernel. shmall = 2097152
Kernel. shmmax = 536870912
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
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 = 1048586
[Root @ bkjia ~] # Sysctl-p

[Root @ bkjia ~] # Groupadd-g 502 dba

[Root @ bkjia ~] # Groupadd oinstall

3.2
[Root @ bkjia ~] # Useradd-u 502-g oinstall-G dba Oracle

[Root @ bkjia ~] # Passwd oracle
Changing password for user oracle.
New UNIX password:
Bad password: it is based on a dictionary word
Retype new UNIX password:
Passwd: all authentication tokens updated successfully.
3.3 Shell Limits


Vi/etc/security/limits. conf
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
Vi/etc/pam. d/login
Session required pam_limits.so


[Root @ bkjia ~] # Mkdir/data/ora11g
[Root @ bkjia ~] # Mkdir/data/ora11g/product
[Root @ bkjia ~] # Mkdir/data/ora11g/oradata
[Root @ bkjia ~] # Mkdir/data/software
Unzip
Linux.x64_11gR2_database_1of2.zip
Linux.x64_11gr2_databasesilicate f2.zip
/Data/software
[Root @ bkjia ~] # Chown-R oracle: oinstall/data/ora11g
[Root @ bkjia ~] # Chown-R oracle: oinstall/data/software

Vi/home/oracle/. bash_profile
Export TMP =/tmp
Export TMPDIR = $ TMP
Export ORACLE_BASE =/data/ora11g
Export ORACLE_HOME = $ ORACLE_BASE/product/11.2.0/db_1
Export ORACLE_SID = jssdb
Export ORACLE_TERM = xterm
Export PATH =/usr/sbin: $ PATH

Export PATH = $ ORACLE_HOME/bin: $ PATH
Export
LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/lib64:/usr/lib64:/usr/local/lib64:/usr/X11R6/lib64/
Export
CLASSPATH = $ ORACLE_HOME/JRE: $ ORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib
Export LD_ASSUME_KERNEL = 2.6.18
Export NLS_LANG = "AMERICAN_AMERICA.ZHS16GBK"
Umask 022
If [$ USER = "oracle"]; then
If [$ SHELL = "/bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
[Root @ bkjia ~] # Xhost +
Access control disabled, clients can connect from any host
[Root @ bkjia ~] # Su-oracle
[Oracle @ bkjia ~] $

[Oracle @ bkjia ~] $ Cd/data/software/database/
[Oracle @ bkjia database] $./runInstaller
Starting Oracle Universal Installer...

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.