Pureftpd攻略之啟動篇
Pureftpd是一款FTP程序軟件,今天我給大家詳細介紹下:Pureftpd如何啟動
啟動
到/usr/local/bin/rc.d/下編輯一個pure-ftpd.sh
- #!/bin/sh
- case "$1" in
- start)
- if [ -f /usr/local/etc/pure-ftpd.xxx.conf ]; then
- /usr/local/sbin/pure-config.pl /usr/local/etc/pure-
- ftpd.xxx.conf >; /dev/null 2>;&1 && echo -n 'pure-ftpd Begin!'
- fi
- stop)
- /usr/bin/killall pure-ftpd >; /dev/null 2>;&1 && echo -n 'pure-
- ftpd Stop!'
- *)
- echo ""
- echo "Usage: `basename $0` { start | stop }"
- echo ""
- exit 64
- ;;
- esac
#############################
- #chmod +x pure-ftpd.sh
- #./pure-ftpd.sh start
ok...開始測試看看吧
ftp xxx.far2.net 21
Connected to ftp.far2.net.
220-=(<*>;)=-.:. (( 歡迎來到 PureFTPd 1.0.12 )) .:.-=(<*>;)=-
220-您是第 48 個使用者,最多可達 999 個連線
220-現(xiàn)在本地時間是 19:52 負載是 1.37。服務器端口: 21。
220-這是私用系統(tǒng) - 不開放匿名登入
220 在 5 分鐘內(nèi)沒有活動,您會被斷線。
Name (xxx.far2.net:far):far
331 使用者 far OK. 需要密碼.
Password:
230-使用者 far 有群組存取于: ftpgroup
230-這個服務器支持FXP傳輸
230 OK. 目前限制的目錄是 /
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>;
當你看到以上信息時.恭喜你.你已經(jīng)成功的架起一個ftp了。
通過文章的介紹和分析,想必廣大的讀者們都知道了如何啟動Pureftpd,希望對大家有所幫助!
【編輯推薦】