ftp 配置 -凯发k8国际

`
jickcai
  • 浏览: 235789 次
  • 性别:
  • 来自: 北京
博主相关
  • 博客
  • 微博
  • 相册
  • 收藏
  • 社区版块
    • ( 0)
    • ( 0)
    • ( 0)
    存档分类
    最新评论

    ftp 配置

      博客分类:
    • web
     

    配置目录

    /usr/local/proftp/etc/proftpd.passwd

    配置文件

     

    /usr/local/proftp/etc/proftpd.conf
     
     
    servername "proftpd"
    servertype standalone
    defaultserver on
     
    timesgmt off
    # port 21 is the standard ftp port.
    port 21
    # umask 022 is a good standard umask to prevent new dirs and files
    # from being group and world writable.
    umask 022
    identlookups off
    usereversedns off
    # to prevent dos attacks, set the maximum number of child processes
    # to 30. if you need to allow more than 30 concurrent connections
    # at once, simply increase this value. note that this only works
    # in standalone mode, in inetd mode you should use an inetd server
    # that allows you to limit maximum number of processes per service
    # (such as xinetd)
    maxinstances 30
     
    # set the user and group that the server normally runs at.
    user nobody
    group nogroup
     
    # normally, we want files to be overwriteable.
    allowoverwrite on
     
    # a basic anonymous configuration, no upload directories.
    #
    # user ftp
    # group ftp
    # we want clients to be able to login with "anonymous" as well as "ftp"
    # useralias anonymous ftp
     
    # limit the maximum number of anonymous logins
    # maxclients 30
     
    # we want 'welcome.msg' displayed at login, and '.message' displayed
    # in each newly chdired directory.
    # displaylogin welcome.msg
     
    # limit write everywhere in the anonymous chroot
    #
    # denyall
    #
    #
    #
    # denyall
    #
    #
    #
    #
    # denyall
    #
    #
     
    #
    #
    # denyall
    #
    #
     
    #
    #
    # denyall
    #
    #
     
    #
    #
    # denyall
    #
    #
     
    #
    #
    # denyall
    #
    #
     
    #
    #
    # denyall
    #
    #
     
     
    #
    #
    # allowall
    #
    #
     
     
    #
    #
    # denyall
    #
    #
     
    #
    #
    # denyall
    #
    #
     
    #
    #
    # allowall
    #
    #
     
    #
    # denyall
    #
     
    #
     
    authorder mod_auth_file.c
    authuserfile /usr/local/proftp/etc/proftpd.passwd
    requirevalidshell off

    命令

    ftpasswd --file=/usr/local/proftp/etc/proftpd.passwd --home=/home/work/ftp --shell=/bin/false --name=work --uid=500 --gid=500 --passwd
    --home=xxx 指定 ftp 用户登录后的根目录(eg. --home=/home/work)
    --name=xxx 指定 ftp 用户名
    --uid=500 --gid=500 指定账号关联对应系统用户和组(eg. 99:nobody/500:work 可通过命令 id work查看用户对应uid/gid)
    下载
     

    重启ftp服务

    service proftpd restart
     
    cd /usr/local/proftp/sbin
    ./proftpd
     
     
     
     
     
     

    分享到:
    评论

    相关推荐

      ftp的配置及使用,初学者想了解更多ftp相关的知识,可以参考这个文档

      ftp配置与实现 windows环境下.....

      centos7下的一份完整vsftpd的配置文件。阿里云三台centos7.0 linux主机亲测有效。 不过需要单独新建一份文件/vsftpd/chroot_list文件,里面写上允许登录的ftp用户名。

      linux下ftp配置

      ftp配置,通过properties动态读取ftp配置

      linux系统中ftp配置linux系统中ftp配置linux系统中ftp配置

      基于centos系统的ftp配置

      linux系统的ftp配置,适用于linux的各个本版

      应公司要求 需要搭建一台文件服务器(ftp服务器),要求 开源免费,需要支持断点续传,上传的文件大小至少需要500mb,用户量庞大,需要自动生成用户名和密码,每个用户只能管理自己的文件夹内容等苛刻的要求,这是...

      linux下搭建telnet和ftp配置的相关文档。

      null 博文链接:https://deep-fish.iteye.com/blog/1073980

      红旗linux中的ftp配置的方法,很详细的

      ftp配置文件

      使用jdk1.8、springboot2.2.10.release、lombok1.18.8、guava23.0、hutool...注意:项目导入后先将ftp配置更改正确,然后即可启动项目成功。 详情请看:https://blog.csdn.net/u011837804/article/details/123951063

      本文档主要说明windows2003环境下iis自带的ftp配置,其中有详细的截图说明,还不错的

      linux ftp配置详解 介绍的非常详细,每一项的描述都有

      ftp服务器配置 vsftp主配置文件路径:/etc/vsftpd/vsftpd.conf,重要参数: anonymous_enable=yes/no 是否允许匿名用户访问 anon_upload_enable=yes/no 是否允许匿名用户上传文件 anon_mkdir_write_enable=yes/no ...

      计网ftp配置实验.docx

      win2003系统下ftp配置完全教程,配置隔离用户。

      ftp配置/centos

    global site tag (gtag.js) - google analytics
    网站地图