Tagged with " selinux"
Dec 26, 2012 - linux    No Comments

CentOS install vsftpd

熟门熟路三部曲

$ yum -y install vsftpd
$ chkconfig vsftpd on
$ service vsftpd start

防火墙里开21端口

$ vi /etc/sysconfig/iptables

添加一行:

-A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT

重启iptables

$ service iptables restart

Read more »