Ubuntu で tftpd を設定する方法。
( Ubuntu 12.04 で確認 )
1. tftpd をインストール
# apt-get install tftpd
2. xinetd の設定
/etc/xinetd.d/tftp を作成。
# vi /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
}
3. /tftpboot ディレクトリを作成&パーミッション設定
# mkdir /tftpboot # chmod 777 /tftpboot
4. xinetd をリスタート
# /etc/init.d/xinetd restart
● tftpd, tftp, サーバ

0 件のコメント:
コメントを投稿