歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> Ubuntu11.04上tftp服務的配置

Ubuntu11.04上tftp服務的配置

日期:2017/3/1 16:35:10   编辑:關於Linux
Ubuntu11.04上tftp服務的配置 1、安裝:tftp-hpa,tftpd-hpa,xinetd www.2cto.com 2、配置/etc/default/tftpd-hpa,內容如下: # /etc/default/tftpd-hpa TFTP_USERNAME="tftp" TFTP_DIRECTORY="/var/tftp" TFTP_ADDRESS="0.0.0.0:69" TFTP_OPTIONS="--secure -c" www.2cto.com 說明:第二項改成你自己定義的tftp工作目錄路徑;第四項添加一個“-s”參數以便運行執行put操作(--secure等同於-s; -c等同與--create) 3、設置工作目錄/var/tftp權限 $ sudo chmod -R 777 /var/tftp 4、重新啟動服務 $ sudo /etc/init.d/tftpd-hpa restart 5、通過tftp的get和put進行測試: $ tftp localhost tftp> get xx tftp> put yy
Copyright © Linux教程網 All Rights Reserved