CentOS Add Oracle YUM Source

Source: Internet
Author: User
Tags gpg

Article from: Oracle official YUM Source

Introduction

The Oracle Public Yum Server offers a free and convenient-to-install the latest Oracle Linux packages as well as Packa Ges from the Oracle VM installation media via a Yum client.

You can download the full Oracle Linux and Oracle VM installation media via Edelivery.oracle.com/linux. To stay-errata updates, you could wish to subscribe to the Oracle Linux errata mailing list.

This yum server was offered without support of any kind. If you require support, please consider purchasing Oracle Linux support via the online store, or via your sales Representa tive.

Getting Started
  1. Download and Install Oracle Linux
  2. Download and copy the appropriate yum configuration file in place, by running the following commands as root:

    Oracle Linux 7
    # cd /etc/yum.repos.d# wget http://public-yum.oracle.com/public-yum-ol7.repo
    Oracle Linux 6
    # cd /etc/yum.repos.d# wget http://public-yum.oracle.com/public-yum-ol6.repo
    Oracle Linux 5
    # cd /etc/yum.repos.d# wget http://public-yum.oracle.com/public-yum-el5.repo
    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 VM 2
    # cd /etc/yum.repos.d# wget http://public-yum.oracle.com/public-yum-ovm2.repo
  3. Enable the appropriate repository by editing the Yum configuration file

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

    Yum List

    Yum Install Firefox

Prompted to confirm the import of the Oracle OSS Group GPG key.

Frequently asked Questions
    1. Where can I learn more about Oracle Linux?
    2. Where can I learn more on Oracle Linux support?
    3. Where can I learn more about Oracle VMs?
    4. Where can I find the source code for these binaries?
    5. Where can I get help getting this yum repository to work?
    6. Where can I learn more about Yum?
    7. How can I be notified of Oracle Linux errata?
    8. How can I use the Public-yum to update Oracle VM 3 Server?
    9. How can I convert a RHEL or rhel-compatible system to Oracle Linux using Public-yum?
Where can I learn more about Oracle Linux?

A: You can read a summary of features and specifications here. Additional technical information about Oracle Linux was available on the OTN ' s Linux technology Center.

Where can I learn more on Oracle Linux support?

A: You can read more on Oracle Linux support at Oracle.com/linux, for white papers, data sheets, FAQs and other technical Information, see the Linux technology Center

Where can I learn more about Oracle VMs?

A: You can read more about Oracle VMS here. For technical information about Oracle VMS, see the Oracle VMS product page on OTN

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 Oracle Linux 4, Oracle Linux 5, Oracle Linux 6 and Oracle VMS on oss.oracle.com, Or Acle ' s portal for all of it 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. The Oracle technology Network Linux Forum, where other users is ready and willing.

Where can I learn more about Yum?

A: There is several resources available on the the Web. Here's an overview of basic Yum commands

How can I be notified of Oracle Linux errata?

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

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

A: To update the Oracle VM Server to 3.2.x 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 Mana Ger. For details, refer to Oracle VMS installation and Upgrade guide for Release 3.2.

To upgrade from Oracle VM Server 3.2 or 3.1 to Oracle VM Server 3.3, please refer to Oracle VM installation and upgrade Gu The IDE for Release 3.3 For detailed instructionss, and the Please does not use Public-yum directly.

To update Oracle VM Server 3.3 to the latest 3.3.x using Public-yum use Http://public-yum.oracle.com/repo/OracleVM/OVM 3/3x_latest/x86_64/ as Yum Base URL and http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 as Yum GPG KEY In Oracle VM Manager. For details, refer to Oracle VMS installation and Upgrade guide for Release 3.3.

How can I convert a RHEL or rhel-compatible system to Oracle Linux using Public-yum?

A: Download and verify the Oracle Linux GPG Key that's best matches your rhel-compatible release and then follow the "Getting S tarted "instructions above.

Red Hat Enterprise Linux 4, Update 6 or Compatible
# wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el4 -O /usr/share/rhn/RPM-GPG-KEY-oracle# gpg --quiet --with-fingerprint /usr/share/rhn/RPM-GPG-KEY-oraclepub  1024D/B38A8516 2006-09-05 Oracle OSS group (Open Source Software group) <[email protected]>     Key fingerprint = 1122 A29A B257 825F 322C  234E 2E2B CDBC B38A 8516sub  2048g/0042D4F4 2006-09-05 [expires: 2011-09-04]
Red Hat Enterprise Linux 5 or Compatible
# wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle# gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-oraclepub  1024D/1E5E0159 2007-05-18 Oracle OSS group (Open Source Software group) <[email protected]>      Key fingerprint = 99FD 2766 28EE DECB 5E5A  F5F8 66CE D3DE 1E5E 0159sub  1024g/D303656F 2007-05-18 [expires: 2015-05-16]      
Red Hat Enterprise Linux 6 or Compatible
# wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oraclepub  2048R/EC551F03 2010-07-01 Oracle OSS group (Open Source Software group) <[email protected]>      Key fingerprint = 4214 4123 FECF C55B 9086  313D 72F9 7B74 EC55 1F03
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.