Ubuntu中安裝tftp服務的方法

2021-06-22 12:41:29 字數 541 閱讀 4496

檢查tftp是否已經安裝:netstat -a | grep tftp 若出現:

udp  0 

0 *:tftp 則說明已經安裝,否則沒有。

1、安裝相關軟體包

apt-get install tftpd (服務端)

apt-get install tftp (客戶端)

apt-get install xinetd

2、建立配置檔案

cd /etc/xinetd.d/

vi tftp 輸入

service tftp

存檔退出

3、建立tftp服務檔案目錄

mkdir /tftpboot

4、從新啟動服務

/etc/init.d/xinetd restart

安裝完成!測試方法:

在/tftpboot 目錄下隨便放個檔案abc

然後 執行tftp 192.168.123.202 進入tftp命令列

輸入get abc 看看是不是能把檔案下下來,如果可以就可以了,也可以put 檔案上去。

ubuntu安裝tftp服務

1.安裝tftp server sudo apt get install tftpd hpa sudo apt get install tftp hpa 如果不需要客戶端可以不安裝 tftp hpa 是客戶端 tftpd hpa 是伺服器端 2.配置tftp伺服器 sudo gedit etc de...

Ubuntu中安裝tftp伺服器

apt get install tftp hpa tftpd hpa如果此時提示無法定位軟體包,需要輸入以下指令更新源 需聯網 apt get updatemkdir tftpboot chmod 0777 tftpboot cd tftpboot touch test.txtvi etc defa...

ubuntu下安裝tftp服務

1 安裝相關軟體包 apt get install tftpd 服務端 apt get install tftp 客戶端 apt get install xinetd 2 建立配置檔案 cd etc xinetd.d vi tftp 輸入service tftp 存檔退出 3 建立tftp服務檔案目...