ITeye博客

centos 6.4 minimal FTP安装配置

5xnl · 2013-08-16 18:48 · linux · 操作系统 · Markdown

** 1.安装FTP服务器 **


yum install vsftpd

** 2.开启ftp服务 **


chkconfig vsftpd on

** 3.开启ftp服务器 **


 service vsftpd start

** 4.打开ftp端口,也可以不开21端口,使用sftp协议 **


vi /etc/sysconfig/iptables

#在REJECT 行前添加如下内容
-A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEP

#重启iptables
service iptables restart

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。