rhel 5 and rhel 6 安装 oracle 10.2 11.2.0.3 及 12 c 软件包检查命令及YUM 配置









RHEL 5.X安装ORACLE 10G RAC 软件包检查命令:
rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' binutils \
compat-libstdc++-33 \
elfutils-libelf  \
elfutils-libelf-devel \
elfutils-libelf-devel-static \
gcc \
gcc-c++ \
glibc \
glibc-common \
glibc-devel \
glibc-headers \
kernel-headers \
ksh \
libaio \
libaio-devel \
libgcc \
libgomp \
libstdc++ \
libstdc++-devel \
make \
sysstat \
unixODBC \
unixODBC-devel \
libXp






RHEL 5.X 及 RHEL 6.X  安装oracle 11.2.0.3 软件包检查命令:


rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' binutils \
compat-libstdc++-33 \
elfutils-libelf \
elfutils-libelf-devel \
gcc \
gcc-c++ \
glibc \
glibc-common \
glibc-devel \
glibc-headers \
ksh \
libaio \
libaio-devel \
libgcc \
libstdc++ \
libstdc++-devel \
make \
sysstat \
unixODBC \
unixODBC-devel


RHEL 5.X 安装 oracle 12c 软件包检查命令:


rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' binutils \
compat-libstdc++-33 \
gcc \
gcc-c++ \
glibc \
glibc \
glibc-devel \
glibc-devel \
ksh \
libaio \
libaio \
libaio-devel \
libaio-devel \
libgcc \
libstdc++ \
libstdc++ \
libstdc++-devel \
libXext \
libXtst \
libX11 \
libXau \
libXi \
make \
sysstat




RHEL 6.X 安装Oracle 10g 软件包检查命令:
Red Hat Enterprise Linux 6 The following packages (or later versions) must be installed: 
binutils-2.20.51.0.2-5.11.el6 (x86_64)
compat-libcap1-1.10-1 (x86_64)
compat-libstdc++-33-3.2.3-69.el6 (x86_64)
compat-libstdc++-33-3.2.3-69.el6.i686
gcc-4.4.4-13.el6 (x86_64)
gcc-c++-4.4.4-13.el6 (x86_64)
glibc-2.12-1.7.el6 (i686)
glibc-2.12-1.7.el6 (x86_64)
glibc-devel-2.12-1.7.el6 (x86_64)
glibc-devel-2.12-1.7.el6.i686
ksh
libgcc-4.4.4-13.el6 (i686)
libgcc-4.4.4-13.el6 (x86_64)
libstdc++-4.4.4-13.el6 (x86_64)
libstdc++-4.4.4-13.el6.i686
libstdc++-devel-4.4.4-13.el6 (x86_64)
libstdc++-devel-4.4.4-13.el6.i686
libaio-0.3.107-10.el6 (x86_64)
libaio-0.3.107-10.el6.i686
libaio-devel-0.3.107-10.el6 (x86_64)
libaio-devel-0.3.107-10.el6.i686
make-3.81-19.el6
sysstat-9.0.4-11.el6 (x86_64)


RHEL 6.X 安装Oracle 12c  软件包检查命令:






rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' binutils \
binutils \
glibc \
libgcc \
libstdc++ \
libaio \
libXext \
libXtst \
libX11 \
libXau \
libxcb \
libXi \
make \
sysstat \
compat-libcap1 \
compat-libstdc++-33 \
gcc \
gcc-c++ \
glibc-devel \
ksh \
libstdc++ \
libaio-devel \
cloog-ppl \
cpp \
glibc-headers \
kernel-headers \
mpfr \
ppl




参考文档 Oracle Database (RDBMS) on Unix AIX,HP-UX,Linux,Solaris Operating Systems
 Installation and Configuration Requirements Quick Reference (12.1) (Doc ID 1587357.1)
 
 
 RHEL 6.X yum 配置:
 
 [root@node3 /]# mount -t iso9660 -o loop /rhel.iso /mnt
 [root@localhost yum.repos.d]#vi myyum.repo
将文件编辑如下
[root@localhost yum.repos.d]# more myyum.repo 
[Server]
name=rhel-Server
baseurl=file:///mnt/Server
enabled=1
#gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release


[ScalableFileSystem]
name=rhel-ScalableFileSystem
baseurl=file:///mnt/ScalableFileSystem
enabled=1
#gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release


[LoadBalancer]
name=rhel-LoadBalancer
baseurL=file:///mnt/LoadBalancer
enabled=1
#gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release


[ResilientStorage]
name=rhel-ResilientStorage
baseurl=file:///mnt/ResilientStorage
enabled=1
#gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release


[HighAvailability]
name=rhel-HighAvailability
baseurl=file:///mnt/HighAvailability
enabled=1
#gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release




编辑/etc/yum.conf如下
[root@localhost yum.repos.d]# more /etc/yum.conf 
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
#gpgcheck=1(此行要注释)
plugins=1


# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h


# Default.
# installonly_limit = 3


# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d







来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29677883/viewspace-1170249/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29677883/viewspace-1170249/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值