1. 程式人生 > >ubuntu 安裝 TFTP server

ubuntu 安裝 TFTP server

一、安裝軟體

$ 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]