RedHat Enterprise Linux 4/5 下配置vsftp

最近开始用Linux,免不了要从Windows往Linux上传东西,所以使用vsftp

安装Linux的时候将“FTP服务”选项选中。

RedHat Enterprise Linux 4:

修改文件,使得root用户可以登录FTP

使用root用户进入/etc目录,修改vsftpd.ftpusers和vsftpd.user_list,将root用#注释掉

使vsftpd服务设为开机自启动

chkconfig vsftpd status 查看vsftpd 当前状态

chkconfig --list | grep vsftpd 查看当前vsftpd服务开机状态

chkconfig vsftpd on 将服务vsftpd设为开机自启动

有时候配置完成后依然不能登录,可能是防火墙的原因

chkconfig iptables status 查看防火墙当前状态

service iptables off 将防火墙关闭,

也可以修改防火墙服务,开机即关闭:chkconfig iptables off

猜你喜欢

转载自xiaolong0211.iteye.com/blog/756662
今日推荐