How to install the tftp service in Ubuntu

Source: Internet
Author: User
How to install the tftp service in Ubuntu-Linux Enterprise Application-Linux server application information. For details, refer to the following section. 1. Install related software packages
Apt-get install tftpd (server)
Apt-get install tftp (client)
Apt-get install xinetd

2. Create a configuration file
Cd/etc/xinetd. d/
Vi tftp
Input
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
}

Save disk and exit

3. Create a tftp service file directory
Mkdir/tftpboot

4. Restart the service
/Etc/init. d/xinetd restart

Installation complete! Test method:
Put a file abc in the/tftpboot directory.
Run tftp 192.168.123.202 to enter the tftp command line.
Enter get abc to see if the file can be downloaded. If you can, you can also put the file.

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.