Configuring the TFTP Server on Centos

A. Introduction

TFTP (Trivial File Transfer Protocol) server is used as a tool for transferring files associated with network devices like routers, switches.

B. Configuration

Install TFTP server:

[root@rzk-encoder25 ~]# yum install tftp-server

Install xinetd:

[root@rzk-encoder25 ~]# yum install xinetd

Configuring TFTP:

[root@rzk-encoder25 ~]# vim /etc/xinetd.d/tftp

content:

service tftp
{
disable = no
socket_type             = dgram
protocol                = udp
wait                    = yes
user                    = root
server                  = /usr/sbin/in.tftpd
server_args             = -c -s /home/admin
per_source              = 11
cps                     = 100 2
flags                   = IPv4
}

content that needs to be changed are:

disable = no

TFTP file storage:  server_args             = -c -s /home/admin

Starting the TFTP Server:

[root@rzk-encoder25 ~]# service xinetd restart

change the type of file access storage:

[root@rzk-encoder25 ~]# chmod 777 /home/admin/

until here TFTP server can be used.

C. Reference

http://www.question-defense.com/2008/11/13/linux-setup-tftp-server-on-centos/

This entry was posted in Linux. Bookmark the permalink.

2 Responses to Configuring the TFTP Server on Centos

Leave a Reply

Your email address will not be published. Required fields are marked *