Install and start Tftp-server servers and possible solutions for redirecting To/bin/systemctl restart Xinetd.service issues

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.