免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1081 | 回复: 3
打印 上一主题 下一主题

中文linux资料大全 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-11-19 16:23 |只看该作者 |倒序浏览
http://100800.vicp.net

[ 本帖最后由 gsbo 于 2007-4-9 01:59 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-11-19 16:42 |只看该作者
楼主,你的ftp无法打开,http是好的!

论坛徽章:
0
3 [报告]
发表于 2006-11-19 16:43 |只看该作者
有个perl5教程不错,谢谢楼主!

论坛徽章:
0
4 [报告]
发表于 2006-11-19 17:44 |只看该作者
系统已更改,以下内容与现用系统无关!FTP 功能已关闭!


# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName       "Ftp Default Server"
#ServerIdent                        on "FTP Server ready."
#ServerAdmin                        root@localhost
#Set the mode proftpd runs in
ServerType                        standalone
# Set the default server
DefaultServer                        on
#AccessGrantMsg                        "User %u logged in."

#Set the file to display on login
DisplayLogin                        .ftpmotd
#Set the file to display on quit
DisplayQuit                     .ftpgoaway
#Don't show welcome message until user has authenticated
DeferWelcome                        off

#allow root to login
RootLogin   On

#Sets default chroot directory
DefaultRoot     ~

# Use this to excude users from the chroot
DefaultChdir                   /

# Use pam to authenticate by default
AuthPAMAuthoritative                on

# Do not perform ident nor DNS lookups (hangs when the port is filtered)
IdentLookups                        off
UseReverseDNS                        off

# Sets the idle connection timeout,Setting TimeoutIdle to 0 disables the idle timer completely
TimeoutIdle       120

# 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

# Default to show dot files in directory listings
ListOptions                "-a"

#Limits the connections per client machine
MaxClientsPerHost       10

# Allow to resume not only the downloads but the uploads too
AllowRetrieveRestart                on
AllowStoreRestart                on


# This is where we want to put the pid file
ScoreboardFile                  /var/proftpd.pid

# 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                                nobody


<Global>
AllowOverwrite                yes
<Limit ALL SITE_CHMOD>
    AllowAll
</Limit>
</Global>


# Limit WRITE everywhere in the anonymous chroot, allow READ everywhere
<Limit READ>
   AllowAll
</Limit>
<Limit STOR>
    DenyAll
</Limit>  

#allow login from all ip address
<Limit LOGIN>
Order   Deny,Allow
Allow from    all
</Limit>       

# Limit the maximum number of anonymous logins
MaxClients       100   "Sorry, max %m users -- try again later"

# Logging options
TransferLog                     /var/spool/syslog/proftpd/xferlog.legacy
# Some logging formats
LogFormat                         default "%h %l %u %t \"%r\" %s %b"
LogFormat                       auth    "%v [%P] %h %t \"%r\" %s"
LogFormat                       write   "%h %l %u %t \"%r\" %s %b"


# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
User   ftp
Group  ftp
UserAlias  anonymous  ftp
DirFakeUser                        on ftpadm
DirFakeGroup                        on ftpadm
AccessGrantMsg                "Anonymous login ok, restrictions apply."

# Put the user into / right after login
DefaultChdir                        /

DisplayLogin                        /.ftpmotd
DisplayQuit                 /.ftpgoaway
DisplayReadme                        README*

# Limit WRITE everywhere in the anonymous chroot, allow READ everywhere
<Limit READ>
   AllowAll
</Limit>
<Limit STOR>
   AllowAll
</Limit>  

# An upload directory that allows storing files but not retrieving
# or creating directories.
<Directory uploads>
AllowOverwrite no
<Limit READ>
      DenyAll
</Limit>
<Limit STOR>
      AllowAll
</Limit>
<Limit CWD>
Order   Deny,Allow  
Allow from    all
</Limit>
</Directory>

# Don't write anonymous accesses to the system wtmp file (good idea!)
WtmpLog                        off
# Loggin for the anonymous transfers
ExtendedLog                /var/log/proftpd/access.log WRITE,READ default
ExtendedLog                /var/log/proftpd/auth.log AUTH auth

</Anonymous>
<VirtualHost       192.168.100.102>
ServerName  "linux"
Port 21
DisplayLogin  .ftpmotd
DisplayQuit   .ftpgoaway
MaxClients 100 "Sorry, max %m users -- try again later"
MaxClientsPerHost 10
DefaultRoot /var/ftp
<Limit READ>
AllowAll
</Limit>
<Limit STOR>
AllowAll
</Limit>
<Limit LOGIN>
Order Deny,Allow
Allow from all
</Limit>
<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
dirFakeUser  on ftpadm
dirFakeGroup  on ftpadm
DisplayLogin  .ftpmotd
DisplayQuit   .ftpgoaway
<Limit READ>
AllowAll
</Limit>
<Limit STOR>
AllowAll
</Limit>
</Anonymous>
</VirtualHost>

这是FTP服务器的配置文件
实在是不明白为什么有的客户端不能登录。

[ 本帖最后由 gsbo 于 2007-4-9 02:02 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP