This shows you the differences between two versions of the page.
|
sysadmin:rpm:installing_mrepo_on_rhel5 [2009/11/10 23:15] 128.193.54.126 |
sysadmin:rpm:installing_mrepo_on_rhel5 [2010/06/24 13:01] (current) 157.249.83.68 compressed |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Server ====== | ====== Server ====== | ||
| - | |||
| - | |||
| - | |||
| - | |||
| ===== Initial setup ===== | ===== Initial setup ===== | ||
| * Install regular RHEL5 | * Install regular RHEL5 | ||
| Line 22: | Line 18: | ||
| sed -i s,/usr/share/rhn/,/usr/share/mrepo/rhn/,g /usr/bin/rhnget | sed -i s,/usr/share/rhn/,/usr/share/mrepo/rhn/,g /usr/bin/rhnget | ||
| </code> | </code> | ||
| + | |||
| ===== Configuration ===== | ===== Configuration ===== | ||
| Create the file /etc/mrepo.conf.d/rhel5-server.conf and configure a repository for RHEL5 i386 and x86_64: <code> | Create the file /etc/mrepo.conf.d/rhel5-server.conf and configure a repository for RHEL5 i386 and x86_64: <code> | ||
| Line 61: | Line 58: | ||
| ===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
| - | |||
| - | |||
| ==== CentOS 5 ==== | ==== CentOS 5 ==== | ||
| Line 86: | Line 81: | ||
| </code> | </code> | ||
| This has been documented in /usr/share/doc/mrepo*/docs/selinux.txt. | This has been documented in /usr/share/doc/mrepo*/docs/selinux.txt. | ||
| - | |||
| Line 103: | Line 97: | ||
| ====== Client ====== | ====== Client ====== | ||
| - | |||
| ===== Configuration ===== | ===== Configuration ===== | ||
| * Modify /etc/yum/pluginconf.d/rhnplugin.conf and change enabled=1 to enabled=0. | * Modify /etc/yum/pluginconf.d/rhnplugin.conf and change enabled=1 to enabled=0. | ||
| Line 114: | Line 107: | ||
| gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release | ||
| </code> | </code> | ||
| - | |||
| ===== Usage ===== | ===== Usage ===== | ||
| Yum update, yum install and other yum commands should work as you should be used to now. | Yum update, yum install and other yum commands should work as you should be used to now. | ||