FTP·þÎñÆ÷ÉϵÄpure-ftpdÊÇ×Ô¼º±àÒëµÄ£¨ÎªÁËÖ§³Öutf8->gb2312£©£¬ÕâÑùÒ»À´¾Í²»ÄÜÏíÊÜdebianµÄ×Ô¶¯ÅäÖôýÓöÁË¡£½á¹ûÊÇÿ»ØÖØÆô»úÆ÷ºó×ÜÊÇÒªÊÖ¶¯È¥Æô¶¯pure-ftpd¡£×òÌìÊÛºóµÄÀ´»»µôÓ²ÅÌ£¨Ó²ÅÌÓÖ»µµôÁËÒ»¿é£¬¶øÇÒÖʱ£ÂíÉϾÍÒªµ½ÆÚÁË£©£¬½ñÌ쿪»ú»¹ÊÇÒªÊÖ¶¯Æô¶¯pure-ftpd£¬ÊµÔÚÊܲ»ÁËÁË£¬ÔÚÍøÉÏÕÒÁËÕÒ£¨Ë³±ãÕÒ¸ö¸üºÃµÄ¹ÜÀí·½°¸¿ÉÊÇʧ°ÜÁË£©£¬¸ãÁËÕâôһ¸öÅäÖÃÎļþ£º[code]ftp:~# cat /etc/init.d/pure-ftpd
#!/bin/sh
case ¡°$1¡å in
start)
echo ¡°Starting Pure-ftpd¡¡±
if [ -f /usr/local/pureftpd/etc/pure-ftpd.conf ]; then
/usr/local/pureftpd/bin/pure-config.pl /usr/local/pureftpd/etc/pure-ftpd.conf > /dev/null
/usr/local/pureftpd/sbin/pure-uploadscript -r /usr/local/pureftpd/etc/uploadScript.sh > /dev/null &
echo ¡°Pure-ftpd Started¡¡±
else
echo ¡°Pure-ftpd Configure File Not Found¡±
fi
;;
stop)
echo ¡°Stoping Pure-ftpd¡¡±
killall pure-ftpd > /dev/null
killall pure-uploadscript > /dev/null
echo ¡®Pure-ftpd Stoped¡¯
;;
*)
echo ¡°Usage: `basename $0` {start | stop}¡±
exit 1
;;
esac
exit 0[/code]
hongmaojin ÓÚ 2008-03-28 20:37:34·¢±í:
¹þ¹þ,¿´¿´¾ÍÐĶ¯,лл·ÖÏí.
robertyan ÓÚ 2008-03-27 10:04:33·¢±í:
ºÜºÃ£¬ºÜÇ¿´ó¡«¡«