1. Instalam vsftpd yum install vsftpd
2. Pornim serviciul: service vsftpd start
3. Il configuram sa porneasca automat la boot: chkconfig vsftpd on
4. Configuram SELinux sa permita FTP
Verificam configuratia curenta
getsebool -a | grep ftp
Permitem accesul full
setsebool allow_ftpd_full_access 1
5. Configuram iptables
Editam /etc/sysconfig/iptables si adaugam
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
Salvam si restartam iptables
service iptables restart
Enjoy !