- 论坛徽章:
- 0
|
1系统要求:Redhat 4 /Redhat 3/其他linux系统 1G ram
2实验系统:VMware sever + Redhat 4u5+ 1G ram
3安装步骤和相关调试
a.安装redhat4u5系统,安装系统。安装系统并且安装gnome系统,和系统开发包
系统详细安装软件可以使用ks.cfg实现无人安装
b.检测系统相关软件包,看是否符合oracle的安装文档里的说明
Red Hat Enterprise Linux 3.0 and Asianux 1.0:
make-3.79.1
gcc-3.2.3-34
glibc-2.3.2-95.20
compat-db-4.0.14-5
compat-gcc-7.3-2.96.128
compat-gcc-c++-7.3-2.96.128
compat-libstdc++-7.3-2.96.128
compat-libstdc++-devel-7.3-2.96.128
openmotif21-2.1.30-8
setarch-1.3-1
Red Hat Enterprise Linux 4.0 and Asianux 2.0:
binutils-2.15.92.0.2-13.EL4
compat-db-4.1.25-9
compat-libstdc++-296-2.96-132.7.2
control-center-2.8.0-12
gcc-3.4.3-22.1.EL4
gcc-c++-3.4.3-22.1.EL44
glibc-2.3.4-2.9
glibc-common-2.3.4-2.9
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-22.1
libstdc++-devel-3.4.3-22.1
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
setarch-1.6-1
SUSE Linux Enterprise Server 9:
binutils-2.15.90.0.1.1-32.5
gcc-3.3.3-43.24
gcc-c++-3.3.3-43.24
glibc-2.3.3-98.28
gnome-libs-1.4.1.7-671.1
libstdc++-3.3.3-43.24
libstdc++-devel-3.3.3-43.24
make-3.80-184.1
pdksh-5.2.14-780.1
sysstat-5.0.1-35.1
xscreensaver-4.16-2.6
c 建立oracle管理员组和用户
groupadd dba
groubadd oinstall
groubadd oper
useradd -g oinstall -G dba ,oper oracle -d /opt(opt 为oracle数据库安装目录)
chown -R oracle:dba /opt
d 配置内核参数
/etc/sysctl.conf
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 = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144
suse
/sbin/chkconfig boot.sysctl on
Setting Shell Limits for the oracle User
/etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
/etc/pam.d/login
session required /lib/security/pam_limits.so
session required pam_limits.so
/etc/profile
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
.bash_profile
/opt/.bash_ptofile
ORACLE_BASE=/opt
ORACLE_SID=sales
export ORACLE_BASE ORACLE_SID
unset ORACLE_HOME
unset TNS_ADMIN
e.oracle 图形安装 ,使用oracle 用户登录 安装oracle
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/21327/showart_383468.html |
|