[리눅스] CentOS vsftpd 설치
//설치가 되어 있나 확인 해본다.
# ps -ax | grep vsftpd
# yum list installed | grep vsftpd
//설치
# yum -y install vsftpd
//vsftpd.conf 파일 수정
//-----------------------------------
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
#anon_upload_enable=YES
#anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
#chown_uploads=YES
#chown_username=whoever
#xferlog_file=/var/log/xferlog
xferlog_std_format=YES
#idle_session_timeout=600
#data_connection_timeout=120
#async_abor_enable=YES
#ascii_upload_enable=YES
#ascii_download_enable=YES
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd/banned_emails
#chroot_local_user=YES
chroot_list_enable=NO
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list
#ls_recurse_enable=YES
listen=YES
listen_ipv6=NO
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
pasv_enable=YES
pasv_max_port=11000
pasv_min_port=10000
//Passive 모드를 위한 방화벽 설정
firewall-cmd --permanent --add-port=20000-11000/tcp
firewall-cmd --reload
//FTP 재시작
systemctl restart vsftpd