- 论坛徽章:
- 0
|
我在suse 9 企业版上总结了一下:
1.linux上必须安装的包有
gcc-3.8.3-43
gcc-c++3.3.3-43
glibc-2.3-98
libaio-0.3.98
libaio-devel-0.3.98
make-3.80
openmotif-libs-2.2.2-519.2
2.创建用户和组
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/useradd -g oinstall -G dba oracle
3.修改系统内核参数
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
(这块和好多文档上写的不一样。多了net.core)
把上面加入到/etc/sysctl.conf
然后执行sysctl -p
4.Add the following lines in the /etc/security/limits.conf file:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
5.dd the following line to the /etc/pam.d/login file, if it does not already exist:
session required /lib/security/pam_limits.so
6.把下面内容加入到.profile中
umask 022
ORACLE_BASE=/u01/app/oracle/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
ORACLE_SID=orcl
PATH=$ORACLE_HOME/bin PATH
export PATH
export ORACLE_BASE ORACLE_HOME ORACLE_SID
7.安装oracle步骤省略 |
|