In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Description:
TFTP is the simplest network protocol for downloading remote files. It is implemented in the UDP protocol. The tftp development environment of embedded linux includes two aspects: one is the tftp-server support of linux server, the other is the tftp-client support of embedded target system. Because u-boot itself has built-in support for tftp-client, the embedded target system side does not need to be configured.
Xinetd (eXtended InterNET services daemon) is a new generation of network daemon service program, also known as super INTERNET server, which is often used to manage a variety of lightweight INTERNET services. Xinetd provides functions similar to inetd+tcp_wrapper, but more powerful and secure.
Second, install tftp server:
Xinetd, tftp, tftp-server need to be installed
1. If you can access the Internet, install it through yum:
Yum-y install xinetd
Yum-y install tftp
Yum-y install tptp-server
2. If you cannot surf the Internet, you can directly install the rpm package provided:
Rpm-ivh xinetd-2.3.14-38.el6.src.rpm
Rpm-ivh tftp-0.48-3.fc9.src.rpm
Rpm-ivh tftp-server-0.48-3.fc9.i386.rpm
Note, the installation package can be found in my Baidu Cloud, download link: http://pan.baidu.com/s/1c2tOfKW
3. Configure tftp server:
(1), modify / etc/xinetd.d/tftp file
Change disable=yes to disable=no
Change server_args=-s / var/lib/tftpboot to server_args=-s / tftpboot/-c
(2) modify / etc/sysconfig/selinux file
SELINUX=disabled (the default is enforcing) should be changed to disabled
Note: this step requires restarting the server to take effect.
Can be temporarily shut down (no need to restart the machine)
Setenforce 0
(3) create a new tftpboot directory and add permissions:
Mkdir / tftpboot/
Chmod 775 / tftpboot
Start the tftp server:
Service xinetd restart
Check whether the tftp service is enabled:
Netstat-a | grep tftp
Udp 0 0 *: tftp *: * indicates that the service has been enabled and the tftp configuration is successful
5. Use the command:
Copy the test.tar file to the directory / tftpboot
Download the file on the client:
Tftp-gr test.tar 192.168.2.100
Note frequently asked questions:
1. Selinux needs to be closed.
2. The / tftpboot directory needs to be created under the root and given sufficient permissions to facilitate the client to download
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.