• CentOS 7.0 64位 安装TFTP


    1.安装tftp软件
    # yum -y install tftp*
    2.修改配置文件

    # vi /etc/xinetd.d/tftp

    server_args = -s /tftpboot '加-c
    disable = yes '改为no #默认tftp服务是关闭的。

    修改后的代码:
    service tftp
    {
            socket_type             = dgram
            protocol                 = udp
            wait                      = yes
            user                        = root
            server                     = /usr/sbin/in.tftpd
            server_args             = -s /var/lib/tftpboot -c
            disable                    = no
            per_source              = 11
            cps                         = 100 2
            flags                       = IPv4
    }


    修改项server_args= -s <path> -c
    其中<path>处可以改为你的tftp-server的根目录,参数-s指定chroot,-c指定了可以创建文件。

    4.启动tftp服务
    # service xinetd start

  • 相关阅读:
    8月18号心得
    题解
    考试题
    1055心得
    1055解
    1055题
    心得
    考试三道题
    2017.8.1 居然是倒数第二天了……
    1055
  • 原文地址:https://www.cnblogs.com/chinablog100/p/5489234.html
Copyright © 2020-2023  润新知