Tf TP the application situation
1 , switch or router upgrades or backups
2 , diskless workstations Store boot loader
3 , embedded development-time Loading system
4 , large-scale service installation deployment
Installation
1 , # yum Install xinetd
# yum Install-ytftp-server
2 , check whether the boot starts
# chkconfig--list |grep xinet
xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
XINETD basedservices:
Chargen-dgram:off
Chargen-stream:off
Cvs:off
Daytime-dgram:off
Daytime-stream:off
Discard-dgram:off
Discard-stream:off
Echo-dgram:off
Echo-stream:off
Rsync:off
Tcpmux-server:off
Time-dgram:off
Time-stream:off
3 , Configuration
# vim/etc/xinetd.d/tftp
Service TFTP
{
Socket_type = Dgram
protocol = UDP
Wait = yes
user = root
Server =/USR/SBIN/IN.TFTPD
Server_args =-s/var/lib/tftpboot - c
file storage directory Span style= "FONT-FAMILY:CALIBRI;" lang= "en-us" xml:lang= "en-us" > RHEL5 /tftp/boot customizable -c allow uploading of
Disable = no
Per_source = 11
CPS = 100 2
Flags = IPV4
}
#chkconfig tftp on
You can also change the service directly to boot by command
[[Email protected] ~] #chkconfig--list | grep tftp
Tftp:on
4 , start the service Xinetd
#/etc/init.d/xinetdstart
5 , verify TF TP whether the boot succeeds and listens on the local the Port
[[Email protected] ~] #netstat-anup | grep 69
UDP 0 0 0.0.0.0:69 0.0.0.0:* 15763/xinetd
6 , test upload and download
tftp-i192.168.1.201 put tftpserv.cnt
tftp-i192.168.1.201 Get vm-tool.tar.gz
This article is from the "LIHONGWEIBJ" blog, make sure to keep this source http://lihongweibj.blog.51cto.com/6235038/1659588
Simple File Transfer TFTP server build Linux RHEL6