bash: ftp: command not found是告诉我们服务器上没有ftp服务器了,所以你输入的命令没有找到了,解决办法只要安装一下ftp就可以了,

当运行ftp localhost 提示bash: ftp: command not found 命令不存在

这主要是因为ftp包不存在,只需要安装就可以了,下面介绍几种安装方法

rpm安装方法

1、5.X版本的:

rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/ftp-0.17-35.el5.i386.rpm

2、6.X版本的:

rpm -Uvh http://mirror.centos.org/centos/6/os/i386/Packages/ftp-0.17-51.1.el6.i686.rpm

yum安装ftp命令:

如果你用的是redhat,fedora,centos等系列linux发行版,那么敲入以下命令:

sudo yum install vsftpd

如果你使用的是debian,ubuntu,linux mint等系列的linux发行版,那么敲入以下命令:

sudo apt-get install vsftpd

Logo

鸿蒙生态一站式服务平台。

更多推荐