• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

how to install TFTP server on CentOS 7

{{postValue.id}}

To install TFTP server on CentOS 7

TFTP, exapanded as Trivial File Transfer Protocol, is a basic file transfer protocol. Its a simple protocol and doesn&rsquo 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.

Installing TFTP

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

Tags:
jacob
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

It possible to change the FTP default path into customizing path?

A

Yes, its possible to customize the default path as you want.

Q

Whether FTP is a same functionality as the Samba server?

A

No. It just an allows file transfer between network terminals in a reliable manner.

Q

Whether is is similar to ftp?

A

At somepoints it is similar but not identical.

Q

What is the difference between FTP and TFTP?

A

FTP stands for File Transfer Protocol.
FTP uses TCP to manage the file transfer and is a reliable connection oriented service

TFTP uses UDP for file transfer and is not a reliable service. Packets may be lost, but neither the sender or receiver learn about it
TFTP does not support logins and is therefore a security risk (this is why most devices configure for a TFTP server internally. Devices that can have a TFTP

Q

What is the configuration file of the TFTP?

A

This is the configuration file
Edit /etc/default/tftpd-hpa, run:
# vi /etc/default/tftpd-hpa

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Luk Van De Looverbosch ?
How to create a root ?

Hello,
How to create root@linuxhelp in Linux Mint 20.1 64-bit ?
Thanks in advance for your reply.
Best regards.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.