Fedora 27: Install tftp-server for TFTP server

Table of Contents

1 Install tftp-server

Install tftp-server package. /var/lib/tftpboot is used for TFTP server directory.

$ sudo dnf install -y tftp-server$ sudo firewall-cmd –add-service=tftp –permanent$ sudo firewall-cmd –reload$ sudo systemctl enable tftp$ sudo systemctl restart tftp

2 GET file with tftp

Install tftp package.

$ sudo dnf install -y tftp

Put file to /var/lib/tftpboot.

$ echo “hello” | sudo tee /var/lib/tftpboot/hello.txt

Get file with tftp from TFTP server.

$ echo “get hello.txt” | tftp> get hello.txttftp>$ cat hello.txthello

Android | Linux | SDL - Narrow Escape