成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

Proftpd環境下設定虛擬主機

系統 Linux
Proftpd全稱:Professional FTP daemon是針對Wu-FTP的弱項而開發的,除了改進的安全性,還具備許多Wu-FTP沒有的特點,能以Stand-alone、xinetd模式運行等。那Proftpd怎么設置虛擬主機!

ProFTPD設計目標是實現一個安全且易于設定的FTP Server。本文介紹下虛擬主機如何在Proftpd環境下實現。

  可以通過指令:VirtualHost來實現,一個最簡單的例子:

  ServerName "virtual FTP server"

  若你僅僅希望通過匿名訪問某個虛擬主機,則使用如下! 的指令:

  Serv erName "virtual FTP server"

  DenyAll

  User private

  Group private

  AllowAll

  這樣192.168.2.35的這臺主機則僅僅允許匿名登錄。

  筆者的proftpd.conf配置文件內容為:

 

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

 

  ServerName &! quot;test.com.cn FTP Server"

  ServerType standalone

  DefaultServer on

  # 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

 

  1.   # To prevent DoS attacks, set the maximum number of child processes  
  2.  
  3.   # to 30. If you need to allow more than 30 concurrent connections  
  4.  
  5.   # at once, simply increase this value. Note that this ONLY works  
  6.  
  7.   # in standalone mode, in inetd mode you should use an inetd server  
  8.  
  9.   # that allows you to&! nbsp;limit maximum number of processes per&nb sp;service  
  10.  
  11.   # (such as xinetd)  

 

  MaxInstances 30

  RequireValidShell off

  ServerIdent off

  # Set the user and group that the server normally runs at.

  User nobody

  Group nobody

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

  # We ! ;want 'welcome.msg' displayed at login, and '.message' displayed

  # in each newly chdired directory.

  DisplayLogin welcome.msg

  DisplayFirstChdir .message

  # Limit WRITE everywhere in the anonymous chroot

  DenyAll

  DefaultRoot ~ ftpusers

  ServerName "virtual FTP server"

  DenyAll

  User private

  Group private

  AllowAll

通過本文的描述,希望你們能懂得Proftpd設置虛擬主機的過程!

【編輯推薦】

 

責任編輯:趙鵬 來源: 網絡轉載
相關推薦

2017-08-15 15:24:21

2011-03-09 16:17:21

CentOSLAMP

2010-07-01 13:35:51

vsftpd

2011-03-08 11:28:15

proftpd

2011-03-08 11:21:55

proftpdxinetd

2011-03-04 11:13:11

2011-01-18 14:53:25

sendmail郵件

2010-03-29 16:17:07

Nginx虛擬主機

2011-03-02 17:59:13

Proftpd.con設定

2011-03-08 10:38:13

proftpd.con

2011-03-02 17:49:20

Proftpd安裝

2011-02-25 09:16:48

Proftpd

2011-03-01 14:46:53

Debian Proftpd

2017-04-05 14:43:20

虛擬主機故障

2016-08-10 08:14:13

虛擬主機海外主機

2009-06-30 15:39:05

JSP虛擬主機

2009-04-03 16:02:55

2011-03-01 15:11:26

DebianProFTPD

2011-08-16 15:16:26

UbuntuApache虛擬主機

2009-07-21 15:34:32

ASP.NET 2.0
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 国产美女一区二区 | 精品麻豆剧传媒av国产九九九 | 精品国产区 | 中文字幕免费中文 | 国产日韩欧美电影 | 在线一级片 | 中文字幕av中文字幕 | 中文字幕视频在线 | 成人精品 | 琪琪午夜伦伦电影福利片 | 成人在线视频一区二区三区 | 日操操夜操操 | 国产成人福利视频 | 欧美一区二区二区 | 成人免费看片又大又黄 | 成人黄色av网站 | 四虎影院在线免费观看 | 一区二区三区免费 | 欧美日韩一区精品 | 国产成人免费在线 | 亚洲中午字幕 | 欧美激情精品久久久久久变态 | 国产一区二区在线免费观看 | 日韩欧美不卡 | 色综合九九 | 雨宫琴音一区二区在线 | 成人性视频在线 | 日批免费在线观看 | 一区二区三区免费 | 久久久成人动漫 | www.色综合 | 午夜视频免费在线观看 | 精品一区av | 91色在线 | 日日干天天操 | 男人av的天堂 | 99re6在线视频精品免费 | 欧美久久视频 | 亚洲欧洲av在线 | 91精品国产综合久久久久久丝袜 | 欧美亚洲网站 |