VPS侦探论坛

 找回密码
 注册
查看: 9294|回复: 4

pureftpd安装问题请求帮助

[复制链接]
发表于 2010-8-8 15:01:41 | 显示全部楼层 |阅读模式

第一次安装管理员那个Lnmp包之后安装pureftpd是安装成功了.

现在发现一个问题.就是那个第四步:

哪里的密码到底是默认,还是需要修改. 我第一次安装成功的时候是默认的.
后来几次我改了哪里的密码,安装成功了。但是FTP就一直登陆不上去. 真是搞不懂了.
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-8-8 15:06:14 | 显示全部楼层


原帖由 ifre 于 2010-8-8 15:01 发表
第一次安装管理员那个Lnmp包之后安装pureftpd是安装成功了.

现在发现一个问题.就是那个第四步:

哪里的密码到底是默认,还是需要修改. 我第一次安装成功 ...
看看 第6部成功了没有你覆盖了没有 按照教程一步一步来 肯定会成功
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-8-8 15:09:05 | 显示全部楼层

回复 2# 的帖子


肯定成功了啊. 都提示congratulations 了.

但是就是无法通过FTP登陆不了. 改了密码就不行了,难道你们都是使用的默认密码???
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-8-8 17:16:25 | 显示全部楼层

回复 3# 的帖子




https://www.vpser.net/manage/lnmp-pureftpd-cp.html文章末尾方法解检查一下。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2010-11-30 19:02:01 | 显示全部楼层

  1. # Force an IP address in PASV/EPSV/SPSV replies. - for NAT.
  2. # Symbolic host names are also accepted for gateways with dynamic IP
  3. # addresses.

  4. # ForcePassiveIP 192.168.0.1



  5. # Upload/download ratio for anonymous users.

  6. # AnonymousRatio 1 10



  7. # Upload/download ratio for all users.
  8. # This directive superscedes the previous one.

  9. # UserRatio 1 10



  10. # Disallow downloading of files owned by "ftp", ie.
  11. # files that were uploaded but not validated by a local admin.

  12. AntiWarez yes



  13. # IP address/port to listen to (default=all IP and port 21).

  14. # Bind localhost,21



  15. # Maximum bandwidth for anonymous users in KB/s

  16. # AnonymousBandwidth 8



  17. # Maximum bandwidth for *all* users (including anonymous) in KB/s
  18. # Use AnonymousBandwidth *or* UserBandwidth, both makes no sense.

  19. # UserBandwidth 8



  20. # File creation mask. : .
  21. # 177:077 if you feel paranoid.

  22. Umask 133:022



  23. # Minimum UID for an authenticated user to log in.

  24. MinUID 100



  25. # Allow FXP transfers for authenticated users.

  26. AllowUserFXP no



  27. # Allow anonymous FXP for anonymous and non-anonymous users.

  28. AllowAnonymousFXP no



  29. # Users can't delete/write files beginning with a dot ('.')
  30. # even if they own them. If TrustedGID is enabled, this group
  31. # will have access to dot-files, though.

  32. ProhibitDotFilesWrite no



  33. # Prohibit *reading* of files beginning with a dot (.history, .ssh...)

  34. ProhibitDotFilesRead no



  35. # Never overwrite files. When a file whoose name already exist is uploaded,
  36. # it get automatically renamed to file.1, file.2, file.3, ...

  37. AutoRename no



  38. # Disallow anonymous users to upload new files (no = upload is allowed)

  39. AnonymousCantUpload no



  40. # Only connections to this specific IP address are allowed to be
  41. # non-anonymous. You can use this directive to open several public IPs for
  42. # anonymous FTP, and keep a private firewalled IP for remote administration.
  43. # You can also only allow a non-routable local IP (like 10.x.x.x) to
  44. # authenticate, and keep a public anon-only FTP server on another IP.

  45. #TrustedIP 10.1.1.1



  46. # If you want to add the PID to every logged line, uncomment the following
  47. # line.

  48. #LogPID yes



  49. # Create an additional log file with transfers logged in a Apache-like format :
  50. # fw.c9x.org - jedi [13/Dec/1975:19:36:39] "GET /ftp/linux.tar.bz2" 200 21809338
  51. # This log file can then be processed by www traffic analyzers.

  52. # AltLog clf:/var/log/pureftpd.log



  53. # Create an additional log file with transfers logged in a format optimized
  54. # for statistic reports.

  55. # AltLog stats:/var/log/pureftpd.log



  56. # Create an additional log file with transfers logged in the standard W3C
  57. # format (compatible with most commercial log analyzers)

  58. # AltLog w3c:/var/log/pureftpd.log



  59. # Disallow the CHMOD command. Users can't change perms of their files.

  60. #NoChmod yes



  61. # Allow users to resume and upload files, but *NOT* to delete them.

  62. #KeepAllFiles yes



  63. # Automatically create home directories if they are missing

  64. CreateHomeDir no



  65. # Enable virtual quotas. The first number is the max number of files.
  66. # The second number is the max size of megabytes.
  67. # So 1000:10 limits every user to 1000 files and 10 Mb.

  68. #Quota 1000:10



  69. # If your pure-ftpd has been compiled with standalone support, you can change
  70. # the location of the pid file. The default is /var/run/pure-ftpd.pid

  71. #PIDFile /var/run/pure-ftpd.pid



  72. # If your pure-ftpd has been compiled with pure-uploadscript support,
  73. # this will make pure-ftpd write info about new uploads to
  74. # /var/run/pure-ftpd.upload.pipe so pure-uploadscript can read it and
  75. # spawn a script to handle the upload.

  76. #CallUploadScript yes



  77. # This option is useful with servers where anonymous upload is
  78. # allowed. As /var/ftp is in /var, it save some space and protect
  79. # the log files. When the partition is more that X percent full,
  80. # new uploads are disallowed.

  81. MaxDiskUsage 99



  82. # Set to 'yes' if you don't want your users to rename files.

  83. #NoRename yes



  84. # Be 'customer proof' : workaround against common customer mistakes like
  85. # 'chmod 0 public_html', that are valid, but that could cause ignorant
  86. # customers to lock their files, and then keep your technical support busy
  87. # with silly issues. If you're sure all your users have some basic Unix
  88. # knowledge, this feature is useless. If you're a hosting service, enable it.

  89. CustomerProof yes



  90. # Per-user concurrency limits. It will only work if the FTP server has
  91. # been compiled with --with-peruserlimits (and this is the case on
  92. # most binary distributions) .
  93. # The format is : :
  94. # For instance, 3:20 means that the same authenticated user can have 3 active
  95. # sessions max. And there are 20 anonymous sessions max.

  96. # PerUserLimits 3:20



  97. # When a file is uploaded and there is already a previous version of the file
  98. # with the same name, the old file will neither get removed nor truncated.
  99. # Upload will take place in a temporary file and once the upload is complete,
  100. # the switch to the new version will be atomic. For instance, when a large PHP
  101. # script is being uploaded, the web server will still serve the old version and
  102. # immediatly switch to the new one as soon as the full file will have been
  103. # transfered. This option is incompatible with virtual quotas.

  104. # NoTruncate yes



  105. # This option can accept three values :
  106. # 0 : disable SSL/TLS encryption layer (default).
  107. # 1 : accept both traditional and encrypted sessions.
  108. # 2 : refuse connections that don't use SSL/TLS security mechanisms,
  109. # including anonymous sessions.
  110. # Do _not_ uncomment this blindly. Be sure that :
  111. # 1) Your server has been compiled with SSL/TLS support (--with-tls),
  112. # 2) A valid certificate is in place,
  113. # 3) Only compatible clients will log in.

  114. # TLS 1



  115. # Listen only to IPv4 addresses in standalone mode (ie. disable IPv6)
  116. # By default, both IPv4 and IPv6 are enabled.

  117. # IPV4Only yes



  118. # Listen only to IPv6 addresses in standalone mode (ie. disable IPv4)
  119. # By default, both IPv4 and IPv6 are enabled.

  120. # IPV6Only yes

  121. # UTF-8 support for file names (RFC 2640)
  122. # Define charset of the server filesystem and optionnally the default charset
  123. # for remote clients if they don't use UTF-8.
  124. # Works only if pure-ftpd has been compiled with --with-rfc2640

  125. # FileSystemCharset big5
  126. # ClientCharset big5
  127. AllowOverwrite on
  128. AllowStoreRestart on
复制代码

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-8 08:26 , Processed in 0.027125 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表