CentOS 5.6 and FTP Server

How do i setup an FTP server on CentOS 5.6 using command line?
deklinmAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
legolasthehansyConnect With a Mentor Commented:
Do this,

yum install vsftpd

service vsftpd start //to start the FTP service
chkconfig vsftpd on //to make sure FTP service start on boot.
0
 
farzanjConnect With a Mentor 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
0
 
1ly4meConnect With a Mentor 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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.