linux下修改RHEL數(shù)據(jù)源實現(xiàn)Oracle 11g補丁包自動安裝_第1頁
linux下修改RHEL數(shù)據(jù)源實現(xiàn)Oracle 11g補丁包自動安裝_第2頁
linux下修改RHEL數(shù)據(jù)源實現(xiàn)Oracle 11g補丁包自動安裝_第3頁
linux下修改RHEL數(shù)據(jù)源實現(xiàn)Oracle 11g補丁包自動安裝_第4頁
linux下修改RHEL數(shù)據(jù)源實現(xiàn)Oracle 11g補丁包自動安裝_第5頁
已閱讀5頁,還剩25頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、linux下修改RHEL數(shù)據(jù)源實現(xiàn)Oracle 11g補丁包自動安裝1、 修改RHEL 數(shù)據(jù)源/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/相應(yīng)的$releasever ->6,$basearch->x86_64部分都要改修改后:baseurl= :/mirrors.163 /centos/6/os/x86_64/4、 清除舊的源數(shù)據(jù)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、 更新數(shù)據(jù)源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再次更新數(shù)據(jù)源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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論