How to install FTP server on CentOS

How to install FTP server on CentOS

#yum install vsftpd
#chkconfig vsftpd on
#service vsftpd start

#nano /etc/vsftpd/vsftpd.conf       (uncomment the following)

anonymous_enable=NO   (disallow anonymous login)
ascii_upload_enable=YES
ascii_download_enable=YES
ftpd_banner=Welcome to DATACENTER FTP service.

If users are not able to create direcroy in their folders users are getting error  550 Create directory operation failed

Run following command

#setsebool -P ftp_home_dir=1

Leave a Comment