Setup FTP server CENTos 6.5 VSFTPD

STOP FIREWALL
ser­vice ipt­a­bles stop
ser­vice ip6tables stop
chk­con­fig ipt­a­bles off
chk­con­fig ip6tables off

Install VSFTPD
yum install ‑y vsftpd
Start vsft­pd service.
ser­vice vsft­pd start

install FTP client
yum install ‑y ftp

Enable vsft­pd in mul­ti-user levels.
chk­con­fig vsft­pd 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 Neu­CorP FTP service.
use_localtime=YES

Restart FTP
ser­vice vsft­pd restart

ADD user for ftp
user­add test1
pass­wd test1

Allow vsft­pd change users $HOME directories
set­se­bool ‑P ftp_home_dir on

DONE

SORUCE : http://ostechnix.wordpress.com

Face­book Comments