我在RHEL6 32位上安装。使用GNOME图形界面,安装的时候把Development Tools里
的开发包都安装上,或者快速安装后搭建本地yum源再利用群组安装也可。值得注意的是
swap要求至少3G,我的机器为2G物理内存。
安装过程分为两步,一是修改系统参数,二是软件及数据库安装。
修改系统参数
step1: vi /etc/sysctl.conf, 添加如下参数:
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 1073741824
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
保存并使之生效
/sbin/sysctl -p
如果有如下提示错误,忽略,因为即使未修改参数也提示有这个错误
error: “net.bridge.bridge-nf-call-ip6tables” is an unknown key
error: “net.bridge.bridge-nf-call-iptables” is an unknown key
error: “net.bridge.bridge-nf-call-arptables” is an unknown key
注意: kernel.shmmax’s 的值是物理内存的一半。 我的是2G内存,所以是1073741824
step2: vi /etc/security/limits.conf,添加:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
step3: vi /etc/pam.d/login,添加参数:
session required pam_limits.so step4:vi /etc/profil
的开发包都安装上,或者快速安装后搭建本地yum源再利用群组安装也可。值得注意的是
swap要求至少3G,我的机器为2G物理内存。
安装过程分为两步,一是修改系统参数,二是软件及数据库安装。
修改系统参数
step1: vi /etc/sysctl.conf, 添加如下参数:
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 1073741824
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
保存并使之生效
/sbin/sysctl -p
如果有如下提示错误,忽略,因为即使未修改参数也提示有这个错误
error: “net.bridge.bridge-nf-call-ip6tables” is an unknown key
error: “net.bridge.bridge-nf-call-iptables” is an unknown key
error: “net.bridge.bridge-nf-call-arptables” is an unknown key
注意: kernel.shmmax’s 的值是物理内存的一半。 我的是2G内存,所以是1073741824
step2: vi /etc/security/limits.conf,添加:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
step3: vi /etc/pam.d/login,添加参数:
session required pam_limits.so step4:vi /etc/profil