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

Proftpd環(huán)境下設(shè)定虛擬主機

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

ProFTPD設(shè)計目標(biāo)是實現(xiàn)一個安全且易于設(shè)定的FTP Server。本文介紹下虛擬主機如何在Proftpd環(huán)境下實現(xiàn)。

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

  ServerName "virtual FTP server"

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

  Serv erName "virtual FTP server"

  DenyAll

  User private

  Group private

  AllowAll

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

  筆者的proftpd.conf配置文件內(nèi)容為:

 

  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設(shè)置虛擬主機的過程!

【編輯推薦】

 

責(zé)任編輯:趙鵬 來源: 網(wǎng)絡(luò)轉(zhuǎn)載
相關(guān)推薦

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設(shè)定

2011-03-08 10:38:13

proftpd.con

2011-03-02 17:49:20

Proftpd安裝

2017-04-05 14:43:20

虛擬主機故障

2016-08-10 08:14:13

虛擬主機海外主機

2009-06-30 15:39:05

JSP虛擬主機

2011-02-25 09:16:48

Proftpd

2011-03-01 14:46:53

Debian Proftpd

2009-04-03 16:02:55

2018-11-20 11:22:24

PHP虛擬主機

2009-06-10 14:00:31

Jboss虛擬主機安裝

2011-03-01 15:11:26

DebianProFTPD
點贊
收藏

51CTO技術(shù)棧公眾號

主站蜘蛛池模板: 日本精品裸体写真集在线观看 | 91精品久久久久久久久中文字幕 | 一区二区蜜桃 | 操操日| 激情一区二区三区 | av一区二区三区四区 | 在线三级网址 | 久久国内精品 | 翔田千里一区二区 | 午夜成人免费电影 | 精品国产精品一区二区夜夜嗨 | 日韩国产黄色片 | 国产成人精品午夜视频免费 | 五月婷婷激情网 | 日本成人二区 | 一级看片 | 免费视频99| 久久一 | 国产精品一区二区在线观看 | 九九色综合 | 亚洲精品一区在线观看 | 伊人成人免费视频 | 精品91久久| 国产免费福利小视频 | 日韩精品在线播放 | 国产成人自拍一区 | 日韩一级免费电影 | 天天操网 | 一级黄色毛片免费 | 久久国际精品 | 中文字幕av一区二区三区 | 亚洲精选一区二区 | 欧美综合自拍 | 欧美一区二区三区小说 | 亚洲一区二区中文字幕 | 国际精品鲁一鲁一区二区小说 | 天天搞天天操 | 久操国产| 日韩中文字幕视频 | 国产精品久久久久久久免费观看 | 成人自拍视频网站 |