Start the TFTP server in Linux

Source: Internet
Author: User
Step 1: Check whether the TFTP-SERVER is installed in LINUX. in LINUX enter: rpm-qtftp-server if the following response appears: tftp-server-0.39-2 indicates that tftp-server is installed. step 2: Modify the tftp startup script. Method 1: Modify the ftptpd STARTUP script vietcxinetd. dtftp with disable

Step 1:

We need to confirm whether the TFTP-SERVER is installed in LINUX.

In LINUX, enter:

Rpm-q tFtp-Server

If the following response is displayed:

Tftp-Server-0.39-2 indicates that tftp-server is installed.

Step 2:

Modify the tftp startup script:

Method 1:

You need to modify the startup script of ftptpd.
Vi/etc/xinetd. d/tftp
When disable = no is added, the tfpt service can be started.

Method 2:

Input:/sbin/ChkconfigTftp on

ThisCommandAdd disable = no in the startup script.

The modified script works as follows:

Step 3:

Start the TFTP service
Service xinetd restart

In this way, our service starts OK.

The default TFTP root directory is in/tftproot.

Tftp simple client: http://www.linuxIdC.com/Linux/2011-08/39946.htm

You can check to see if a TFTP server isSetUp with the following command:

Host $Rpm-q tftp-server

You shoshouldExPect to see output similar:

Tftp-server-0.39-2

NOTE: Your version may beDiffErent than the one listEdAbove. This is OK, the version above is just an example.

If it is notSetup, You can follow these steps:

  1. Download a TFTP server for your Linux host. You can search the internet for "tftp-server". You canFindThe RPM package for download here
  2. Install the TFTP server package
    Host $Rpm-ivh
  3. ConfiRmThat TFTP is installed
    Host $/Sbin/chkconfig -- list | GrepTftp
  4. Turn on the TFTP server
    Host $/Sbin/chkconfig tftp on

The default root loCatIon for TFTPFileS is/tftpboot.

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.