日期:2014-05-16  浏览次数:20495 次

redhat 企业版5上安装oracle11g

安装环境

Linux服务器:redhat 企业版 32位

Oracle :Oracle11gR2 32位

系统环境检查

使用命令

rpm -qa | grep

rpm -qa | grep compat-libstdc++-33-3.2.3-61

rpm -qa | grep binutils-2.17.50.0.6-2.el5

rpm -qa | grep binutils-2.17.50.0.6-2.el5

rpm -qa | grep elfutils-libelf-0.125-3.el5

rpm -qa | grep elfutils-libelf-devel-0.125

rpm -qa | grep gcc-4.1.1-52

rpm -qa | grep gcc-c++-4.1.1-52

rpm -qa | grep glibc-2.5-12

rpm -qa | grep glibc-common-2.5-12

rpm -qa | grep glibc-devel-2.5-12

rpm -qa | grep glibc-headers-2.5-12

rpm -qa | grep libaio-0.3.106(一般没有安装)

rpm -qa | grep libaio-devel-0.3.106

rpm -qa | grep libgcc-4.1.1-52

rpm -qa | grep libstdc++-4.1.1

rpm -qa | grep libstdc++-devel-4.1.1-52.e15

rpm -qa | grep make-3.81-1.1

rpm -qa | grep numactl-devel-0.9.8.i386(一般没有安装)

rpm -qa | grep sysstat-7.0.0 (一般没有安装)

rpm -q unixODBC
rpm -q unixODBC-devel

 

建立用户和目录

[root@localhost /]# vi user.sh

groupadd dba

groupadd oinstall

useradd -g oinstall -g dba -m oracle

passwd  oracle

[root@localhost /]#chmod 700 user.sh

[root@localhost /]# ./user.sh

Changing password for user oracle.

New UNIX password:

BAD PASSWORD: it is too simplistic/systematic