风哥教程

培训 . 交流 . 分享
Make progress together!

在RHEL AS4 linux 32位上安装oracle 9.2.0.4数据库的过程

[复制链接]
内容发布:paulyi| 发布时间:2014-1-22 22:08:57
在RHEL AS4 linux 32位上安装oracle 9.2.0.4数据库的过程

1.安装以下包和补丁:
Operating System Requirements
Before installing Oracle9i release 2 on Red Hat Enterprise Linux 4, you must perform. the following steps:
Download and Install Required Packages
Required packages for 32bit (x86) architecture:
binutils-2.15.92.0.2-21
compat-db-4.1.25-9
compat-gcc-32-3.2.3-47.3
compat-gcc-32-c++-3.2.3-47.3
compat-libcom_err-1.0-5
compat-libcwait-2.1-1
compat-libgcc-296-2.96-132.7.2
compat-libstdc++-296-2.96-132.7.2
compat-libstdc++-33-3.2.3-47.3
gcc-3.4.6-3.1
gcc-c++-3.4.6-3.1
glibc-2.3.4-2.25
glibc-common-2.3.4-2.25
glibc-devel-2.3.4-2.25
glibc-headers-2.3.4-2.25
glibc-kernheaders-2.4-9.1.98.EL
libgcc-3.4.6-3.1
make-3.80-6.EL4.i386
Many of these packages depend on other packages.
The compat-oracle-rhel4-1.0-3 and compat-libcwait-2.0-1 packages are available from patch 4198954.(只针对32位)
安装4198954补丁(只针对32位):
使用root用户:
$ unzip p4198954_21_LINUX.zip
Archive: p4198954_21_LINUX.zip
creating: 4198954/
inflating: 4198954/compat-oracle-rhel4-1.0-5.i386.rpm
inflating: 4198954/compat-libcwait-2.0-2.i386.rpm
inflating: 4198954/README.txt
#
Note that the compat-oracle-rhel4 and compat-libcwait packages require the xorg-x11-deprecated-libs and xorg-x11-deprecated-libs-devel packages, see above. To install the two RPMs from the 4198954 patch, run:
# rpm -Uvh 4198954/compat-oracle-rhel4-1.0-5.i386.rpm \
4198954/compat-libcwait-2.0-2.i386.rpm


2) 安装前的准备工作:
2.1. Configuring Kernel Parameters
a. Using any text editor, create or edit the /etc/sysctl.conf file and
add or edit lines similar to the following: (以下参数是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
By specifying the values in the /etc/sysctl.conf file, they persist
when you reboot the system.
2.2 Setting Shell Limits for the oracle User
To increase the shell limits:
1. Add the following lines to /etc/security/limits.conf file:
oracle hard nofile 65536
oracle soft nofile 65536
oracle hard nproc 16384
oracle soft nproc 16384
3.创建oracle用户组和文件目录
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle
passwd oracle
mkdir -p /orasys/oracle/product/9.2.0
chown -R oracle:oinstall /orasys
chmod 755 -R /orasys

4.设置oracle用户环境变量 vi /home/oracle/.bash_profile
export LD_ASSUME_KERNEL=2.4.19
export ORACLE_BASE=/orasys/oracle
export ORACLE_HOME=$ORACLE_BASE/product/9.2.0
export ORACLE_SID=ora9i
export ORACLE_TERM=xterm
export NLS_LANG=AMERICAN;
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
export PATH=$PATH:$ORACLE_HOME/bin


5.用oracle用户登录安装
先解压压缩文件
gunzip ship_9204_linux_disk1.cpio.gz
gunzip ship_9204_linux_disk2.cpio.gz
gunzip ship_9204_linux_disk3.cpio.gz
cpio -idmv < ship_9204_linux_disk1.cpio
cpio -idmv < ship_9204_linux_disk2.cpio
cpio -idmv < ship_9204_linux_disk3.cpio
下面就是按图形界面来操作了



上一篇:oracle 11g RMAN新特性active database duplication createing standby
下一篇:oracle rman开始备份归档日志的时候,是不是会自动切换redo?
回复

使用道具 举报

1框架
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

热门文章教程

  • 风哥Oracle数据库巡检工具V1.0(附2.6网页
  • 实战PHP与MySQL权威指南PDF电子书下载
  • 大数据技术与应用入门培训教程(电子版下载
  • Oracle 12cR2 九大新功能全面曝光_详解云数
  • Oracle OCP认证考试IZ0-053题库共712题数据
  • MySQL5权威指南(第3版)PDF电子版下载
快速回复 返回顶部 返回列表