150 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
2. Enter the file to verify the contents:
# cat rhel6.repo
[RHEL6]
name=Red Hat Enterprise Linux 6
baseurl=file:///nfs/rhel6/Server
3. Import the RPM GPG key so that the yum command knows you are installing official Red
Hat packages. The Red Hat GPG key is located in the installation tree. Import the key by
using the following command:
# rpm --import /nfs/rhel6/RPM-GPG-KEY-redhat-release
The yum command should now be configured. It will be tested in the next section.
8.2.3 Turning off unneeded services
As with the golden image, perform the steps in 7.2.4, “Turning off unneeded services” on
page 129.
Here is a summary:
# chkconfig iptables off
# chkconfig ip6tables off
# chkconfig auditd off
# chkconfig abrtd off
# chkconfig atd off
# chkconfig mdmonitor off
Verify that these service are turned off by using the chkconfig --list command:
# chkconfig --list | grep 3:on
autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
cpi 0:off 1:on 2:on 3:on 4:on 5:on 6:off
cpuplugd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
dumpconf 0:on 1:on 2:on 3:on 4:on 5:on 6:on
haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off
messagebus 0:off 1:off 2:on 3:on 4:on 5:on 6:off
mon_statd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rhnsd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rpcbind 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rpcgssd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
rpcidmapd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
sysstat 0:off 1:on 2:on 3:on 4:on 5:on 6:off
udev-post 0:off 1:on 2:on 3:on 4:on 5:on 6:off
Kommentare zu diesen Handbüchern