LNMP一键安装包安装失败,求解
Checking...Error: /usr/local/nginx not found!!!Nginx install failed.
MySQL: OK
Error: /usr/local/php not found!!!PHP install failed.
Sorry,Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum. configure: error: Cannot find OpenSSL's <evp.h>
checking for OpenSSL library ... not found
./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl=<path> option.
看日志openssl-devel安装时报错,如下:
Error:Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for libselinux which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libselinux of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude libselinux.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of libselinux installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of libselinux installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
可以yum clean all然后再yum install openssl-devel -y
不行的话试试yum install yum-utils -y 再package-cleanup --cleandupes 再yum install openssl-devel -y
如果openssl-devel安装成功再用卸载脚本卸载一下lnmp,然后删除原lnmp安装包目录重新下载解压安装
回复 2# 的帖子
感谢军哥,我先试试
页:
[1]