摘要: 1. 安装vsFTPdyum install vsftpd // 安装chkconfig vsftpd on // 开机启动服务service vsftpd start // 启动服务参考这2. ftp端口配置编辑/etc/vsftpd/vsftpd.conflisten_port=21 // 默认,不用设置pasv_min_port=3000pasv_max_port=3010参考这3. ftp用户权限配置编辑/etc/vsftpd/vsftpd.confanon_upload_enable // 支持匿名用户上传anon_mkdir_enable // 支持匿名用户新建anon_other 阅读全文
posted @ 2012-09-06 14:49 litstrong 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1. 生成新的iptables#/sbin/iptables -I INPUT -p tcp –-dport 80 -j ACCEPT#/sbin/iptables -I INPUT -p tcp –-dport 22 -j ACCEPT#/sbin/iptables -I INPUT -p tcp –-dport 8080 -j ACCEPT#/etc/rc.d/init.d/iptables save2. 查看iptables是否更改#vi /etc/sysconfig/iptables3. 重启iptable服务#/etc/init.d/iptables restart4. 查看防火墙信 阅读全文
posted @ 2012-09-06 11:52 litstrong 阅读(136) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示