-
以下のパッケージをインストールします。
sudo apt-get install xinetd tftpd tftp
-
/etc/xinetd.d/tftpを作成し、このエントリを置きます
service tftp { protocol = udp port = 69 socket_type = dgram wait = yes user = nobody server = /usr/sbin/in.tftpd server_args = /tftpboot disable = no }
-
あなたはserver_argsに与えたものは何でも、これが一致している必要がありますフォルダの/ tftpbootを作成します。主にそれがtftpbootになります
sudo mkdir /tftpboot sudo chmod -R 777 /tftpboot sudo chown -R nobody /tftpboot
-
xinetdサービスを再起動します。
新しいシステム:
sudo service xinetd restart
セットアップtftpサービス
おすすめ
転載: www.cnblogs.com/zjbfvfv/p/11120773.html
おすすめ
ランキング