RHEL5.5 64位下安装Oracle 11g 64位安装前置条件的两种方法
RHEL5.5 64位下安装Oracle 11g 64位安装前置条件(即RPM包)有如下两种方式:
一、RPM方式:安装Oracle所需的全部运行库(在RHEL光驱的Server目录下)
以root登录,执行如下命令:
cd /media/RHEL_5.5\ x86_64\ DVD/Server
rpm -Uvh binutils-2.*
rpm -Uvh compat-libstdc++-33*
rpm -Uvh compat-libstdc++-33*.i386.rpm
rpm -Uvh elfutils-libelf*
rpm -Uvh gcc-4.*
rpm -Uvh gcc-c++-4.*
rpm -Uvh glibc-2.*
rpm -Uvh glibc-common-2.*
rpm -Uvh glibc-devel-2.*
rpm -Uvh glibc-headers-2.*
rpm -Uvh ksh*
rpm -Uvh libaio-0.*
rpm -Uvh libaio-devel-0.*
rpm -Uvh libgomp-4.*
rpm -Uvh libgcc-4.*
rpm -Uvh libstdc++-4.*
rpm -Uvh libstdc++-devel-4.*
rpm -Uvh make-3.*
rpm -Uvh sysstat-7.*
rpm -Uvh unixODBC-2.*
rpm -Uvh unixODBC-devel-2.*
rpm -Uvh numactl-devel-*
二、Yum方式:在线安装
以root账号登录,输入:
cd /etc/yum.repos.d OL5 wget http://public-yum.oracle.com/public-yum-el5.repo
OL6 wget http://public-yum.oracle.com/public-yum-ol6.repo
yum install oracle-validated