ºìÁªLinuxÃÅ»§
Linux°ïÖú

Ò»¸öFTPºÜ³£ÓõÄÀý×Ó£¬¸ú´ó¼Ò·ÖÏíһϰÉ

·¢²¼Ê±¼ä:2011-09-13 20:31:46À´Ô´:ºìÁª×÷Õß:crossbitter
[i=s] ±¾Ìû×îºóÓÉ crossbitter ÓÚ 2011-9-13 20:34 ±à¼­ [/i]

´´½¨Ò»Ì¨FTP·þÎñÆ÷£¬²¢Âú×ãÒÔÏÂÐèÇó
£¨1£©´´½¨ÕÊ»§user01,user02¡£ÔÊÐíuser01Óû§µÇ¼£¬½ûÖ¹user02Óû§µÇ¼¡£²¢ÎªÓû§´´½¨Òà¸èÐéÄâµÄ¸ùĿ¼
£¨2£©´´½¨ÄäÃûÕÊ»§£¬µ«Ö»Ìṩä¯ÀÀºÍÏÂÔØȨÏÞ¡£
£¨3£©ÏÞÖÆÿÀàÓû§µÄÏÂÔØËٶȡ£±¾µØÓû§Îª50kb/s£¬ÄäÃûÓû§Îª10kb/s
£¨4£©ÏÞÖÆ·þÎñÆ÷µÄ×î´óÁ¬½ÓÊý100£¬Ã¿¸öipµØÖ·×î¶àʹÓÃ2¸öÏß³ÌÓë·þÎñÆ÷Á¬½Ó¡£
£¨5£©ÅäÖÃFTP·þÎñÆ÷µÄĬÈÏÁ¬½ÓģʽΪ±»¶¯Ä£Ê½
£¨6£©´ò¿ªFTP·þÎñÆ÷µÄÏêϸÈÕÖ¾¿ª¹Ø

1)ÔÚServer´´½¨user01£¬user02£¬²¢¸³ÓèµÇ¼ÃÜÂ룬ËæºóÔÚftpusersÅäÖÃÎļþÖÐÌí¼ÓÓû§user02£º
#echo user02 >> /etc/vsftpd/ftpusers
ÔÚ/etc/vsftpd/vsftpd.confÎļþÖÐÌí¼ÓÏÂÃæÄÚÈÝ£¬½«Óû§µÄ·ÃÎÊ·¶Î§¹Ì¶¨ÔÚ×Ô¼ºµÄËÞÖ÷Ŀ¼ÖÐ
chroot_local_user=YES

2£©ÔÚvsftpd.confÖпªÆôÕâÌõÓï¾ä
anonymous_enable=YES

3)ÔÚvsftpd.confÖпªÆôÕâÌõÓï¾ä
local_max_rate=50000
anon_max_rate=10000

4)ÔÚvsftpd.confÖпªÆôÕâÌõÓï¾ä
max_clients=100
max_per_ip=2

5£©ÔÚvsftpd.confÖпªÆôÕâÌõÓï¾ä
pasv_enable=YES
pasv_min_port=6000
pasv_max_port=6100

6£©ÔÚvsftpd.confÖпªÆôÕâÌõÓï¾ä
xferlog_std_format=NO
log_ftp_protocol=YES

¼òµ¥°É~ºÜ³£ÓõÄà¸~
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 4 ÌõÆÀÂÛ

  1. a554732635 ÓÚ 2011-09-14 00:10:42·¢±í:

    ºÃºÃѧϰһÏ£¬¶¥¶¥

  2. gwu ÓÚ 2011-09-13 21:49:40·¢±í:

    ºÃºÃѧϰһÏ£¬¶¥¶¥

  3. ÃΤÎÀﻨ ÓÚ 2011-09-13 21:18:10·¢±í:

    ºÃ¶«¶«~

  4. panaiec ÓÚ 2011-09-13 21:05:12·¢±í:

    ºÜÇ¿£¬Ñ§Ï°ÏÂ