Enabling FTP Services in Yum Server (Part 5)HARDWARE NETWORKING LINUX SOFTWAREIt Tech Technology

It Tech Technology

COMPUTER HARDWARE NETWORKING

Breaking

Home Top Ad

Post Top Ad

Saturday, January 9, 2016

Enabling FTP Services in Yum Server (Part 5)



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 replacehttp://210.207.201.254/rhel5
With ftp://210.207.201.254/pub/rhel5. Also configure the “/etc/hosts” file.


Post Bottom Ad