Linuxtftp service

  

TFTP (Trivial File Transfer Protocol) is a protocol developed based on the UDP protocol for simple file transfer between the client and the server, providing a file transfer service that is not complicated and has little overhead.

First, modify the /etc/xinetd.d/tftp configuration file, as follows:

$ cat /etc/xinetd.d/tftp

service tftp

{

protocol = udp

port = 69

socket_type = dgram

wait = yes

user = root

server = /usr/sbin/in.tftpd

server_args = /tmp/tftproot

disable = no

}

Run the service

$ service xinetd start

Third, check whether the service is started, 69 corresponds to the port port in the /etc/xinetd.d/tftp configuration file

$ sudo netstat -anpu |  Grep 69

udp 0 0 0.0.0.0:69 0.0.0.0:* 14890/xinetd

Copyright © Windows knowledge All Rights Reserved