Installing TFTP in Ubuntu 16.04

Source: Internet
Author: User

referenced from: https://www.linuxidc.com/Linux/2016-07/133255.htminstalling TFTP in Ubuntu 16.041. Installation$ apt-get Install TFTP-HPA TFTPD-HPA2. Create a directory$ Mkdir/tftpboot # This is the set up TFTP transfer directory. $ sudo chmod 0777/tftpboot$ sudo touch test.txt # test.txt file Best input content to differentiate3. Configuration# vi/etc/default/tftpd-hpatftp_username= "tftp" tftp_directory= "/tftpboot" # here is your TFTPD-HPA service directory, this is where you want to build TFTP_ address= "0.0.0.0:69" tftp_options= "-l-c-S" # Here is the option,-C is the parameter that can upload the file,-S is the specified TFTPD-HPA service directory, the above has been specified4. Restart the service$ sudo service tftpd-hpa Restart # Boot services, here to be aware, adopt the standalone service form.5. Testing# cd/home# tftp localhost #localhost means native tftp>get test.txt//test.txt is a newly created file in/tftpboot directory Tftp>put test1.txt/ /test1.txt is the new file in the/home directory Tftp>q exit, there will be a test.txt file under the/home directory, test1.txt in the/tftpboot directory, indicating that the TFTP server installation was successful!

Installing TFTP in Ubuntu 16.04

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.