TFTP, exapanded as Trivial File Transfer Protocol, is a basic file transfer protocol. Its a simple protocol and doesn’t have any security authentication so it is very easy to transfer small files through it. TFTP Server is multi-threaded and commonly used to upload and download executable images and backup configurations for routers and switches. In this tutorial, you will learn the method to install TFTP server on CentOS 7.
You can directly install the TFTP server on your CentOS machine by simply running the following command.
[root@linuxhelp ~]# yum install tftp* Loaded plugins: fastestmirror, langpacks base | 3.6 kB 00:00 extras | 3.4 kB 00:00 updates | 3.4 kB 00:00 . . Installed: tftp.x86_64 0:5.2-13.el7 tftp-server.x86_64 0:5.2-13.el7 Complete!
Once it is done, open the configuration file and change the option for disable from yes to no.
[root@linuxhelp ~]# vim /etc/xinetd.d/tftp
save and exit the file after the changes are made.
TFTP server is now ready to be used. To open it, type the command as follows
[root@linuxhelp ~]# tftp 192.168.7.165 tftp> ? tftp-hpa 5.2 Commands may be abbreviated. Commands are: connect connect to remote tftp mode set file transfer mode put send file get receive file quit exit tftp . . rexmt set per-packet transmission timeout timeout set total retransmission timeout ? print help information help print help information
Thank you! for using Linux Help.
You find this tutorial helpful? Share with your friends to keep
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.