[[email protected] ~]# yum-y install \
Binutils \
Elfutils-libelf \
Elfutils-libelf-devel \
Elfutils-libelf-devel-static \
GCC \
gcc-c++ \
GLIBC \
Glibc-common \
Glibc-devel \
Glibc-headers \
Ksh \
Libaio \
Libaio-devel \
libstdc++ \
Libstdc++-devel \
Make \
Sysstat \
UnixODBC \
Unixodbc-devel
[Email protected] ~]# yum-y install compat-libstdc++*
[[email protected] ~]# rpm-q--qf '%{name}-%{version}-%{release} (%{arch}) \ n ' binutils \
Elfutils-libelf-devel \
Elfutils-libelf-devel-static \
GCC \
gcc-c++ \
GLIBC \
Glibc-common \
Glibc-devel \
Glibc-headers \
Kernel-headers \
Ksh \
Libaio \
Libaio-devel \
LIBGCC \
Libgomp \
libstdc++ \
Libstdc++-devel \
Make \
Sysstat \
UnixODBC \
Unixodbc-devel
[Email protected] ~]# Rpm-qa ' compat-libstdc++* '
[Email protected] ~]# Groupadd Oinstall
[[email protected] ~]# Groupadd DBA
[Email protected] ~]# useradd-g oinstall-g dba Oracle
[Email protected] ~]# echo Oracle | passwd--stdin Oracle
[email protected] ~]# cat >>/etc/sysctl.conf <<eof
Kernel.shmmni = 4096
FS.AIO-MAX-NR = 1048576
Fs.file-max = 6815744
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 = 1048576
Eof
[Email protected] ~]# sysctl-p
[email protected] ~]# cat >>/etc/security/limits.conf <<eof
Oracle Soft Nproc 2047
Oracle Hard Nproc 16384
Oracle Soft Nofile 1024
Oracle Hard Nofile 65536
Oracle Soft Stack 10240
Eof
[email protected] ~]# cat >>/etc/pam.d/login <<eof
Session Required Pam_limits.so
Eof
[email protected] ~]# cat >>/etc/profile <<eof
if [$USER = "Oracle"]; Then
if [$SHELL = "/bin/ksh"]; Then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
Eof
[Email protected] ~]# mkdir-p/u01/app/oracle
[Email protected] ~]# chown-r Oracle:oinstall/u01/app
[Email protected] ~]# chmod-r 775/u01/app
[Email protected] ~]# su-oracle
[Email protected] ~]$ Vi. bash_profile
Export oracle_sid=king
Export Oracle_base=/u01/app/oracle
Export Oracle_home= $ORACLE _base/product/11.2.0/db_1
Export path= $ORACLE _home/bin: $PATH
Export display=192.168.1.99:0
Export Nls_lang=american_america. UTF8
Stty Erase ^h
[[email protected] ~]$ source. bash_profile
[Email protected] ~]$ Unzip P13390677_112040_linux-x86-64_1of7.zip
[Email protected] ~]$ Unzip P13390677_112040_linux-x86-64_2of7.zip
[Email protected] ~]$ CD Database/stage/cvu/cv/admin
[Email protected] admin]$ VI cvu_config
Change Cv_assume_distid=oel4 to Cv_assume_distid=oel6
[[Email protected] ~]$ CD database
[Email protected] database]$./runinstaller
[Email protected] ~]#/u01/app/orainventory/orainstroot.sh
[Email protected] ~]#/u01/app/database/11.2.0.4/product/root.sh
Oracle Database 11g Deployment Record