博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Oracle Linux Public Yum Server
阅读量:7009 次
发布时间:2019-06-28

本文共 3493 字,大约阅读时间需要 11 分钟。

1.先将光盘挂载到 /mnt下面。

#mount -t auto -o ro /dev/cdrom /mnt

2.在 /etc/yum.repos.d/ 新建 public-yum-el5.repo

#mkdir public-yum-el5.repo

3.public-yum-el5.repo 文件中他删除了,改成下面这个

[el5_u5_base]

name=Enterprise Linux $releasever Update 5 installation media copy ($basearch)
baseurl=file:///mnt/Server #指定rpm包所在的目录
gpgkey=file:///mnt/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1 # 注意要为 1

4.重启yum服务

service yum-updatesd restart

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

用网上的资源

 

Last updated: 22 March, 2012

Introduction

The Oracle public yum server offers a free and convenient way to install the latest  packages as well as packages from the  installation media via a yum client.

You can download the full Oracle Linux and Oracle VM installation media via . To stay current on errata updates, you may wish to subscribe to .

This yum server is offered without support of any kind. If you require support, please consider purchasing  via the , or via your sales representative.

Getting Started

  1. Download and copy the appropriate yum configuration file in place, by running the following commands as root:

    Oracle Linux 4, Update 6 or Newer

    # cd /etc/yum.repos.d# mv Oracle-Base.repo Oracle-Base.repo.disabled# wget http://public-yum.oracle.com/public-yum-el4.repo

    Oracle Linux 5

    # cd /etc/yum.repos.d# wget http://public-yum.oracle.com/public-yum-el5.repo

    Oracle Linux 6

    # cd /etc/yum.repos.d# wget http://public-yum.oracle.com/public-yum-ol6.repo

    Oracle VM 2

    # cd /etc/yum.repos.d# wget http://public-yum.oracle.com/public-yum-ovm2.repo
  2. Enable the appropriate repository by editing the yum configuration file

    • Open the yum configuration file in a text editor
    • Locate the section in the file for the repository you plan to update from, e.g. [el4_u6_base]
    • Change enabled=0 to enabled=1
  3. Begin using yum, for example:

    yum list

    yum install firefox

You may be prompted to confirm the import of the Oracle OSS Group GPG key.

Frequently Asked Questions

Where can I learn more about Oracle Linux?

A: You can read a summary of features and specifications . Additional technical information about Oracle Linux is available on .

Where can I learn more about Oracle Linux Support?

A: You can read more about Oracle Linux Support at , For white papers, data sheets, FAQs and other technical information, see the 

Where can I learn more about Oracle VM?

A: You can read more about Oracle VM . For technical information about Oracle VM, see the 

Where can I find the source code for these binaries?

A: This yum server offers source packages as well as binary packages. We also provide the source packages for , ,  and  on , Oracle's portal for all of its free and open source software contributions.

Where can I get help getting this yum repository to work?

A: This yum server is provided for free and without support. You may use the , where other users are ready and willing to help.

Where can I learn more about yum?

A: There are several resources available on the the Web. Here is an overview of 

How can I be notified of Oracle Linux Errata?

A: To subscribe to Oracle Linux errata notifications via email, . You can also stay on top of Oracle Linux errata via Twitter: 

How can I use public-yum to update Oracle VM 3 Server?

A: To update Oracle VM Server using public-yum use http://public-yum.oracle.com/repo/OracleVM/OVM3/latest/x86_64/ as YUM Base URL and http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5 as YUM GPG Key in Oracle VM Manager. For details please refer to in the Oracle VM User's Guide.

转载地址:http://xpttl.baihongyu.com/

你可能感兴趣的文章
Socket 通信(基础原理、实时聊天系统雏形)
查看>>
理解和使用WPF 验证机制
查看>>
tensorflow 在加载大型的embedding模型参数时,会遇到cannot be larger than 2GB
查看>>
Flutter的教程:ListView
查看>>
xxl-job安装教程
查看>>
SpringBoot(十八)@value、@Import、@ImportResource、@PropertySource
查看>>
[dubbo] Dubbo API 笔记——配置参考
查看>>
The last access date is not changed even after reading the file on Windows 7
查看>>
SQL Server 字符串处理函数
查看>>
恢复系统管理员密码的五大奇招
查看>>
英语形容“漂亮女孩”知多少
查看>>
GridView 获取当前行的索引值
查看>>
PHPCMS V9二次开发:内容模块PC标签调用详解
查看>>
Virtual-Key Codes
查看>>
Azure China (3) 使用Visual Studio 2013证书发布Cloud Service至Azure China
查看>>
xmapp 404设置
查看>>
SQL Server中, DateTime (日期)型操作的 SQL语法
查看>>
iisweb服务器完美解决方案
查看>>
请教SQL Server登录失败的问题
查看>>
对象和流
查看>>