
nCipher Modules: Integration Guide for Red Hat Certificate System 8.0 1.0 9
Installing and configuring Red Hat Certificate System 8.0
3 Create a folder called disk in /mnt.
4 Create a folder called localrepo in /opt.
5 Mount the package
rhel-dirserv-8.1-x86_64-disc1.iso:
[root@hostname home]# mount -o loop rhel-dirserv-8.1-x86_64-disc1.iso /mnt/disk
6 Copy the folder RPMS into /opt/localrepo/:
[root@hostname RedHat]# cp -rf RPMS/ /opt/localrepo
7 Backup the folder repodata in /opt/localrepo/RPMS as follows:
[root@hostname RPMS]# cp -rf repodata/ /tmp/
8 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/localrepo/RPMS
enabled=1
# Default.
# installonly_limit = 3
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
9 To create the yum local repository, use the following command:
[root@hostname RPMS]# createrepo /opt/localrepo/RPMS/
11/11 - adminutil-1.1.8-2.el5dsrv.x86_64.rpm
Comentários a estes Manuais