`
5xnl
  • 浏览: 23595 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

centos 6.4 minimal FTP安装配置

 
阅读更多

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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics