Friday, April 25, 2008

Intalling FTP server in CentOS

Recently I am installing CentOS as my staging server. I need to install FTP server in it since i need to transfer a lot of files into this machine. Surprisingly, installing those package in CentOS is very easy. Just type in

yum install vsftp

Yupe, it has been installed within seconds only. Modifying some details in /etc/vsftpd/vsftpd.conf before start the service. Try to check for firewall too.

service vsftpd start (start service)
servcie vsftpd status (check status)
service vsftpd restart (restart service)

You can find lots of guideline here.

ps: I have faced a problem duirng testing the FTP service. There was an error: 500 OOPS: cannot change directory It has rejected my request. Argh...
After googling around, I have found a solution. Just enter this
setsebool ftpd_disable_trans 1 and it WORKS!!

No comments: