ubuntu 安装 TFTP server

版权声明:©1995-2018 CodingTheFuture, blog. All rights reserved. https://blog.csdn.net/sunqian666888/article/details/85050265

一、安装软件

$ sudo apt-get update
$ sudo apt-get install tftp-hpa tftpd-hpa


​

二、创建tftpboot 目录

三、修改 tftpd-hpa 的配置文件

$ sudo vim /etc/default/tftpd-hpa

四、测试上传和下载

tftp> get test    
getting from 192.168.75.128:test to test [netascii]
Received 10 bytes in 0.0 seconds [4947 bit/s]
tftp> 
tftp> 
tftp> put a
putting a to 192.168.75.128:a [netascii]
Sent 13291 bytes in 0.1 seconds [1761273 bit/s]

猜你喜欢

转载自blog.csdn.net/sunqian666888/article/details/85050265