ORACLE LINUX 使用本地源進行oracle-rdbms-server-11gR2-preinstall安裝

renjixinchina發表於2014-06-30

1 下載oracle-rdbms-server-11gR2-preinstall

下載地址:

2 配置本地yum

  [root@rac02 ~]# mount /dev/cdrom  /mnt

mount: block device /dev/sr0 is write-protected, mounting read-only

/etc/yum.repos.d目錄下編輯

 public-yum-ol6.repo or ULN-base.repo檔案 修改所有enabled=0.

建立字尾名為repo的檔案 :olinux6.repo

[OLINUX]

name=Oracle Linux 6 x86_64

baseurl=file:///mnt/Server

enabled=1

gpgcheck=0

清除原有的yum資訊

yum clean all

3 yum install oracle-rdbms-server-11gR2-preinstall

[root@rac01 ~]# cd Downloads/

[root@rac01 Downloads]# ls

oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64.rpm

[root@rac01 Downloads]# yum install oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64.rpm

Loaded plugins: refresh-packagekit, security

Setting up Install Process

Examining oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64.rpm: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64

Marking oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64.rpm to be installed

Resolving Dependencies

--&gt Running transaction check

---&gt Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-7.el6 will be installed

--&gt Processing Dependency: compat-libcap1 for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64

--&gt Processing Dependency: compat-libstdc++-33 for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64

--&gt Processing Dependency: gcc for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64

--&gt Processing Dependency: gcc-c++ for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64

--&gt Processing Dependency: glibc-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64

--&gt Processing Dependency: ksh for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64

--&gt Processing Dependency: libaio-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64

--&gt Processing Dependency: libstdc++-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64

--&gt Running transaction check

---&gt Package compat-libcap1.x86_64 0:1.10-1 will be installed

---&gt Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed

---&gt Package gcc.x86_64 0:4.4.7-3.el6 will be installed

--&gt Processing Dependency: cpp = 4.4.7-3.el6 for package: gcc-4.4.7-3.el6.x86_64

--&gt Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-3.el6.x86_64

---&gt Package gcc-c++.x86_64 0:4.4.7-3.el6 will be installed

--&gt Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.7-3.el6.x86_64

---&gt Package glibc-devel.x86_64 0:2.12-1.107.el6 will be installed

--&gt Processing Dependency: glibc-headers = 2.12-1.107.el6 for package: glibc-devel-2.12-1.107.el6.x86_64

--&gt Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.107.el6.x86_64

---&gt Package ksh.x86_64 0:20100621-19.el6 will be installed

---&gt Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed

---&gt Package libstdc++-devel.x86_64 0:4.4.7-3.el6 will be installed

--&gt Running transaction check

---&gt Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed

--&gt Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64

--&gt Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64

---&gt Package cpp.x86_64 0:4.4.7-3.el6 will be installed

---&gt Package glibc-headers.x86_64 0:2.12-1.107.el6 will be installed

--&gt Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.107.el6.x86_64

--&gt Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.107.el6.x86_64

---&gt Package mpfr.x86_64 0:2.4.1-6.el6 will be installed

--&gt Running transaction check

---&gt Package kernel-headers.x86_64 0:2.6.32-358.el6 will be installed

---&gt Package ppl.x86_64 0:0.10.2-11.el6 will be installed

--&gt Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================

 Package                                           Arch                Version                         Repository                                                           Size

=================================================================================================================================================================================

Installing:

 oracle-rdbms-server-11gR2-preinstall              x86_64              1.0-7.el6                       /oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64               32 k

Installing for dependencies:

 cloog-ppl                                         x86_64              0.15.7-1.2.el6                  HEL6-Repository                                                      93 k

 compat-libcap1                                    x86_64              1.10-1                          HEL6-Repository                                                      17 k

 compat-libstdc++-33                               x86_64              3.2.3-69.el6                    HEL6-Repository                                                     183 k

 cpp                                               x86_64              4.4.7-3.el6                     HEL6-Repository                                                     3.7 M

 gcc                                               x86_64              4.4.7-3.el6                     HEL6-Repository                                                      10 M

 gcc-c++                                           x86_64              4.4.7-3.el6                     HEL6-Repository                                                     4.7 M

 glibc-devel                                       x86_64              2.12-1.107.el6                  HEL6-Repository                                                     973 k

 glibc-headers                                     x86_64              2.12-1.107.el6                  HEL6-Repository                                                     604 k

 kernel-headers                                    x86_64              2.6.32-358.el6                  HEL6-Repository                                                     2.3 M

 ksh                                               x86_64              20100621-19.el6                 HEL6-Repository                                                     686 k

 libaio-devel                                      x86_64              0.3.107-10.el6                  HEL6-Repository                                                      13 k

 libstdc++-devel                                   x86_64              4.4.7-3.el6                     HEL6-Repository                                                     1.6 M

 mpfr                                              x86_64              2.4.1-6.el6                     HEL6-Repository                                                     156 k

 ppl                                               x86_64              0.10.2-11.el6                   HEL6-Repository                                                     1.3 M

Transaction Summary

=================================================================================================================================================================================

Install      15 Package(s)

Total size: 26 M

Total download size: 26 M

Installed size: 61 M

Is this ok [y/N]: y

Downloading Packages:

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Total                                                                                                                                             38 MB/s |  26 MB     00:00    

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : libstdc++-devel-4.4.7-3.el6.x86_64                                                                                                                           1/15

  Installing : mpfr-2.4.1-6.el6.x86_64                                                                                                                                      2/15

  Installing : cpp-4.4.7-3.el6.x86_64                                                                                                                                       3/15

  Installing : ppl-0.10.2-11.el6.x86_64                                                                                                                                     4/15

  Installing : cloog-ppl-0.15.7-1.2.el6.x86_64                                                                                                                              5/15

  Installing : ksh-20100621-19.el6.x86_64                                                                                                                                   6/15

  Installing : compat-libstdc++-33-3.2.3-69.el6.x86_64                                                                                                                      7/15

  Installing : libaio-devel-0.3.107-10.el6.x86_64                                                                                                                           8/15

  Installing : kernel-headers-2.6.32-358.el6.x86_64                                                                                                                         9/15

  Installing : glibc-headers-2.12-1.107.el6.x86_64                                                                                                                         10/15

  Installing : glibc-devel-2.12-1.107.el6.x86_64                                                                                                                           11/15

  Installing : gcc-4.4.7-3.el6.x86_64                                                                                                                                      12/15

  Installing : gcc-c++-4.4.7-3.el6.x86_64                                                                                                                                  13/15

  Installing : compat-libcap1-1.10-1.x86_64                                                                                                                                14/15

  Installing : oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64                                                                                                       15/15

  Verifying  : compat-libcap1-1.10-1.x86_64                                                                                                                                 1/15

  Verifying  : kernel-headers-2.6.32-358.el6.x86_64                                                                                                                         2/15

  Verifying  : gcc-c++-4.4.7-3.el6.x86_64                                                                                                                                   3/15

  Verifying  : gcc-4.4.7-3.el6.x86_64                                                                                                                                       4/15

  Verifying  : libaio-devel-0.3.107-10.el6.x86_64                                                                                                                           5/15

  Verifying  : mpfr-2.4.1-6.el6.x86_64                                                                                                                                      6/15

  Verifying  : oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64                                                                                                        7/15

  Verifying  : glibc-devel-2.12-1.107.el6.x86_64                                                                                                                            8/15

  Verifying  : compat-libstdc++-33-3.2.3-69.el6.x86_64                                                                                                                      9/15

  Verifying  : cpp-4.4.7-3.el6.x86_64                                                                                                                                      10/15

  Verifying  : libstdc++-devel-4.4.7-3.el6.x86_64                                                                                                                          11/15

  Verifying  : ksh-20100621-19.el6.x86_64                                                                                                                                  12/15

  Verifying  : ppl-0.10.2-11.el6.x86_64                                                                                                                                    13/15

  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                                                                                                                             14/15

  Verifying  : glibc-headers-2.12-1.107.el6.x86_64                                                                                                                         15/15

Installed:

  oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-7.el6                                                                                                                       

Dependency Installed:

  cloog-ppl.x86_64 0:0.15.7-1.2.el6            compat-libcap1.x86_64 0:1.10-1       compat-libstdc++-33.x86_64 0:3.2.3-69.el6       cpp.x86_64 0:4.4.7-3.el6                  

  gcc.x86_64 0:4.4.7-3.el6                     gcc-c++.x86_64 0:4.4.7-3.el6         glibc-devel.x86_64 0:2.12-1.107.el6             glibc-headers.x86_64 0:2.12-1.107.el6     

  kernel-headers.x86_64 0:2.6.32-358.el6       ksh.x86_64 0:20100621-19.el6         libaio-devel.x86_64 0:0.3.107-10.el6            libstdc++-devel.x86_64 0:4.4.7-3.el6      

  mpfr.x86_64 0:2.4.1-6.el6                    ppl.x86_64 0:0.10.2-11.el6         

Complete!

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15747463/viewspace-1199978/,如需轉載,請註明出處,否則將追究法律責任。

相關文章