/**PageBeginHtml Block Begin **/ /***自定义返回顶部小火箭***/ /*生成博客目录的JS 开始*/ /*生成博客目录的JS 结束*/

安装和启动tftp-server服务器及可能出现Redirecting to /bin/systemctl restart xinetd.service问题的解决方式

* 博客文章部分截图及内容来自于学习的书本及相应培训课程以及网络其他博客,仅做学习讨论之用,不做商业用途。
* 如有侵权,马上联系我,我立马删除对应链接。
* @author Alan
* @Email no008@foxmail.com

 

正文


安装和启动tftp-server服务器及可能出现Redirecting to /bin/systemctl restart xinetd.service问题的解决方式

1)首先,检查服务器已安装的tftp-server
        使用命令:rpm -qa | grep tftp-server
        如果存在已安装的tftp这里会列出来
    2)安装tftp-server 和 xinetd
        使用如下的命令,进行相应服务的安装:
        $yum -y install tftp-server
        $yum -y install xinetd
    3)修改tftp配置文件
    使用如下命令:
        $vi /etc/xinetd.d/tft打开配置文件
        service tftp
        {
            socket_type        = dgram
            protocol        = udp
            wait            = yes
            user            = root
            server        = /usr/sbin/in.tftpd
            server_args        = -s /var/lib/tftpboot
            disable        = no //需要修改的地方,初始时刻为yes
            per_source        = 11
            cps            = 100 2
            flags            = IPv4
        }
    4)重起服务
        使用如下命令进行服务的重新启动
        $/bin/systemctl restart xinetd.service
        如果没有效果,使用如下命令
        $/bin/systemctl enable xinetd.service //开启服务
        $/bin/systemctl start xinetd.service  //启动服务
        查看服务启动状况
        $ps aux | grep xinetd 或者 $ps -ef|grep xinetd 或者 ps -a | grep tftp
    5)可能出现的问题
        5.1)在启动 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.
            说明系统没有安装 xinetd,需要使用 yum -y instal xinetd.service进行服务的安装
        5.2)在启动xinetd.service时出现:
            Redirecting to /bin/systemctl restart  xinetd.service
            可能启动的命令是systemctl restart xinetd.service
            以上是我安装tftp的步骤及遇到的一些问题,可能读者这自己安装的过程中有其它的一些问题,但是问题应该不大

posted @   一品堂.技术学习笔记  阅读(3657)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2017-10-07 activiti 基础
点击右上角即可分享
微信分享提示

目录导航