We help IT Professionals succeed at work.

CentOS 5.6 and FTP Server

deklinm
deklinm asked
on
How do i setup an FTP server on CentOS 5.6 using command line?
Comment
Watch Question

Do this,

yum install vsftpd

service vsftpd start //to start the FTP service
chkconfig vsftpd on //to make sure FTP service start on boot.
CERTIFIED EXPERT
Commented:
Check if vsftpd is installed
chkconfig --list | grep vsftpd

You have to install vsftpd if not already installed
yum install vsftpd

Turn it on
chkconfig vsftp on

Start the service
service vsftpd start

For configuration details, look at this guide

Here is a guide:
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-ftp-vsftpd-conf.html
Commented:
#yum install vsftpd
#chkconfig --add vsftpd
#chkconfig vsftpd on
###edit the FTP server config file 
#nano /etc/vsftpd/vsftpd.conf 
and disable anonymous login, enable local users to login.
anonymous_enable=NO
local_enable=YES

Open in new window

If firewall is enabled open port 21 for FTP