How to Set up a tftp server in Linux

Source: Internet
Author: User

In many cases, we need to set up the tftp server in multiple systems. So today we will mainly explain how to set up a tftp server in Linux. Because the host uses the Windows 7 system and tftp32 does not seem to be compatible with it, a tftp server is built on linux as follows:

In Linux, set the tftp server 1. yum install tftp-server

Set the tftp server in Linux 2. Enter setup in the terminal and enable tftp in the service

Set tftp Server 3. service iptables stop in Linux to disable Firewall

In Linux, set the tftp Server 4. Modify the file/etc/xinetd. d/tftp. It mainly sets the root directory of the TFTP server and enables the service.

The modified file is as follows:

Service tftp {

Socket_type = dgram

Protocol = udp

Wait = yes

User = root

Server =/usr/sbin/in. tftpd

Server_args =-s/home/app-c

Disable = no

Per_source = 11

CPIs = 100 2

Flags = IPv4

}

Set tftp server in Linux 5. mkdir/home/app

Set tftp Server 6. service xinetd restart in Linux

Set the tftp server in Linux 7. Finally, you can put the file into/home/app for tftp transmission. Do not forget to grant the File permission. Otherwise, the system will prompt permission denied.

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.