shangpan 发表于 2014-9-10 01:57:42

腾讯云centos X64安装lnmp 1.1失败

附上日志。

licess 发表于 2014-9-10 09:19:06

configure: error: Cannot find OpenSSL's <evp.h>

./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-dev时报错
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安装包目录重新下载解压安装

shangpan 发表于 2014-9-10 11:51:58

已经安装成功了,并不是腾讯云安全组件的事情,拿centos 6.2 x64安装失败,用centos 6.3 X64安装成功了。
不过我是先安装openssl和openssl-devel后再update的。。

[ 本帖最后由 shangpan 于 2014-9-11 18:01 编辑 ]
页: [1]
查看完整版本: 腾讯云centos X64安装lnmp 1.1失败