0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

UbuntuでTFTPサーバを設定する

Posted at

使用環境

・Ubuntu 20.04
・Linux Kernel 5.15.0

TFTPサーバのインストール

sudo apt install tftpd-hpa

設定ファイル:/etc/default/tftpd-hpa

(デフォルトの内容)
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftp"
TFTP_ADDRESS=":69"
TFTP_OPTIONS="--secure"

※ TFTPクライアントがアクセスするのはTFTP_DIRECTORYで指定したフォルダになります。

TFTPサーバの起動

sudo systemctl start tftpd-hpa

自動起動の設定はせず、必要時に起動しようと思います...。

TFTPサーバの再起動(設定ファイルを書き換えた場合等)

sudo systemctl restart tftpd-hpa

TFTPサーバの停止

sudo systemctl stop tftpd-hpa
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?