CORRECT TEXT
Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it needs you
to configure yum direct to the already existing file server. )
Answer: A
Explanation:
# cd /etc/yum.repos.d
# vim local.repo
[local]
name=local.repo
baseurl=file:///mnt
enabled=1
gpgcheck=0
# yum makecache
# yum install -y vsftpd
# service vsftpd restart
# chkconfig vsftpd on
# chkconfig –list vsftpd
# vim /etc/vsftpd/vsftpd.conf
anonymous_enable=YES
a
0
0
install vsftpd service
yum install -y vsftpd
edit /etc/vsftpd/vsftpd.conf
add a new line
anon_root=/var/fpt/pub
restart the service
systemctl restart vsftpd
0
0
1. /etc/yum.conf
keepcache=1
2. yum makecache
0
0
what is the baseurl suppose to be?
0
0