1:安装FTP
vsftpd-2.2.2-11.el6.x86_64.rpm文件在os的rhel-server-6.4-x86_64-dvd.iso中
复制代码
2:连接不上
1
2
3
4
5
6
7
8
9
10
11
12[jifeng@feng01 ~]$ su - 密码: [root@feng01 ~]# cd /home/jifeng [root@feng01 jifeng]# rpm -ivh ./vsftpd-2.2.2-11.el6.x86_64.rpm warning: ./vsftpd-2.2.2-11.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY Preparing... ########################################### [100%] 1:vsftpd ########################################### [100%] [root@feng01 jifeng]# service vsftpd start 为 vsftpd 启动 vsftpd: [确定] [root@feng01 jifeng]# rpm -qa | grep vsftpd vsftpd-2.2.2-11.el6.x86_64
[右] 正在连接到 192.168.0.105 -> IP=192.168.0.105 PORT=21
[右] 连接失败 (连接已超时
复制代码
3:500 OOPS: cannot change directory
1
2
3
4
5
6[root@feng01 jifeng]# /etc/init.d/iptables stop iptables:清除防火墙规则: [确定] iptables:将链设置为政策 ACCEPT:filter [确定] iptables:正在卸载模块: [确定]
[右] 正在连接到 192.168.0.105 -> IP=192.168.0.105 PORT=21
[右] 已连接到 192.168.0.105
[右] 220 (vsFTPd 2.2.2)
[右] USER jifeng
[右] 331 Please specify the password.
[右] PASS (hidden)
[右] 500 OOPS: cannot change directory:/home/jifeng
复制代码
1
2[root@feng01 jifeng]# setsebool ftp_home_dir 1 [root@feng01 jifeng]#
最后
以上就是完美便当最近收集整理的关于redhat 6.4 安装ftp的全部内容,更多相关redhat内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复