技术知识分享

宝塔面板 FTP插件pure-ftpd无法安装解决方法

宝塔面板永久版优惠券

今天小白在宝塔面板论坛发现有人安装不上宝塔的FTP插件 pure-ftpd,查看了下他的错误日志。小分析了一下其实就是openssl没有安装而已。只需要安装一下即可。以下方法centos、debian、ubuntu均适用。

宝塔面板FTP报错日志

checking for random... yes
checking for srandomdev... no
checking for arc4random... no
checking for arc4random stir... no
checking for arc4random add random... no
checking for closefrom... no
checking for explicit bzero... no
checking for getpwnam_shadow... no
checking whether statvfs64() is defined... yes
checking whether snprintf is C99 conformant.. done
checking whether getgroups 0 is sane... yes
checking whether realpath likes unreadable directories... yes
checking whether you already have a standard MD5 implementation... no 
checking whether you already have a standard SHA1 implementation... no 
checking whether we are inside a Virtuozzo virtual host... no
checking default TCP send buffer size... 16384
checking default TCP receive buffer size... 87380
configure: error: OpenSSL headers not found.
make: *** No targets specified and no makefile found. Stop.
==========================================================================
====
CentOS Linux release 7.0.1406 (Core)
Bit64 Mem:1491M Core:3 gcc:4.8.5 cnnake:2.8.12.2
Linux kongdao002 3.10.0-123.e17.x86_64 #1 SMP Mon Jun 30 12:09.22 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux
ERROR: pure-ftpd installation failed.

故障原因
configure: error: OpenSSL headers not found. ,就是这句OpenSSL没有发现。

解决方法
SSH运行以下代码,安装OpenSSL
CentOS

yum install -y openssl-devel

DebianUbuntu
如果不是root账号,得先sudo切换到root账号下。

apt-get install openssl
apt-get install libssl-dev
未经允许不得转载:pc6a学习分享 » 宝塔面板 FTP插件pure-ftpd无法安装解决方法
腾讯云服务器秒杀

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址