In Linux, the TFTP server configures the TFTP server as the software working on the host machine and mainly provides download of the main image files on the target machine. 1. to install the tftp server, you must install xinetd (dependency), tftp (tftp command), and tftp-server (tftp service )... in Linux, the TFTP server configures the TFTP server as the software working on the host machine and mainly provides download of the main image files on the target machine. 1. to install the tftp server, you must install xinetd (dependency), tftp (tftp command), and tftp-server (tftp service) 3 software can be directly installed with the rpm package provided: (find files and install in the mounted Directory of the system disc) rpm-ivh xinetd-2.3.14-18.fc9.i386.rpm rpm-ivh tftp-0.48-3.fc9.i386.rpm rpm-ivh tftp-server-0.48-3.fc9.i386.rpm 2. configure the tftp server to modify/etc/xinetd. d/tftp file, change disable = yes to disable = no. 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/mike/tftpboot-c disable = no per_source = 11 cps = 100 2 flags = IPv4} Description: modify the server_args =-s -C, where You can change it to the root directory of your tftp-server. the parameter-s specifies the chroot, and-c specifies if If it does not exist, create a category 3. start the tftp server and disable the firewall/etc/init. d/xinetd start: start [OK]. 4. check whether the tftp service has enabled netstat-a | grep tftp. The result is udp 0 0 *: tftp *: * indicating that the service has been enabled, indicating that the tftp configuration is successful. 5. tftp copies a file to the Directory of the tftp server, and then starts the tftp software on the host for a simple test. Tftp 127.0.0.1 enters the tftp server command mode tftp> get Get a file from the server directory tftp> put Upload a file to the server directory tftp> q exit server command mode
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.