Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Manuale di Installazione Pagina 123

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 296
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 122
Chapter 6. Configuring an NFS/FTP server 103
inflating: cpdvd/CKD50000
...
You should now have all the z/VM product installation files in place under the
/ftp/zvm61/cpdvd/ directory.
6.5.2 Installing and configuring the FTP server
An FTP server must be installed and configured. The vsftpd FTP server is recommended.
This section shows how to configure it as an anonymous FTP server. To accomplish these
tasks, perform the following steps:
1. Use the rpm -qa command to see if the RPM is installed:
# rpm -qa | grep ftpd
2. The output shows that it is not installed. Use the yum -y command to install the package:
# yum -y install vsftpd
Loaded plugins: rhnplugin
This system is not registered with RHN.
...
Installed:
vsftpd.s390x 0:2.2.2-6.el6
3. Make a backup of the /etc/vsftpd/vsftpd.conf vsftpd configuration file:
# cd /etc/vsftpd
# cp vsftpd.conf vsftpd.conf.orig
4. Modify the configuration file to set the directory so that an anonymous user will be logged
in to /ftp/zvm61/ using the anon_root variable. Also, disable local (non-anonymous)
logins by commenting out the local_enable=YES and write_enable=YES lines:
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=YES
# set the home directory of anonymous FTP to /ftp/zvm61
anon_root=/ftp/zvm61
#
# Uncomment this to allow local users to log in.
# local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
# write_enable=YES
...
Vedere la pagina 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 295 296

Commenti su questo manuale

Nessun commento