2007年11月29日 星期四

[Linux文件] vsftpd 安裝與設定

通常fedora有內建,如果沒裝到,
請去抓rpm或是用yum安裝,

#yum install vsftpd

安裝好後,請下

#/etc/init.d/vsftpd start
#netstat -tulnp| grep 21

最後面的參數可以改成restart、stop等等
第二行指令可以看是否開啟成功。
但是因為fedora7內建SELinux設定關係,
ftp服務會被擋掉,所以在連進ftp時,
會出現下面的錯誤訊息
"500 OOPS: cannot change directory:/home/xxxxxx "

請到 系統->管理->Fire and SELinux裡面,
把防火牆和selinux關掉,
再連線就ok了!

http://linux.vbird.org/linux_server/0410vsftpd.php#server
--

沒有留言: