In many cases, we need to set up the tftp server in multiple systems. So today we will mainly explain how to set up a tftp server in Linux. Because the host uses the Windows 7 system and tftp32 does not seem to be compatible with it, a tftp server is built on linux as follows:
In Linux, set the tftp server 1. yum install tftp-server
Set the tftp server in Linux 2. Enter setup in the terminal and enable tftp in the service
Set tftp Server 3. service iptables stop in Linux to disable Firewall
In Linux, set the tftp Server 4. Modify the file/etc/xinetd. d/tftp. It mainly sets the root directory of the TFTP server and enables the service.
The modified file is as follows:
Service tftp {
Socket_type = dgram
Protocol = udp
Wait = yes
User = root
Server =/usr/sbin/in. tftpd
Server_args =-s/home/app-c
Disable = no
Per_source = 11
CPIs = 100 2
Flags = IPv4
}
Set tftp server in Linux 5. mkdir/home/app
Set tftp Server 6. service xinetd restart in Linux
Set the tftp server in Linux 7. Finally, you can put the file into/home/app for tftp transmission. Do not forget to grant the File permission. Otherwise, the system will prompt permission denied.