Installation environment: Fedora9 first install xinetd service: yuminstallxinetd install tftp, tftp-sever: yuminstalltftptftp-sever can search this site to download rpm package directly install http://www.rpmfind.com Configuration: change the tftp configuration file/etc/xinetd. d/tftpvim/etc/xinetd. d/tftp # default
Installation environment: Fedora 9
First install the xinetd service: yum install xinetd
Install tftp, tftp-sever: yum install tftp-sever
You can search this site to download the rpm package to install http://www.rpmfind.com directly
Configuration:
Change the tftp configuration file/etc/xinetd. d/tftp
Vim/etc/xinetd. d/tftp
# Default: off
# Description: The tftp server serves files using the trivial file transfer \
# Protocol. The tftp protocol is often used to boot diskless \
# Workstations, download configuration files to network-aware printers ,\
# And to start the installation process for some operating systems.
Service tftp
{
Socket_type = dgram
Protocol = udp
Wait = yes
User = root
Server =/usr/sbin/in. tftpd
Server_args =-s/home/yeling/tftpboot-c
Disable = no
Per_source = 11
CPIs = 100 2
Flags = IPv4
}
Reminder: #-s is followed by the path of the tftp server, and-c allows file upload. If you do not have the directory, you need to create one first. You 'd better change the permission to chmod 777/home/yeling/tftpboot. You can also set it to a common user.
Run the following command to enter setup to check whether the tftp service is enabled. It is best to disable the firewall (#/etc/init. d/iptables stop // disable the firewall). I don't know what went wrong with the settings, and I finally disabled selinux. In the desktop menu, choose system> management> selinux management and set Enforcing Mode to Disabled.
Restart the computer, or do not restart, you can also try it by yourself
# Service xinetd restart // restart the xinetd service
Shell
# Tftp your-ip-address
Tftp> get
Tftp> put
Tftp> q