Simple File Transfer TFTP server build Linux RHEL6

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.