您好,欢迎访问一九零五行业门户网

RHEL5.1 下安装Oracle 10.2.0.1

安装环境:系统:rhel 5 ,安装时选择中文硬件环境:p4 3.4g、 2g memory磁盘分区: boot:100m; swap:1998m;其余全部是 / 分
安装环境:
系统:rhel 5 ,安装时选择中文
硬件环境:p4 3.4g、 2g memory
磁盘分区: boot:100m; swap:1998m;其余全部是 / 分区的;
oracle 用的是 10201_database_linux32,
一.rhel环境
1.安装rhel5.1
序列号: 2515dd4e215125dd
定制安装:开发包全装上、出于个人需要,装上了apache、mysql
2.查询所需安装包是否完整(缺少补啥)
rpm -q gcc make binutils openmotif setarch compat-db compat-gcc compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel
3.检查内存和磁盘
# grep memtotal /proc/meminfo
memtotal:512236 kb
# grep swaptotal /proc/meminfo
swaptotal:1574360 kb
#df –h
4.os参数要求vi /etc/sysctl.conf , 在行末添加以下内容
#use for oracle
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
再运行sysctl -p应用以上参数
5.vi /etc/security/limits.conf 行末添加以下内容
#use for oracle
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
6. vi /etc/pam.d/login 行末添加以下内容
session required pam_limits.so
7. vi /etc/selinux/config 确保以下内容
selinux=disabled
关闭seliinux
8.vi /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
export oracle_base=/u01/app/oracle
export oracle_sid=orcl
9.复制 oracle 10.2.0.1安装文件过来
10.因为默认rhel5.1不支持10.2,0.1,修改安装文件
# vi /10201_database_linux32/database/install/oraparam.ini
### #[certified versions]
linux=redhat-3,suse-9,redhat-4,redhat-5,unitedlinux-1.0,asianux-1,asianux-2]
再添加
[linux-redhat-5.0-optional]
temp_space=80
swap_space=150
min_display_colors=256
11.修改目录权限
#chmod -r 777 10201_database_linux32

其它类似信息

推荐信息