Linux 的ftp服务未启用怎么办
1.检查是否安装ftp相关的rpm包(如出现下面提示证明是安装过相关rpm包的)
[root@rac1 ~]# which vsftpd
/usr/sbin/vsftpd
[root@rac1 ~]# rpm -qa | grep vsftpd
vsftpd-2.2.2-14.el6.x86_64.rpm
2.如果未安装rpm包,可以去镜像下安装 vsftpd-2.2.2-14.el6.x86_64.rpm包
[root@rac1 ~]# df -h (查看镜像挂载在哪个目录下)
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_gaowei-lv_root
43G 23G 18G 57% /
tmpfs 1004M 615M 390M 62% /dev/shm
/dev/sda1 477M 43M 409M 10% /boot
/dev/sr0 3.6G 3.6G 0 100% /media/RHEL-6.7 Server.x86_64
[root@rac1 ~]# cd /media/RHEL-6.7\ Server.x86_64/
[root@rac1 RHEL-6.7 Server.x86_64]# ls
EFI EULA_fr EULA_zh LoadBalancer repodata Server
EULA EULA_it GPL media.repo ResilientStorage TRANS.TBL
EULA_de EULA_ja HighAvailability Packages RPM-GPG-KEY-redhat-beta
EULA_en EULA_ko images README RPM-GPG-KEY-redhat-release
EULA_es EULA_pt isolinux release-notes ScalableFileSystem
[root@rac1 RHEL-6.7 Server.x86_64]# cd Packages/
[root@rac1 Packages]# rpm -ivh vsftpd-2.2.2-14.el6.x86_64.rpm (安装此包)
3.下载ftp-0.17-51.1.el6.x86_64.rpm这个包,安装
4.启动ftp服务器
#service vsftpd start
5. 重启ftp服务器
#service vsftpd restart
然后就可以用ftp访问了.