ProFtpd快速指南(三) |
發(fā)布時間: 2012/8/14 11:29:58 |
然后運行命令:
[root@ftpdrc3.d]#chkconfig--level35proftpdon 則下次系統(tǒng)啟動以后,proftpd將自動啟動。 最后,需要確保系統(tǒng)當前沒有ftp服務器在運行: [root@ftpd/]#netstat-ln 若輸出中不包含: tcp000.0.0.0:210.0.0.0:*LISTEN 這樣的內(nèi)容則可以直接啟動proftpd,否則需要關(guān)閉以前的ftpd服務器。對于一般的缺省Linux安裝來說,則需要通過以下的途徑來關(guān)閉ftp服務器: 編輯/etc/inetd.conf文件,在: ftpstreamtcpnowaitroot/usr/sbin/tcpdin.ftpd-l-a 一行前加上#: #ftpstreamtcpnowaitroot/usr/sbin/tcpdin.ftpd-l-a 然后: [root@ftpd!/]#psax|grepinetd 350?S0:00inetd 得到inetd的進程號,重新啟動inetd進程: [root@ftpd/]#kill-HUP350 然后通過如下命令啟動proftpd: [root@ftpd/]#/etc/rc.d/init.d/proftpdstart 本文出自:億恩科技【www.vbseamall.com】 |