1
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?

TFTPサーバの設定方法 (AlmaLinux 9.4)

Last updated at Posted at 2024-07-29

はじめに

TFTPとはUDPを用いた簡易的なファイル転送プロトコル。
FTPと比較して、パスワード認証が行われない点と、UDPで動作しておりFTPより信頼性は劣るが転送効率を重視している点が特徴である。
今回、TFTPサーバの設定を行ったので備忘録として記載する。

環境

AlmaLinux 9.4

手順

  • インストール
$ sudo dnf -y install tftp-server
  • firewall設定
    • TFTP通信を許可する。
$ sudo firewall-cmd --permanent --zone=public --add-service=tftp
$ sudo firewall-cmd --reload
$ sudo firewall-cmd --list-all
  • サービス起動設定
$ systemctl start tftp.socket
$ systemctl enable tftp.socket
  • サービスの起動状態を確認したい場合
$ systemctl status tftp.socket
  • TFTPサーバのルートディレクトリは/var/lib/tftpboot
    • 転送したいファイルはそこに配置する。
1
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
1
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?