# yum -y install gcc make binutils setarch compat-db unixODBC
unixODBC-devel libaio-devel sysstat compat-libstdc++* libstdc*
gcc-c* elfutils*
# service iptables stop
# groupadd oinstall
# groupadd dba
# useradd -g oinstall -G dba oracle
# passwd oracle
# mkdir -p /main/soft
# chmod 777 /main/soft/
# mkdir -p /main/oracle
# chown -R oracle.oinstall /main/oracle/
# chmod -R 755 /main/oracle/
# vi /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 1048576
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576
# sysctl -p
# vi /etc/hosts
127.0.0.1 dodo
# vi /home/oracle/.bash_profile
export ORACLE_BASE=/main/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0.1/db_1
export PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_SID=dodo
umask 022
stty erase ^h
# source /home/oracle/.bash_profile
# vi /etc/security/limits.conf
oracle soft
nproc
2047
oracle hard
nproc
16384
oracle soft
nofile
1024
oracle hard
nofile
65536
# su - oracle
$ cd /main/soft/database
$ ./runInstaller
$ netca
$ dbca