Linux Build TFTP server

Source: Internet
Author: User

1. Apt Install xinetd apt Install tftp-hpa tftpd-hpawhere TFTPD-HPA is the server side, TFTP-HPA is the client (if the client does not need to be installed). 2.Configuring the/etc/xinetd.d/tftp filevim/etc/xinetd.d/tftpService tftp{Socket_type = Dgram protocol = UDP wait = Yes user = root server =/usr/s BIN/IN.TFTPD Server_args =-s/opt/tftpboot-c//change to TFTP server directory, client downloads data from this folder disable = no//change enable TF TP Server Per_source = one CPS = 2 flags = IPV4}Description: Modify the entry server_args=-s-c, where the parameter-s specifies that chroot,-c specifies that the file can be created. 3. Create a directory sudo mkdir/opt/tftpboot sudo chmod 777/opt/tftpboot 4. Start tftp sudo/etc/init.d/xinetd stop sudo/etc/init.d/tftp-hpa stop sudo/etc/init.d/xinetd restart

Linux Build TFTP server

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.