自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Pureftpd.conf的設(shè)定

系統(tǒng) Linux
Pureftpd是一款在多種類Unix上使用并符合GPL協(xié)議的原代碼開放的軟件,顧名思義,它就是一款純粹的Ftp程序。本文給大家介紹下Pureftpd的一些相關(guān)知識(shí):Pureftpd.conf

Pureftpd是一款FTP程序軟件,光懂的安裝不行,得懂得如何配置!讓我們來看看Pureftpd.conf的設(shè)定。

  pure-ftpd.conf的設(shè)定

  *在上一次,我們把PureFTPD的default設(shè)定文件(pure-ftpd.conf)拷貝一

  份在/usr/local/etc/下.(其實(shí)哪都可以,只是我習(xí)慣).建議再拷貝

  一份叫pure-ftpd.xxx.conf(如果你要跑多支ftpd的話.xxx部分可以自

  由替代成你要的名字.方便就好).開始編輯pure-ftpd.xxx.conf.

  #vim pure-ftpd.xxx.conf (看你喜歡用什么編輯器.自己選用)

  ####pure-ftpd.xxx.conf#######

  ChrootEveryone yes

  TrustedGID 50

  #以上兩者要一起用

  BrokenClientsCompatibility no

  MaxClientsNumber 999

  #***鏈接數(shù)

  Daemonize yes

  #Fork in background

  MaxClientsPerIP 5

  #每個(gè)ip最多鏈接數(shù)

  VerboseLog no

  #是否要把所有client端的指令都log下來

  DisplayDotFiles no

  #顯示開頭的文件

  AnonymousOnly no

  #是否只讓匿名登錄

  NoAnonymous yes

  #不開放匿名登入

  SyslogFacility ftp

  DontResolve yes

  #不反向解釋客戶端的ip

  MaxIdleTime 5

  #***閑置時(shí)間

  PureDB /ftp/etc/pureftpd.pdb

  #使用者資料的DB存放地點(diǎn) [由于我是用PureFTPD的內(nèi)建DB.固有此選項(xiàng)]

  UnixAuthentication yes

  #如果你想要有簡(jiǎn)單的Unix(/etc/passwd)的認(rèn)證的話

  LimitRecursion 1000 3

  #ls最多列出1000個(gè)文件.最深3層

  MaxLoad 4

  #當(dāng)system load超過4時(shí).使用者將不能再下載

  AntiWarez no

  #上傳的文件不能被下載(owner is ftp).等到local admin確認(rèn)

  Bind 21

  #要綁定哪個(gè)ip/port

  #格式->; 127.0.0.1,21 如果只寫port表All ip,port

  Umask 133:022

  #上傳文件的Umask.(;:;)

  MinUID 1000

  # UID至少多少才能登錄

  AllowUserFXP yes

  #支不支持FXP

  ProhibitDotFilesWrite no

  ProhibitDotFilesRead no

  #.開頭的文件能不能被讀寫

  AutoRename no

  #上傳文件若有相同文件名自動(dòng)改名(file.1,file.2...)

  TrustedIP 10.1.1.1

  #鎖IP.

  AltLog stats:/ftp/etc/log/pureftpd.log

  #log存放地點(diǎn)

  NoChmod yes

  #不給Chmod指令的權(quán)限

  KeepAllFiles yes

  #使用者可續(xù)傳.但不可刪除文件

  CreateHomeDir no

  #如果user的home不存在自動(dòng)建立

  PIDFile /ftp/etc/log/pure-ftpd.pid

  #記錄pure-ftpd的PID文件

  Quota 1000:10

  #<文件數(shù):Megabytes>;

  CallUploadScript yes

  #呼叫UploadScript

  MaxDiskUsage 99

  #當(dāng)硬盤使用率到多少時(shí)將停止上傳

  NoRename yes

  #不給改文件名

  PerUserLimits 3:20

  #<每個(gè)賬號(hào)最多可登入幾次:Anonymous最多可同時(shí)登入幾次>

通過正文的介紹,是不是大家都學(xué)會(huì)了Pureftpd.conf的設(shè)定,希望本文對(duì)大家有用!

【編輯推薦】

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

2011-03-03 10:34:39

Pureftpdmysql

2011-02-25 09:16:48

Proftpd

2011-03-02 17:59:13

Proftpd.con設(shè)定

2011-03-08 10:38:13

proftpd.con

2011-02-22 13:45:01

vsftpd.conf設(shè)定

2011-03-08 10:28:40

Proftpd

2011-03-03 11:13:11

Pureftpd

2011-02-24 14:45:37

pureftpd安裝文檔

2011-02-24 14:45:37

pureftpd安裝文檔

2011-03-02 13:16:33

Pureftpd

2011-03-03 15:09:30

PureFTPdFAQ

2011-02-25 16:22:34

2011-02-25 17:49:21

2011-03-03 14:42:12

PureFTPd

2011-03-03 16:17:14

PureFTPd

2011-03-03 17:22:18

PureFTPd

2011-03-03 16:01:39

PureFTPd

2011-03-02 09:07:59

pureftpdDebian

2011-02-23 14:05:57

2011-03-03 14:16:48

PureFTPd
點(diǎn)贊
收藏

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