Adding the Red Hat Virtualization Server 5 channel to mrepo
From Brandonhutchinson.com
(Difference between revisions)
(→Overview) |
|||
| Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
| - | In this example, my server is already registered to the Red Hat Enterprise Linux Server 5 ('''5Server''') i386 channel in ''mrepo'' | + | In this example, my server is already registered to the Red Hat Enterprise Linux Server 5 ('''5Server''') i386 channel in ''mrepo'': |
# '''gensystemid -u ''RHN_user'' -p ''RHN_password'' --release=5Server --arch=i386 /mrepo/5Server-i386/''' | # '''gensystemid -u ''RHN_user'' -p ''RHN_password'' --release=5Server --arch=i386 /mrepo/5Server-i386/''' | ||
| + | |||
| + | I add this system to the Red Hat Virtualization Server 5 channel. Client systems cannot run '''yum update xen''' if the virtualization channel is not available: | ||
| + | # '''yum install xen''' | ||
| + | ... | ||
| + | Error: Missing Dependency: xen-libs = 3.0.3-25.el5 is needed by package xen | ||
== Red Hat Network changes == | == Red Hat Network changes == | ||
Revision as of 17:34, 31 March 2008
Contents |
Overview
In this example, my server is already registered to the Red Hat Enterprise Linux Server 5 (5Server) i386 channel in mrepo:
# gensystemid -u RHN_user -p RHN_password --release=5Server --arch=i386 /mrepo/5Server-i386/
I add this system to the Red Hat Virtualization Server 5 channel. Client systems cannot run yum update xen if the virtualization channel is not available:
# yum install xen ... Error: Missing Dependency: xen-libs = 3.0.3-25.el5 is needed by package xen
Red Hat Network changes
To add this server to the Red Hat Virtualization Server 5 i386 channel:
* Login to Red Hat Network. * Select Systems. * Choose the system that is subscribed to the Red Hat Enterprise Linux Server 5 channel. e.g., server-5Server-i386-mrepo * Select Alter Channel Subscriptions. * Under Release Channels for Red Hat Enterprise Linux 5 for IA-32, select RHEL Virtualization (v. 5 for 32-bit x86) and click Change Subscriptions.
mrepo configuration changes
- Add the following in the [5Server] stanza in your mrepo.conf configuration file.
[5Server] ... virtualization = rhns:///rhel-$arch-server-vt-$release
- Update and generate the repository.
# mrepo -ug 5Server-i386
yum.conf configuration changes
Example /etc/yum.conf changes:
... [virtualization] name=Red Hat Enterprise Linux $releasever - $basearch - Virtualization baseurl=http://server/mrepo/$releasever-$basearch/RPMS.virtualization/
