Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The installation method of tftp under ubuntu8.04 version

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "the installation method of tftp under the ubuntu8.04 version". In the daily operation, I believe that many people have doubts about the installation method of tftp under the ubuntu8.04 version. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "the installation method of tftp under the ubuntu8.04 version". Next, please follow the editor to study!

First, let's introduce the three packages we are going to install:

1.xinetd:xinetd is a daemon that handles requests for various services. When a service request monitored by xinetd appears, xinetd uses the / etc/xinetd.conf file to read the configuration file in the / etc/xinetd.d directory, and then starts the corresponding program according to the contents of the xinetd.conf file of the requested service.

2.tftpd: server side

3.tftp: client

* step: install the relevant software package

Sudo apt-get install tftpd (server side)

Sudo apt-get install tftp (client)

Sudo apt-get install xinetd

Step 2: create a profile

Cd / etc/xinetd.d/

Vim tftp

Input

QUOTE:

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 cps = 100 2 flags = IPv4}

Save and exit

3. Establish a directory of tftp service files

Mkdir / tftpboot

4. Restart the service

/ etc/init.d/xinetd restart

Tip: after executing this command, some information may be displayed, but it will not affect the use (I don't know exactly why). The following steps will pass smoothly.

Installation complete! Test method:

Put a random file abc in the / tftpboot directory

Then run the tftp server ip (such as tftp 192.168.1.1) and enter the tftp command line

Enter get abc to see if you can download the file, and if you can, you can also put the file.

At this point, the study of "the installation method of tftp under the ubuntu8.04 version" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report