
nCipher Modules: Integration Guide for Red Hat Certificate System 8.0 1.0 11
Installing and configuring Red Hat Certificate System 8.0
3 To create the yum local repository, edit the yum.conf in /etc as follows:
[root@hostname etc]# vi yum.conf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h
[localrepo]
name=RHEL 5 $releasever - $basearch
baseurl=file:///opt/localrepo1/RPMS
enabled=1
# Default.
# installonly_limit = 3
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
4 Back up the repodata in /opt/localrepo1/RPMS as follows:
[root@hostname RPMS]# cp -rf repodata/ /tmp/
5 Use the following command to create the yum local repository:
[root@hostname RPMS]# createrepo /opt/localrepo1/RPMS/
38/38 - pki-util-javadoc-8.0.0-16.el5pki.noarch.rpm
Comentários a estes Manuais