CentOS 7
Sponsored Link

FTP Server : ProFTPD Install
2014/08/30
 
Install ProFTPD to configure FTP Server.
[1] Install and configure ProFTPD.
# install from EPEL

[[email protected] ~]#
yum --enablerepo=epel -y install proftpd
[[email protected] ~]#
vi /etc/proftpd.conf
# line 77: change to your own hostname

ServerName       "
www.srv.world
"
# line 79: change to your email address

ServerAdmin      
# line 113: add

# get access log & get auth log

ExtendedLog     /var/log/proftpd/access.log WRITE,READ default
ExtendedLog     /var/log/proftpd/auth.log AUTH auth
[[email protected] ~]#
vi /etc/ftpusers
# add users you prohibit to FTP access

test
[[email protected] ~]#
systemctl start proftpd

[[email protected] ~]#
systemctl enable proftpd

[2] If Firewalld is running, allow FTP service.
[[email protected] ~]#
firewall-cmd --add-service=ftp --permanent

success
[[email protected] ~]#
firewall-cmd --reload

success
[3] If SELinux is enabled, change boolean setting.
[[email protected] ~]#
setsebool -P ftpd_full_access on