-
Notifications
You must be signed in to change notification settings - Fork 9
SMT RES support
Ivan Kapelyukhin edited this page Apr 12, 2017
·
1 revision
The fresh RHEL 7 installation comes without any packages installed.
- Enable the repository from the installation media:
# mount /dev/sr0 /mnt
# cp /mnt/media.repo /etc/yum.repos.d/media.repo
# cat >> /etc/yum.repos.d/media.repo
enabled=1
baseurl=file:///mnt/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
^D
- Run
yum clean all
- Download suseRegisterRES package:
mkdir /root/suse_reg_repo
cd /root/suse_reg_repo
wget -O http://nu.novell.com/repo/\$RCE/RES7/x86_64/RPMS/suseRegisterRES-1.3.4-16.1.noarch.rpm
- Install
createrepo
:
yum install createrepo
- Create repository for the suseRegisterRES package:
cd /root/suse_reg_repo
createrepo .
- Add the newly created repo to yum:
# cat > /etc/yum.suse.repo/suse.repo
[SUSERegRepo]
name=SUSERegRepo
metadata_expire=-1
gpgcheck=0
cost=500
enabled=1
baseurl=file:///root/suse_reg_repo
^D
- Run
yum clean all
- Install suse_register:
yum install suseRegisterRES.noarch
- Enable RES repos on SMT server:
smt-repos -p RES,7
- On the client, edit
/etc/suseRegister.conf
and change theurl
to the address of the SMT server - Run
suse_register
- Run
yum clean all
- Run
yum --noplugins list
to verify that RES repos show up in the list