Manually connecting to the Oracle Linux Yum Server

  1. Download and Install Oracle Linux

       Note: The Oracle Linux Yum Server is already configured on Oracle Linux 5 Update 7 and Oracle Linux 6 Update 3 and higher. No further configuration is necessary.

       Note:Linux for Sparc 1.0 ISOs are available at:

        https://oss.oracle.com/projects/linux-sparc/files/

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://yum.oracle.com/public-yum-ol7.repo

  Oracle Linux 6

  # cd /etc/yum.repos.d

  # wget http://yum.oracle.com/public-yum-ol6.repo

  Oracle Linux 5

  # cd /etc/yum.repos.d

  # wget http://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://yum.oracle.com/public-yum-el4.repo

  Oracle OpenStack for Oracle Linux 2.0

  # cd /etc/yum.repos.d

  # wget http://yum.oracle.com/public-yum-ol7.repo

  # yum install yum-plugin-priorities

    Note: Make sure to enable ol7_optional_latest repository before installing yum-plugin-priorities on your system

  Oracle OpenStack for Oracle Linux 1.0

  # cd /etc/yum.repos.d

  # wget http://yum.oracle.com/public-yum-openstack-ol6.repo

  Oracle VM 2

  # cd /etc/yum.repos.d

  # wget http://yum.oracle.com/public-yum-ovm2.repo

  Linux for SPARC 1.0

  # cd /etc/yum.repos.d

  # wget http://yum.oracle.com/yum-linux-sparc64.repo

  3.By default, the latest repository is enabled. If you want to change the default, you can enable an alternative 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 want to enable, e.g. [el4_u6_base]
  • Change enabled=0 to enabled=1

  4.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  

Manually connecting to the Oracle Linux Yum Server的更多相关文章

  1. Quick and Easy Installation of Oracle Database 12c on Oracle Linux in Oracle VM VirtualBox

    发贴人 Sergio-Oracle 于2018-4-18 23:10:15在Oracle Linux Introduction How Does This Work? Requirements Bef ...

  2. Oracle Database 12c Preinstall Steps for Oracle Linux Simplified

    This post is a quick reminder that Oracle Linux includes a handy RPM to address pre-installation req ...

  3. 在Oracle Linux Server release 6.4下配置ocfs2文件系统

    ① 安装ocfs-tools-1.8 如果是使用RedHat Enterprise Linux 6.4,也可以安装ocfs-tools-1.8的,只是要插入Oracle Linux Server re ...

  4. mysql server advanced 5.6基于oracle linux 6.6的安装

    mysql 安装有两种,rpm安装和源码包安装,两种包都可以从www.mysql.com官网下载,这次我测试下rpm安装方式. 1.安装环境以及mysql版本: 1.1vcenter 虚拟机环境 1. ...

  5. Oracle linux 6.3 安装11g R2 RAC on vbox

    1 安装系统 Virtual box 4.3 Oracle linux 6.3 Oracle 11g r2 Make sure "Adapter 1" is enabled, se ...

  6. ORACLE LINUX 6.3 + ORACLE 11.2.0.3 RAC + VBOX安装文档

    ORACLE LINUX 6.3 + ORACLE 11.2.0.3 RAC + VBOX安装文档 2015-10-21 12:51 525人阅读 评论(0) 收藏 举报  分类: Oracle RA ...

  7. Oracle Linux(64位)安装64位Oracle10g遇到ins_ctx.mk问题

    在Oracle Linux Server Release 5.7上安装64位Oracle 10g 时,遇到如下问题: Error in invoking target 'install' of mak ...

  8. Oracle Linux 5.7安装VMware Tools的问题

    案例环境介绍:     虚拟机的版本:VMware® Workstation 8.0.3 build-703057    操作系统版本:Oracle Linux Server release 5.7 ...

  9. 最详细的Linux YUM命令使用教程

    YUM(Yellow dog Updater, Modified)为多个Linux发行版的前端软件包管理器,例如 Redhat RHEL, CentOS & Fedora.  YUM通过调用R ...

随机推荐

  1. WCF - WAS Hosting

    WCF - WAS Hosting To understand the concept of WAS hosting, we need to comprehend how a system is co ...

  2. UVA_11468_Substring_(AC自动机+概率动态规划)

    描述 https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&a ...

  3. 从零开始学习jQuery (十一) 实战表单验证与自动完成提示插件

    一.摘要 本系列文章将带您进入jQuery的精彩世界, 其中有很多作者具体的使用经验和解决方案,  即使你会使用jQuery也能在阅读中发现些许秘籍. 本文是介绍两个最常用的jQuery插件. 分别用 ...

  4. 在内部架设NuGet服务器

    在公司内部有很多基础框架或者基础组件,甚至对于使用SOA架构的公司来说,会有大量的业务组件的契约程序集,对于这些框架或组件的引用管理有的人使用源代码管理工具,但是NuGet相比源代码管理工具更方便: ...

  5. Java笔记(一)……概述

    一.Java是什么 Java是SUN(Stanford University Network,斯坦福大学网络公司)1995年推出的一门高级编程语言. 二.Java的发展简史 在20世纪90年代初,Su ...

  6. POJ 2251 Dungeon Master (BFS最短路)

    三维空间里BFS最短路 #include <iostream> #include <cstdio> #include <cstring> #include < ...

  7. unix时间戳和localtime

    今天看代码的时候看到这么一段 void user::setHelpday() { int time = ::getTickCount(); m_helpday = (time +( * ))/( * ...

  8. 【Java基础】继承中的代码块和构造方法的执行顺序探索

    本文讲述有关一个类的静态代码块,构造代码块,构造方法的执行流程问题.首先来看一个例子 /** * Created by lili on 15/10/19. */ class Person{ stati ...

  9. ural 1091. Tmutarakan Exams 和 codeforces 295 B. Greg and Graph

    ural 1091 题目链接:http://acm.timus.ru/problem.aspx?space=1&num=1091 题意是从1到n的集合里选出k个数,使得这些数满足gcd大于1 ...

  10. 解决高版本 Google Chrome 扩展程序强制停用问题 -摘自网络

    1]前往这里下载你喜欢的语言的组策略模板 后缀为.adm (其他的文件自己看 https://docs.google.com/viewer?a=v&pid=sites&srcid=Y2 ...