国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Linux > 正文

Linux 使用yum服務(This system is not registered with ULN.)

2024-06-28 13:28:10
字體:
來源:轉載
供稿:網友
linux 使用yum服務(This system is not registered with ULN.)

參考文獻:http://Flashdba.com/2012/10/08/this-system-is-not-registered-with-uln-rhn/

http://public-yum.Oracle.com/

1. Don’t Panic

Chances are you have built a new Linux system using Red Hat EnterPRise Linux or its twin sister Oracle Linux. You are probably now trying to use yum to install software packages, but every time you do so you see something similar to this:

# yum install oracle-validated -yLoaded plugins: rhnplugin, securityThis system is not registered with ULN.ULN support will be disabled.ol5_u7_base | 1.1 kB 00:00Setting up Install ProcessResolving Dependencies--> Running transaction check---> Package oracle-validated.x86_64 0:1.1.0-14.el5 set to be updated...

This is the Oracle Linux variant. If it was Red Hat you would see:

This system is not registered with RHNRHN support will be disabled.

The first thing to understand is that you can quite happily build and run a system in this state – in fact I’m willing to bet there are many systems out there exhibiting this message every time somebody calls yum.

The message simply means that you have not registered this build of your system with Oracle or Red Hat. Both companies have a paid support offering which allows you to register a system and do things like get software updates. Red Hat’s is call the Red Hat Network (RHN) and Oracle’s, with their marketing department’s usual sense of humour, is called the Oracle Unbreakable Linux Network (ULN). [I've been critical of some Oracle products in the past but I have to say that I love Oracle Linux, even if I do find the name "Unbreakable" a bit daft...]

You don’t have to register your system with the vendor’s support network in order to be able to use it. I’m not making any statements about your support contract, if you have one – I’m just saying that it will work quite normally without it.

2. Register Your System

If you have Oracle or Red Hat support then you might as well register your system so that it can take advantage of their yum channels.

In systems prior to RHEL6 / OL6 you used a utility called up2date to register:

# up2date --register

Or if you want to use the text-mode version:

# up2date-nox --register

You can find a good tutorial explaining the process here. In RH6 / OL6 the process changed, so now you call the relevant utility.

For Red Hat you need to use the rhn_register command (actually this also became available in RHEL5). You will need your Red Hat Network login and passWord.

For Oracle Linux you need to use the uln_register command. You will need your Oracle ULN login, password and Customer Service Identifier (CSI).

Once your registration is complete the message “This system is not registered” should leave you alone.

3. Don’t Have Support?

Of course, not everybody has a support contract with Red Hat or Oracle. Some people have one but can’t find the details. Others can’t be bothered to set it up. If any of these applies to you then there is another alternative, which is the Oracle Public Yum Server. [Fair play to Wim and the team for making this available, because it's been making my life easier for years now...]

Oracle’s public yum server is a freely available source of Linux OS downloads. Simply point your browser here and follow the instructions: http://public-yum.oracle.com/

In essence, you use wget to download the Oracle repo file which relates to your system and then (optionally) edit it to choose the yum channel you want to subscribe to (otherwise it will use the latest publicly-available stuff). The versions of the Linux software on the public yum repositories are (I believe) not as up-to-date as those you would get if you subscribed to a support contract, but they are still very new.

And the best bit is you can also use it if you have Red Hat installed; it isn’t restricted to Oracle Linux users. Having said that, make sure you don’t do anything which invalidates your support contracts. By pointing a RHEL system at the Oracle public yum server and running an update you are effectively converting your system to become Oracle Linux.

Here’s an example of how to set it up for OL6:

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

This gets yum working and so allows for the Oracle Validated / Oracle Preinstall RPM to be installed in order to setup the database…

Hopefully that will satisfy some of my wayward blog visitors!


參考文獻: http://public-yum.oracle.com/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 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

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

  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.


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 内江市| 富宁县| 张家港市| 嵊泗县| 古蔺县| 霸州市| 博爱县| 无棣县| 邵阳市| 肥城市| 新河县| 保山市| 吉林市| 盐边县| 多伦县| 安义县| 浠水县| 洱源县| 栾城县| 苏尼特左旗| 天气| 定边县| 仙桃市| 益阳市| 绵阳市| 将乐县| 金溪县| 昂仁县| 鸡西市| 屏山县| 正定县| 古丈县| 武宣县| 商丘市| 承德市| 瓦房店市| 娄烦县| 卢湾区| 阿拉尔市| 延寿县| 武定县|