LINUX下ORACLE安装环境快速部署

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:943

1 下载oracle-rdbms-server-11gR2-preinstall下载地址:http://public-yum.oracle.com/repo/OracleLinux/OL6/2 配置本地yum 源[backcolor=rgb(219, 229, 241)][backcolor=inherit] [root@rac02 ~]# mount /dev/cdrom /mnt[backcolor=inherit]mount: block device /dev/sr0 is write-protected, mounting read-only
在/etc/yum.repos.d目录下编辑cd /etc/yum.repos.dtouch olinux6.repo public-yum-ol6.repo or ULN-base.repo文件 修改所有enabled=0.创建后缀名为repo的文件 如:olinux6.repo[backcolor=rgb(219, 229, 241)][backcolor=inherit][OLINUX][backcolor=inherit]name=Oracle Linux 6 x86_64[backcolor=inherit]baseurl=file:///mnt/Server[backcolor=inherit]enabled=1[backcolor=inherit]gpgcheck=0
清除原有的yum信息[backcolor=rgb(219, 229, 241)][backcolor=inherit]yum clean all
3 yum install oracle-rdbms-server-11gR2-preinstall[backcolor=rgb(219, 229, 241)][backcolor=inherit][root@rac01 ~]# cd Downloads/[backcolor=inherit][root@rac01 Downloads]# ls[backcolor=inherit]oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64.rpm[backcolor=inherit][root@rac01 Downloads]# yum install oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64.rpm[backcolor=inherit]Loaded plugins: refresh-packagekit, security[backcolor=inherit]Setting up Install Process[backcolor=inherit]Examining oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64.rpm: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64[backcolor=inherit]Marking oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64.rpm to be installed[backcolor=inherit]Resolving Dependencies[backcolor=inherit]--> Running transaction check[backcolor=inherit]---> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-7.el6 will be installed[backcolor=inherit]--> Processing Dependency: compat-libcap1 for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64[backcolor=inherit]--> Processing Dependency: compat-libstdc++-33 for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64[backcolor=inherit]--> Processing Dependency: gcc for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64[backcolor=inherit]--> Processing Dependency: gcc-c++ for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64[backcolor=inherit]--> Processing Dependency: glibc-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64[backcolor=inherit]--> Processing Dependency: ksh for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64[backcolor=inherit]--> Processing Dependency: libaio-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64[backcolor=inherit]--> Processing Dependency: libstdc++-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64[backcolor=inherit]--> Running transaction check[backcolor=inherit]---> Package compat-libcap1.x86_64 0:1.10-1 will be installed[backcolor=inherit]---> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed[backcolor=inherit]---> Package gcc.x86_64 0:4.4.7-3.el6 will be installed[backcolor=inherit]--> Processing Dependency: cpp = 4.4.7-3.el6 for package: gcc-4.4.7-3.el6.x86_64[backcolor=inherit]--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-3.el6.x86_64[backcolor=inherit]---> Package gcc-c++.x86_64 0:4.4.7-3.el6 will be installed[backcolor=inherit]--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.7-3.el6.x86_64[backcolor=inherit]---> Package glibc-devel.x86_64 0:2.12-1.107.el6 will be installed[backcolor=inherit]--> Processing Dependency: glibc-headers = 2.12-1.107.el6 for package: glibc-devel-2.12-1.107.el6.x86_64[backcolor=inherit]--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.107.el6.x86_64[backcolor=inherit]---> Package ksh.x86_64 0:20100621-19.el6 will be installed[backcolor=inherit]---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed[backcolor=inherit]---> Package libstdc++-devel.x86_64 0:4.4.7-3.el6 will be installed[backcolor=inherit]--> Running transaction check[backcolor=inherit]---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed[backcolor=inherit]--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64[backcolor=inherit]--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64[backcolor=inherit]---> Package cpp.x86_64 0:4.4.7-3.el6 will be installed[backcolor=inherit]---> Package glibc-headers.x86_64 0:2.12-1.107.el6 will be installed[backcolor=inherit]--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.107.el6.x86_64[backcolor=inherit]--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.107.el6.x86_64[backcolor=inherit]---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed[backcolor=inherit]--> Running transaction check[backcolor=inherit]---> Package kernel-headers.x86_64 0:2.6.32-358.el6 will be installed[backcolor=inherit]---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed[backcolor=inherit]--> Finished Dependency Resolution[backcolor=inherit]Dependencies Resolved[backcolor=inherit]=================================================================================================================================================================================[backcolor=inherit] Package Arch Version Repository Size[backcolor=inherit]=================================================================================================================================================================================[backcolor=inherit]Installing:[backcolor=inherit] oracle-rdbms-server-11gR2-preinstall x86_64 1.0-7.el6 /oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64 32 k[backcolor=inherit]Installing for dependencies:[backcolor=inherit] cloog-ppl x86_64 0.15.7-1.2.el6 HEL6-Repository 93 k[backcolor=inherit] compat-libcap1 x86_64 1.10-1 HEL6-Repository 17 k[backcolor=inherit] compat-libstdc++-33 x86_64 3.2.3-69.el6 HEL6-Repository 183 k[backcolor=inherit] cpp x86_64 4.4.7-3.el6 HEL6-Repository 3.7 M[backcolor=inherit] gcc x86_64 4.4.7-3.el6 HEL6-Repository 10 M[backcolor=inherit] gcc-c++ x86_64 4.4.7-3.el6 HEL6-Repository 4.7 M[backcolor=inherit] glibc-devel x86_64 2.12-1.107.el6 HEL6-Repository 973 k[backcolor=inherit] glibc-headers x86_64 2.12-1.107.el6 HEL6-Repository 604 k[backcolor=inherit] kernel-headers x86_64 2.6.32-358.el6 HEL6-Repository 2.3 M[backcolor=inherit] ksh x86_64 20100621-19.el6 HEL6-Repository 686 k[backcolor=inherit] libaio-devel x86_64 0.3.107-10.el6 HEL6-Repository 13 k[backcolor=inherit] libstdc++-devel x86_64 4.4.7-3.el6 HEL6-Repository 1.6 M[backcolor=inherit] mpfr x86_64 2.4.1-6.el6 HEL6-Repository 156 k[backcolor=inherit] ppl x86_64 0.10.2-11.el6 HEL6-Repository 1.3 M[backcolor=inherit]Transaction Summary[backcolor=inherit]=================================================================================================================================================================================[backcolor=inherit]Install 15 Package(s)[backcolor=inherit]Total size: 26 M[backcolor=inherit]Total download size: 26 M[backcolor=inherit]Installed size: 61 M[backcolor=inherit]Is this ok [y/N]: y[backcolor=inherit]Downloading Packages:[backcolor=inherit]---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[backcolor=inherit]Total 38 MB/s | 26 MB 00:00 [backcolor=inherit]Running rpm_check_debug[backcolor=inherit]Running Transaction Test[backcolor=inherit]Transaction Test Succeeded[backcolor=inherit]Running Transaction[backcolor=inherit] Installing : libstdc++-devel-4.4.7-3.el6.x86_64 1/15[backcolor=inherit] Installing : mpfr-2.4.1-6.el6.x86_64 2/15[backcolor=inherit] Installing : cpp-4.4.7-3.el6.x86_64 3/15[backcolor=inherit] Installing : ppl-0.10.2-11.el6.x86_64 4/15[backcolor=inherit] Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 5/15[backcolor=inherit] Installing : ksh-20100621-19.el6.x86_64 6/15[backcolor=inherit] Installing : compat-libstdc++-33-3.2.3-69.el6.x86_64 7/15[backcolor=inherit] Installing : libaio-devel-0.3.107-10.el6.x86_64 8/15[backcolor=inherit] Installing : kernel-headers-2.6.32-358.el6.x86_64 9/15[backcolor=inherit] Installing : glibc-headers-2.12-1.107.el6.x86_64 10/15[backcolor=inherit] Installing : glibc-devel-2.12-1.107.el6.x86_64 11/15[backcolor=inherit] Installing : gcc-4.4.7-3.el6.x86_64 12/15[backcolor=inherit] Installing : gcc-c++-4.4.7-3.el6.x86_64 13/15[backcolor=inherit] Installing : compat-libcap1-1.10-1.x86_64 14/15[backcolor=inherit] Installing : oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64 15/15[backcolor=inherit] Verifying : compat-libcap1-1.10-1.x86_64 1/15[backcolor=inherit] Verifying : kernel-headers-2.6.32-358.el6.x86_64 2/15[backcolor=inherit] Verifying : gcc-c++-4.4.7-3.el6.x86_64 3/15[backcolor=inherit] Verifying : gcc-4.4.7-3.el6.x86_64 4/15[backcolor=inherit] Verifying : libaio-devel-0.3.107-10.el6.x86_64 5/15[backcolor=inherit] Verifying : mpfr-2.4.1-6.el6.x86_64 6/15[backcolor=inherit] Verifying : oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64 7/15[backcolor=inherit] Verifying : glibc-devel-2.12-1.107.el6.x86_64 8/15[backcolor=inherit] Verifying : compat-libstdc++-33-3.2.3-69.el6.x86_64 9/15[backcolor=inherit] Verifying : cpp-4.4.7-3.el6.x86_64 10/15[backcolor=inherit] Verifying : libstdc++-devel-4.4.7-3.el6.x86_64 11/15[backcolor=inherit] Verifying : ksh-20100621-19.el6.x86_64 12/15[backcolor=inherit] Verifying : ppl-0.10.2-11.el6.x86_64 13/15[backcolor=inherit] Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 14/15[backcolor=inherit] Verifying : glibc-headers-2.12-1.107.el6.x86_64 15/15[backcolor=inherit]Installed:[backcolor=inherit] oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-7.el6 [backcolor=inherit]Dependency Installed:[backcolor=inherit] 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 [backcolor=inherit] 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 [backcolor=inherit] 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 [backcolor=inherit] mpfr.x86_64 0:2.4.1-6.el6 ppl.x86_64 0:0.10.2-11.el6 [backcolor=inherit]Complete!

本文标签:
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】