02 tftp server 安裝和使用

02 tftp server 安裝和使用

安裝

$sudo apt-get install tftp xinetd

 

如果在federal安裝

$sudo yum install tftp
$sudo yum install tftp-server

 

因為系統內定是禁止使用,所以需要修改

/etc/xinetd.d/tftp

修改後如下

Screen Shot 2014-01-12 at 12.16.59 PM

記得tftp 設定根目錄在 /tftpboot,所以實體機器要有這個路徑

$mkdir /tftpboot
$chmod o+w /tftpboot
$service xinetd restart

這樣就啟動了。

你可以用minicom ,開發版選擇tftp 下模式,這樣就可以了。