Enabling FTP
Services in Yum Server
Your
client can download and install packages from yum server using FTP services.
For providing FTP services you have to create a public directory named “rhel5”
into /var/ftp/pub/ directory and put all the packages in it.
Step-1:
Installing the ftp package
[root@yumsrv ~]# yum install vsftpd*
Step-2:
Edit the vsftps.conf file
[root@yumsrv ~]# vi
/etc/vsftpd/vsftpd.conf
Directives
|
Line Number
|
Orginal File
Text
|
Modified File
Text
|
Anonymous_enable
|
12
|
YES
|
YES
|
Note:
rempve the “#” from line number 27,31,81,81 but do not removw “#” from the line
89 & 91.
[root@yumsrv ~]# service iptables stop
[root@yumsrv ~]# chkconfig iptables off
[root@yumsrv ~]# service network restart
[root@yumsrv ~]# service vsftpd restart
[root@yumsrv ~]# chkconfig vsftpd on
Client
side configuration
Follow the “HTTP Client configuration” Just replace “http://210.207.201.254/rhel5”