zoukankan      html  css  js  c++  java
  • ubuntu下安装tftp服务

    1、安装相关软件包

    apt-get install tftpd      (服务端)
    apt-get install tftp      (客户端)  
    apt-get install xinetd  

    2、建立配置文件

    cd /etc/xinetd.d/
    vi tftp
    输入
    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                        = 100 2
               flags                      = IPv4
    }

    存盘退出

    3、建立tftp服务文件目录
          mkdir /tftpboot
    4、从新启动服务
          /etc/init.d/xinetd restart

    安装完成!测试方法:
    /tftpboot 目录下随便放个文件abc
    然后 运行tftp 192.168.123.202 进入tftp命令行
    输入get abc 看看是不是能把文件下下来,如果可以就可以了,也可以put 文件上
  • 相关阅读:
    Lotus Notes中文档查询(转)
    MSSQL日志管理
    VS使用带临时表的存储过程
    TaskbarForm
    IT人士在离职后可以做的14件事情
    app.config数据库连接字符串的加密
    IT职场人,切不要一辈子靠技术生存
    wmi资料
    迁移成功
    【SpeC#】-C#的又一同胞兄弟
  • 原文地址:https://www.cnblogs.com/lyyyuna/p/4123929.html
Copyright © 2011-2022 走看看