linux下修改RHEL数据源实现Oracle 11g补丁包自动安装_第1页
linux下修改RHEL数据源实现Oracle 11g补丁包自动安装_第2页
linux下修改RHEL数据源实现Oracle 11g补丁包自动安装_第3页
linux下修改RHEL数据源实现Oracle 11g补丁包自动安装_第4页
linux下修改RHEL数据源实现Oracle 11g补丁包自动安装_第5页
已阅读5页,还剩25页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、linux下修改RHEL数据源实现Oracle 11g补丁包自动安装1、 修改RHEL 数据源/etc/yum.repos.d/使用CentOS资源库2、 准备工作1>cd /etc/yum.repos.d/2>mv rhel-source.repo rhel-source.repo.backup3>wget :/mirrors.163 /.help/CentOS6-Base-163.repo4>cp CentOS6-Base-163.repo CentOS6-Base-163.repo.backup3、 编辑配置5>vi CentOS6-Base-163.rep

2、o修改前:baseurl= :/mirrors.163 /centos/$releasever/os/$basearch/相应的$releasever ->6,$basearch->x86_64部分都要改修改后:baseurl= :/mirrors.163 /centos/6/os/x86_64/4、 清除旧的源数据rootnode1 yum.repos.d# yum clean all Loaded plugins: product-id, refresh-packagekit, security, subscription-managerThis system is not r

3、egistered to Red Hat Subscription Management. You can use subscription-manager to register.Cleaning repos: base extras updatesCleaning up Everything5、 更新数据源rootnode1 yum.repos.d# yum makecache Loaded plugins: product-id, refresh-packagekit, security, subscription-managerThis system is not registered

4、 to Red Hat Subscription Management. You can use subscription-manager to register.base | 3.7 kB 00:00 base/group_gz | 220 kB 00:02 base/filelists_db | 5.9 MB 00:44 base/primary_db | 4.4 MB 00:34 base/other_db | 2.8 MB 00:21 extras | 3.4 kB 00:00 extras/filelists_db | 11 kB 00:00 extras/prestodelta |

5、 907 B 00:00 extras/primary_db | 19 kB 00:00 extras/other_db | 5.8 kB 00:00 :/mirrors.163 /centos/6/updates/x86_64/repodata/repomd.xml/repodata/repomd.xml: Errno 14 PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"Trying other mirror.Error: Cannot retrieve repository meta

6、data (repomd.xml) for repository: updates. Please verify its path and try againrootnode1 yum.repos.d# vi CentOS6-Base-163.repo# The mirror system uses the connecting IP address of the client and the# update status of each mirror to pick mirrors that are updated to and# geographically close to the cl

7、ient. You should use this for CentOS updates# unless you are manually picking other mirrors.# If the mirrorlist= does not work for you, as a fall back you can try the# remarked out baseurl= line instead.#basename=CentOS-6.4 - Base - 163 #baseurl= :/mirrors.163 /centos/$releasever/os/$basearch/baseur

8、l= :/mirrors.163 /centos/6/os/x86_64/#mirrorlist= ://?release=$releasever&arch=$basearch&repo=osgpgcheck=1gpgkey= ://centos/RPM-GPG-KEY-CentOS-6#released updatesupdatesname=CentOS-6 - Updates - 163 #baseurl= :/mirrors.163 /centos/$releasever/updates/$bas

9、earch/#mirrorlist= ://?release=$releasever&arch=$basearch&repo=updatesbaseurl= :/mirrors.163 /centos/6/updates/x86_64/gpgcheck=1gpgkey= ://centos/RPM-GPG-KEY-CentOS-6#additional packages that may be usefulextrasname=CentOS-6 - Extras - 163 baseurl= :/mir

10、rors.163 /centos/6/extras/x86_64/#mirrorlist= ://?release=$releasever&arch=$basearch&repo=extrasgpgcheck=1gpgkey= ://centos/RPM-GPG-KEY-CentOS-6#additional packages that extend functionality of existing packagescentosplusname=CentOS-6 - Plus - 163 baseur

11、l= :/mirrors.163 /centos/6/centosplus/x86_64/#mirrorlist= ://?release=$releasever&arch=$basearch&repo=centosplusgpgcheck=1enabled=0gpgkey= ://centos/RPM-GPG-KEY-CentOS-6#contrib - packages by Centos Userscontribname=CentOS-6 - Contrib - 163 baseurl= :/mi

12、rrors.163 /centos/6/contrib/x86_64/#mirrorlist= ://?release=$releasever&arch=$basearch&repo=contribgpgcheck=1enabled=0gpgkey= ://centos/RPM-GPG-KEY-CentOS-6"CentOS6-Base-163.repo" 54L, 2028C written再次更新数据源rootnode1 yum.repos.d# yum makecache Lo

13、aded plugins: product-id, refresh-packagekit, security, subscription-managerThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.base | 3.7 kB 00:00 extras | 3.4 kB 00:00 updates | 3.4 kB 00:00 updates/filelists_db | 2.2 MB 00:17 updates/pres

14、todelta | 342 kB 00:02 updates/primary_db | 3.7 MB 00:32 updates/other_db | 31 MB 04:09 Metadata Cache Createdrootnode1 yum.repos.d# rootnode1 yum.repos.d# 6、 Oracle补丁包安装rootnode1 yum.repos.d# yum install -y binutils compat-libstdc+-33 elfutils-libelf elfutils-libelf-devel expat gcc gcc-c+ glibc gli

15、bc-common glibc-devel-2.5 glibc-headers ksh libaio libaio-devel libgcc libstdc+ libstdc+-devel make pdksh sysstat unixODBC unixODBC-develLoaded plugins: product-id, refresh-packagekit, security, subscription-managerThis system is not registered to Red Hat Subscription Management. You can use subscri

16、ption-manager to register.Setting up Install ProcessPackage binutils-.2-5.36.el6.x86_64 already installed and latest versionPackage elfutils-libelf-0.152-1.el6.x86_64 already installed and latest versionPackage elfutils-libelf-devel-0.152-1.el6.x86_64 already installed and latest versionPac

17、kage expat-2.0.1-11.el6_2.x86_64 already installed and latest versionNo package glibc-devel-2.5 available.Package libaio-0.3.107-10.el6.x86_64 already installed and latest versionPackage 1:make-3.81-20.el6.x86_64 already installed and latest versionNo package pdksh available.Resolving Dependencies-&

18、gt; Running transaction check-> Package compat-libstdc+-33.x86_64 0:3.2.3-69.el6 will be installed-> Package gcc.x86_64 0:4.4.7-3.el6 will be updated-> Processing Dependency: gcc = 4.4.7-3.el6 for package: gcc-gfortran-4.4.7-3.el6.x86_64-> Package gcc.x86_64 0:4.4.7-4.el6 will be an upda

19、te-> Processing Dependency: libgomp = 4.4.7-4.el6 for package: gcc-4.4.7-4.el6.x86_64-> Processing Dependency: cpp = 4.4.7-4.el6 for package: gcc-4.4.7-4.el6.x86_64-> Package gcc-c+.x86_64 0:4.4.7-3.el6 will be updated-> Package gcc-c+.x86_64 0:4.4.7-4.el6 will be an update-> Package

20、glibc.x86_64 0:2.12-1.107.el6 will be updated-> Processing Dependency: glibc = 2.12-1.107.el6 for package: glibc-devel-2.12-1.107.el6.x86_64-> Package glibc.x86_64 0:2.12-1.132.el6_5.2 will be an update-> Package glibc-common.x86_64 0:2.12-1.107.el6 will be updated-> Package glibc-common

21、.x86_64 0:2.12-1.132.el6_5.2 will be an update-> Package glibc-headers.x86_64 0:2.12-1.107.el6 will be updated-> Package glibc-headers.x86_64 0:2.12-1.132.el6_5.2 will be an update-> Package ksh.x86_64 0:20120801-10.el6_5.6 will be installed-> Package libaio-devel.x86_64 0:0.3.107-10.el6

22、 will be installed-> Package libgcc.x86_64 0:4.4.7-3.el6 will be updated-> Package libgcc.x86_64 0:4.4.7-4.el6 will be an update-> Package libstdc+.x86_64 0:4.4.7-3.el6 will be updated-> Package libstdc+.x86_64 0:4.4.7-4.el6 will be an update-> Package libstdc+-devel.x86_64 0:4.4.7-3.

23、el6 will be updated-> Package libstdc+-devel.x86_64 0:4.4.7-4.el6 will be an update-> Package sysstat.x86_64 0:9.0.4-20.el6 will be updated-> Package sysstat.x86_64 0:9.0.4-22.el6 will be an update-> Package unixODBC.x86_64 0:2.2.14-12.el6_3 will be installed-> Package unixODBC-devel.

24、x86_64 0:2.2.14-12.el6_3 will be installed-> Running transaction check-> Package cpp.x86_64 0:4.4.7-3.el6 will be updated-> Package cpp.x86_64 0:4.4.7-4.el6 will be an update-> Package gcc-gfortran.x86_64 0:4.4.7-3.el6 will be updated-> Package gcc-gfortran.x86_64 0:4.4.7-4.el6 will b

25、e an update-> Processing Dependency: libgfortran = 4.4.7-4.el6 for package: gcc-gfortran-4.4.7-4.el6.x86_64-> Package glibc-devel.x86_64 0:2.12-1.107.el6 will be updated-> Package glibc-devel.x86_64 0:2.12-1.132.el6_5.2 will be an update-> Package libgomp.x86_64 0:4.4.7-3.el6 will be upd

26、ated-> Package libgomp.x86_64 0:4.4.7-4.el6 will be an update-> Running transaction check-> Package libgfortran.x86_64 0:4.4.7-3.el6 will be updated-> Package libgfortran.x86_64 0:4.4.7-4.el6 will be an update-> Finished Dependency ResolutionDependencies Resolved= Package Arch Version

27、 Repository Size=Installing: compat-libstdc+-33 x86_64 3.2.3-69.el6 base 183 k ksh x86_64 20120801-10.el6_5.6 updates 757 k libaio-devel x86_64 0.3.107-10.el6 base 13 k unixODBC x86_64 2.2.14-12.el6_3 base 378 k unixODBC-devel x86_64 2.2.14-12.el6_3 base 53 kUpdating: gcc x86_64 4.4.7-4.el6 base 10

28、M gcc-c+ x86_64 4.4.7-4.el6 base 4.7 M glibc x86_64 2.12-1.132.el6_5.2 updates 3.8 M glibc-common x86_64 2.12-1.132.el6_5.2 updates 14 M glibc-headers x86_64 2.12-1.132.el6_5.2 updates 608 k libgcc x86_64 4.4.7-4.el6 base 101 k libstdc+ x86_64 4.4.7-4.el6 base 293 k libstdc+-devel x86_64 4.4.7-4.el6

29、 base 1.6 M sysstat x86_64 9.0.4-22.el6 base 230 kUpdating for dependencies: cpp x86_64 4.4.7-4.el6 base 3.7 M gcc-gfortran x86_64 4.4.7-4.el6 base 4.7 M glibc-devel x86_64 2.12-1.132.el6_5.2 updates 978 k libgfortran x86_64 4.4.7-4.el6 base 265 k libgomp x86_64 4.4.7-4.el6 base 118 kTransaction Sum

30、mary=Install 5 Package(s)Upgrade 14 Package(s)Total download size: 47 MDownloading Packages:(1/19): compat-libstdc+-33-3.2.3-69.el6.x86_64.rpm | 183 kB 00:01 (2/19): cpp-4.4.7-4.el6.x86_64.rpm | 3.7 MB 00:27 (3/19): gcc-4.4.7-4.el6.x86_64.rpm | 10 MB 01:12 (4/19): gcc-c+-4.4.7-4.el6.x86_64.rpm | 4.7

31、 MB 00:34 (5/19): gcc-gfortran-4.4.7-4.el6.x86_64.rpm | 4.7 MB 00:43 (6/19): glibc-2.12-1.132.el6_5.2.x86_64.rpm | 3.8 MB 00:27 (7/19): glibc-common-2.12-1.132.el6_5.2.x86_64.rpm | 14 MB 01:44 (8/19): glibc-devel-2.12-1.132.el6_5.2.x86_64.rpm | 978 kB 00:06 (9/19): glibc-headers-2.12-1.132.el6_5.2.x

32、86_64.rpm | 608 kB 00:04 (10/19): ksh-20120801-10.el6_5.6.x86_64.rpm | 757 kB 00:05 (11/19): libaio-devel-0.3.107-10.el6.x86_64.rpm | 13 kB 00:00 (12/19): libgcc-4.4.7-4.el6.x86_64.rpm | 101 kB 00:00 (13/19): libgfortran-4.4.7-4.el6.x86_64.rpm | 265 kB 00:01 (14/19): libgomp-4.4.7-4.el6.x86_64.rpm | 118 kB 00:00 (15/19): libstdc+-4.4.7-4.el6.x86_64.rpm | 293 kB 00:02 (16/19): libstdc+-devel-4.4.7-4.el6.x86_64.rpm | 1.6 MB 00:11 (17/19): sysstat-9.0.4-22.el6.x86_64.rpm | 230 kB 00:01 (18/19): un

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论