安裝TFTP伺服器

2021-05-25 01:40:26 字數 1058 閱讀 3415

安裝

tftp

伺服器

## install xinetd, tftpd-hpa and tftp-hpa packages

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

## create tftp-server root directory

$ sudo mkdir /tftpboot

$ sudo chmod –r 777 /tftpboot

## create tftp server configuration file

$ sudo gedit /etc/xinetd.d/tftpd

在tftpd

檔案中編寫如下內容,然後儲存檔案並退出:

service tftp

## modify inetd configuration file

$ sudo gedit /etc/inetd.conf

修改內容:

tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot

修改為:

tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /tftpboot

## edit tftpd-hpa configuration file

$ sudo gedit /etc/default/tftpd-hpa

#defaults for tftpd-hpa

run_daemon="yes"

options="-l -s /tftpboot"

## restart xinetd and tftpd service

$ sudo /etc/init.d/xinetd restart

$ sudo /etc/init.d/tftpd-hpa restart

Ubuntu 安裝tftp伺服器

平台 ubuntu 12.10 1 安裝增強版tftp伺服器,客戶端以及xinetd 超級伺服器 sudo apt get install tftp hpa tftpd hpa xinetd 2 建立主目錄並更改許可權 sudo mkdir p home iserver tftpboot sudo ...

tftp伺服器安裝教程

下面講訴如何在宿主機上安裝tftp伺服器和配置tftp 首先得在宿主機的linux上安裝tftp伺服器,執行命令 mount dev cdrom mnt 將光碟機掛載到mnt目錄下 rpm ivh mnt packages tftp server 0.49 7.el6.i686.rpm 提示出現er...

TFTP 伺服器安裝設定

一 安裝tftpd apt get install tftpd 要準備好 tftp 伺服器,您首先需要確定tftpd已經啟動 在debian系統中,確保inetd服務已啟動 這通常可以在 etc inetd.conf新增如下字句來實現 tftp dgram udp wait nobody usr s...