zoukankan      html  css  js  c++  java
  • 【linux】——如何在linux下安装tftp

    1.下载tftp服务器、客户端tftp和守护进程xinetd三个包
    yum install xinetd tftp tftp-server

    //xinetd.i386 2:2.3.14-21.fc10
    //tftp-0.49-1.fc10.i386.rpm
    //tftp-server-0.49-1.fc10.i386.rpm

    2.配置vi /etc/xinetd.d/tftp
    修改server_args = -s /tftpboot -c,这里的-c一定要加上,否则只能下载不能上传!!!
    service tftp
    {
    disable = no
    socket_type = dgram
    protocol = udp
    wait = yes
    user = root
    server = /usr/sbin/in.tftpd
    server_args = -s /tftpboot -c
    per_source = 11
    cps = 100 2
    flags = IPv4
    }

    3.关闭防火墙

    4.建立tftp工作目录并修改属性(不修改属性会出现error)
    cd /
    mkdir tftpboot
    chmod 777 -R /tftpboot/

    5.开启服务,上传下载文件
  • 相关阅读:
    简单工厂模式
    单例
    开发帮助网址
    图片上传
    数据提交
    存储过程
    标量值函数
    linux查看TCP各连接状态
    nginx配置文件nginx.conf
    php配置文件php-fpm.conf
  • 原文地址:https://www.cnblogs.com/ngnetboy/p/3119097.html
Copyright © 2011-2022 走看看