文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Setup TFTP Server on Fedora7

Setup TFTP Server on Fedora7

时间:2009-04-23  来源:helentpe

A) install it
    # rpm -ivh tftp-server-0.42-4.i386.rpm
B) check whether installed or not :
    # rpm -qa } grep tftp
    (you will see some filename with ***tftp*** , that means installation OK)
C) configure :
    # vi /etc/xinetd.d/tftp
    (you will see this, change to  "disable  = no")
    service tftp
    {
        socket_type          = dgram
        protocol                = udp
        wait                      = yes
        user                      = root
        server                   = /usr/sbin/in.tftpd
        server_args           = -s /tftpboot
        disable                  = no
        per_source            = 11
        cps                       = 1002
        flags                     = IPv4
    }
D.1) start up / re-start services :
    # /etc/init.d/xinetd start
    or
    # /etc/init.d/xinetd restart
    (you will see :
    Stopping xinetd: [ OK ]
    Starting xinetd: [ OK ]  )
D.2)  or
   /sbin/chkconfig tftp on
   /sbin/chkconfig xinetd on
   /sbin/service xinetd start
E) testing :
E.1) image file placed at /tftpboot :
   # mkdir /tftpboot
E.2)   # touch /tftproot/test.img
E.3)   (from other Linux PC)
   tftp 192.168.0.1
   tftp> get test
   tftp> quit
E.4)    (from other Win PC)
   tftp -i 192.168.0.1 GET test
Thx !
相关阅读 更多 +
排行榜 更多 +
飞翔之光手机版

飞翔之光手机版

冒险解谜 下载
飞翔之光手游

飞翔之光手游

冒险解谜 下载
月亮冲突英雄

月亮冲突英雄

飞行射击 下载