啟動 ProFTPD (超全)
寫下自己在啟動 Proftpd的一些相關東西,希望能夠和大家分享:
啟動 ProFTPD
啟動之前,先對超級服務器的ProFTPD的啟動腳本做一些修改。
[root@sample certs]# vi /etc/xinetd.d/xproftpd ← 編輯ProFTPD啟動腳本
log_on_success += DURATION USERID ← 找到此行,將“DURATION USERID”改為“HOST PID”
↓
log_on_success += HOST PID ← 變為此狀態,防止登錄時要等待30秒
log_on_failure += USERID ← 找到此行,將“USERID”改為“HOST”
↓
log_on_failure += HOST ← 變為此狀態,防止登錄時要等待30秒
disable = yes ← 找到此行,將yes改為no
↓
disable = no ← 變為此狀態,讓ProFTPD通過超級服務器啟動
然后,通過重新啟動超級服務器間接啟動ProFTPD。
[root@sample certs]# chkconfig xproftpd on ← 設置ProFTPD自啟動
[root@sample certs]# chkconfig --list xproftpd ← 查看ProFTPD自啟動
xproftpd on ← 確認為on的狀態就OK
[root@sample certs]# /etc/rc.d/init.d/xinetd restart ← 重新啟動超級服務器
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
通過文章的詳細的說明,我相信大家都知道如何啟動自己的ProFTPD,希望對你們有所幫助!
【編輯推薦】