
112 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2
7.2.6 Turning off unneeded services
A number of services are started in an RHEL 5.2 minimum system. To keep the controller as
lean as possible, some of these can be turned off, as described in this section.
Important: If you get an error of the following form, it means that there is a problem:
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for openmotif to pack into transaction set.
media://1169877309.407096%233/openmotif-2.3.0-0.3.el5.s390x.rpm: [Errno 4] IOError:
<urlopen error unknown url type: media>
Trying other mirror.
Error: failed to retrieve openmotif-2.3.0-0.3.el5.s390x.rpm from RHEL5.2
error was [Errno 4] IOError: <urlopen error unknown url type: media>
The repository can be built to work around this problem. First, install the createrepo RPM:
# cd /nfs/rhel5.2/Server/
# rpm -ivh createrepo-0.4.4-2.fc6.noarch.rpm
warning: createrepo-0.4.4-2.fc6.noarch.rpm: Header V3 DSA signature: NOKEY, key ID
37017186
Preparing... ########################################### [100%]
1:createrepo ########################################### [100%]
Rename the repodata/ directory and create a new one using the createrepo command:
# mv repodata/ repodata.orig
# createrepo .
844/2495 -
jakarta-commons-collections-testframework-javadoc-3.1-6jpp.1.s390x.rp2495/2495 -
rsh-server-0.17-37.el5.s390x.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata
The new repository should work for any yum operations, but if you ever want to reinstall with
this tree, replace the repodata/ with repodata.orig/.
Comentarios a estos manuales