Oracle-public-yum configuration and usage

Source: Internet
Author: User

Oracle-public-yum configuration use Download and Install Oracle LinuxDownload 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.repoOracle Linux 5 # cd/etc/yum. repos. d # wget http://public-yum.oracle.com/public-yum-el5.repoOracle Linux 6 # cd/etc/yum. repos. d # wget http://public-yum.oracle.com/public-yum-ol6.repoOracle VM 2 # cd/etc/yum. repos. d # wget http://public-yum.oracle.com/public-yum-ovm2.repoEnable the appropriate repository by editing the yum configuration fileOpen the yum configuration file in a text editorLocate the section in the file for the repository you plan to update from, e.g. [el4_u6_base] Change enabled = 0 to enabled = 1 Begin using yum, for example: yum listyum install firefoxYou may be prompted to confirm the import of the Oracle OSS Group GPG key.

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.