Redhat 6 上的 Oracle 11g R2

Redhat 6 上的 Oracle 11g R2

我有 Solaris 背景,并且是 RHEL 的新手,我想在其上安装 Oracle 11g。

我下载了 Oracle 文档,其中说明了如何为 RHEL 6 安装它。

必须安装适用于 Oracle Linux 6 和 Red Hat Enterprise Linux 6 的以下或更高版本的软件包:

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
11
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)

我尝试安装每个包。我下载这个包:compat-libcap1-1.10-1.src.rpm

rpm -i compat-libcap1-1.10-1.src.rpm

我得到了这个输出:

warning: compat-libcap1-1.10-1.src.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root

有人建议我解决这个问题:

    # yum install mock

and create the ‘mockbuild’ user

    # useradd -s /sbin/nologin mockbuild

当我尝试使用时:

yum install mock

我得到这个输出:

Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
No package mock available.
Error: Nothing to do

我无法使用这些命令中的任何yum一个rpm

答案1

我已经成功安装了oracle 11g(几次)http://www.oracle-base.com/articles/11g/oracle-db-11gr2-installation-on-oracle-linux-6.php指导。

我已经安装在 CentOS 6.x、RHEL 6.x 上

当我在 CentOS 上安装 oracle 11g 时,出现了关于某些软件包未安装的警告。但我忽略了警告,一切都很好。 Oracle 11g 无法识别新包,因此当警告出现时您可以忽略。

相关内容