centos 7.x宝塔安装pure-ftpd安装不了解决方法

centos7.x安装pureftpd会报两组错误:

1.会报–with-rfc2640错误 低版本的Linux不支持此协议,可以找到/www/server/panel/install/pureftpd.sh 删除此段代码,也可以在结尾加入 –with-eyerything

2.configure: error: The Sodium crypto library libraries not found. 会报此错误 sodium.h: No such file or directory

解决办法:

wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.18-stable.tar.gz

tar -zxf libsodium-1.0.18-stable.tar.gz

cd libsodium-stable

./configure --prefix=/usr

make && make check

make install

ldconfig

然后再重新执行安装或者ssh上执行

sh /www/server/panel/install/pureftpd.sh install

均可安装

文档信息

版权声明:可自由转载(请注明转载出处)-非商用-非衍生

发表时间:2024年9月20日 11:16