yum包
rpm -q binutils \ compat-libstdc++-33 \ elfutils-libelf \ gcc \ gcc-c++ \ glibc \ glibc-common \ glibc-devel \ glibc-headers \ ksh \ libaio \ libaio-devel \ libgomp \ libgcc \ libstdc++ \ libstdc++-devel \ make \ sysstat \ unixODBC \ unixODBC-devel \ numactl-devel \ perl-Env \ elfutils-libelf-devel | grep “not installed”
yum install -y ksh yum install -y libaio-devel yum install -y unixODBC yum install -y unixODBC-devel yum install -y numactl-devel yum install -y perl-Env yum install -y elfutils-libelf-devel
2.1.5 修改/etc/security/limits.conf
2.1.6 修改/etc/pam.d /login
2.1.7 修改/etc/sysctl.conf
[root@henry ~]# mount /dev/sdb1 /u01/
[root@henry ~]# mount /dev/sdc1 /soft/
[root@henry ~]# vim /etc/fstab
[root@henry ~]# cat /etc/fstab
UUID=54fc031a-6dad-4b11-8412-0aed4c10beac /u01 xfs defaults 0 0
UUID=24598e52-5947-4676-9836-f0c1c66b4170 /soft xfs defaults 0 0
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
oracle hard stack 32768
[root@henry ~]# vim /etc/pam.d/login
#ORACLE SETTING
session required pam_limits.so
[root@henry ~]# vim /etc/sysctl.conf
[root@henry ~]# sysctl -p
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmmax = 4294967295
kernel.shmall = 268435456
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
原文地址:http://www.cnblogs.com/zzg520/p/16897809.html