LNMP 安装FTP失败:Pureftpd was not installed!

豪哥 1月前  服务器   425

海外服务器,用了军哥的LNMP套件,装完之后肯定要用到FTP,结果:

[root@hqw lnmp2.0]#lnmp ftp add

+-------------------------------------------+

|    Manager for LNMP, Written by Licess    |

+-------------------------------------------+

|              https://lnmp.org             |

+-------------------------------------------+

Pureftpd was not installed!

原来默认是没有安装的,那么我尝试安装 Pureftpd,看了网上的教程:

#安装epel源

yum -y install epel-release

#安装pureftpd

yum -y install pure-ftpd

然而,执行后的结果是:

[root@hqw lnmp2.0]#yum  -y install epel-release

[root@hqw lnmp2.0]#yum -y install pure-ftpd

No match for argument: pure-ftpd

Error: Unable to find a match

请问如何解决?

1 个回答
  • 孤城浪人 1月前
    2

    其实,LNMP套件里面自带了 Pureftpd 软件,进到 LNMP 的安装包解压目录里,执行:
    [root@hqw lnmp2.0]# ./pureftpd.sh

    然后就可以通过 lnmp ftp add 来添加用户了:
    [root@hqw lnmp2.0]# lnmp ftp add
    +-------------------------------------------+
    |    Manager for LNMP, Written by Licess    |
    +-------------------------------------------+
    |              https://lnmp.org             |
    +-------------------------------------------+
    Enter ftp account name: hack0573
    Enter password for ftp account hack0573: xxx
    Enter directory for ftp account hack0573: xxx

    2 回复引用 引用
    • 探知网
      3
        立即登录 立即注册
返回
发新帖