Install the tftp server in Ubuntu

Source: Internet
Author: User
Install the tftp server in Ubuntu: Step 1: Install the relevant software sudoapt-getinstalltftpdtftpxinetd Step 2: configure the tftp file to create and add the tftp file, and edit sudovi/etc/xinetd. d/tftp copy the following content to the tftp file: servicetftp {socket_type = dgram & nb

Install the tftp server in Ubuntu:

Step 1:
Install related software
Sudo apt-get install tftpd tftp xinetd

Step 2:
Configure tftp-Related Files
Create and add a tftp file and edit it
Sudo vi/etc/xinetd. d/tftp
Copy the following content to the tftp file:
Service tftp
{
Socket_type = dgram
Protocol = udp
Wait = yes
User = root
Server =/usr/sbin/in. tftpd
Server_args =-s/tftpboot
Disable = no
Per_source = 11
CPIs = 100 2
Flags = IPv4
}

Step 3:
Create a folder named tftpboot in the/directory and grant permissions to it. The directory is the directory of the tftp server,
The files to be transmitted are stored in this directory.
Sudo mkdir tftpboot
Sudo chmod 777 tftpboot

Step 4:
Restart the server
Sudo/etc/init. d/xinetd restart
Complete
You can use commands to connect
Tftp [add-I to change transmission mode] [server IP address] get/put [file to be transferred]

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Related Article

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.