1) First, check that the server is installed Tftp-server
Use command: RPM-QA | grep tftp-server
If there is already an installed TFTP listed here
2) Install Tftp-server and xinetd
Use the following command to install the appropriate service:
$yum-y Install Tftp-server
$yum-y Install xinetd
3) Modify the TFTP configuration file
Use the following command:
$vi/etc/xinetd.d/tft Open the configuration file
Service TFTP
{
Socket_type = Dgram
protocol = UDP
Wait = yes
user = root
Server =/USR/SBIN/IN.TFTPD
Server_args =-s/var/lib/tftpboot
Disable = no//Where modification is required, initial time is yes
Per_source = 11
CPS = 100 2
Flags = IPV4
}
4) Re-start service
Restart the service using the following command
$/bin/systemctl Restart Xinetd.service
If there is no effect, use the following command
$/bin/systemctl Enable Xinetd.service//Open service
$/bin/systemctl start Xinetd.service//Start service
View service startup status
$ps aux | grep xinetd or $ps-ef|grep xinetd or Ps-a | grep tftp
5) problems that may arise
5.1) Prompt when starting Xinetd.service
Redirecting To/bin/systemctl restart Xinetd.service
Failed to issue method Call:unit Xinetd.service Failed to load:no such file or directory.
Note that the system does not have XINETD installed and requires a service installation using yum-y instal xinetd.service
5.2) Occurs when starting Xinetd.service:
Redirecting To/bin/systemctl restart Xinetd.service
The command that may start is systemctl restart Xinetd.service
These are my steps to install TFTP and some of the problems encountered, may be the reader of the installation process has other problems, but the problem should not be
Install and start Tftp-server servers and possible solutions for redirecting To/bin/systemctl restart Xinetd.service issues