Setup FTP server CENTos 6.5 VSFTPD

STOP FIREWALL
service iptables stop
service ip6tables stop
chkconfig iptables off
chkconfig ip6tables off

Install VSFTPD
yum install -y vsftpd
Start vsftpd service.
service vsftpd start

install FTP client
yum install -y ftp

Enable vsftpd in multi-user levels.
chkconfig vsftpd on

Edit conf and change this one parameter
vi /etc/vsftpd/vsftpd.conf
anonymous_enable=NO
ascii_upload_enable=YES
ascii_download_enable=YES
ftpd_banner=Welcome to NeuCorP FTP service.
use_localtime=YES

Restart FTP
service vsftpd restart

ADD user for ftp
useradd test1
passwd test1

Allow vsftpd change users $HOME directories
setsebool -P ftp_home_dir on

DONE

SORUCE : http://ostechnix.wordpress.com

Facebook Comments