tftp server

1629阅读 0评论2013-01-14 daivehhm
分类:LINUX

要搭建一个tftp server只需要简单的三步:
1.将以下内容放到/etc/xinetd.d/tftp
2.创建/tftpboot目录,并修改权限:chmod 777 /tftpboot
3.启动tftp server:xinetd -f /etc/xinetd.d/tftp


# default: off
# description: The tftp server serves files using the trivial file transfer \
#    protocol.  The tftp protocol is often used to boot diskless \
#    workstations, download configuration files to network-aware printers, \
#    and to start the installation process for some operating systems.
#file exist :
#    this file conten must include by /etc/xinetd.d/tftp
#how to start tftp server:
#    xinetd -f /etc/xinetd.d/tftp
service tftp
{
    socket_type        = dgram
    protocol        = udp
    wait            = yes
    user            = root
    server            = /usr/sbin/in.tftpd
    server_args        = -s /tftpboot -c
    disable            = no
    per_source        = 11
    cps                = 1002
    flags            = IPv4
}

上一篇:tftp server
下一篇:Shell 比较运算