VPS侦探论坛

标题: HOSTVPS256安装LNMP多次均失败 [打印本页]

作者: good?    时间: 2017-6-26 08:08
标题: HOSTVPS256安装LNMP多次均失败
请坛主帮忙分析下为什么我购买的 hostigation VPS 无法装好LNMP,谢谢。
CentOS 6 x86 CentOS 7.1 x86_64
Debian 7.0.0 x86 Minimal
上面几个系统换了多次安装LNMP,也降低了里面的PHP等环境的版本,最后还是安装不正常。

我购买的海外VPS配置
irtualization Type        (KVM)
Disk Space        10 GB
Bandwidth        512 GB
Memory        256 MB
Operating System        Debian 7.0.0 x86 Minimal

失败日志:
作者: good?    时间: 2017-6-26 10:17
启用InnoDB:N 也测试过,出现的错误是一样的。
作者: licess    时间: 2017-6-26 12:40
Total size: 11 M
Total download size: 2.6 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.


Error downloading packages:
  pcre-8.32-15.el7_2.1.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
  1penssl-devel-1.0.1e-60.el7_3.1.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
  pcre-devel-8.32-15.el7_2.1.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
。。。。。。。
[ 70%] Building CXX object sql/CMakeFiles/sql.dir/field.cc.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [sql/CMakeFiles/sql.dir/field.cc.o] Error 4
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
。。。。。。
checking for pkg-config... /bin/pkg-config
configure: error: Cannot find OpenSSL's <evp.h>

内存不足引起的依赖包无法安装造成的,mysql编译过程也是内存不足,依赖包没装上php肯定也装不上

建议检查系统是否有一下没用的进程,先停掉并加上1G的swap https://www.vpser.net/opt/vps-add-swap.html
作者: good?    时间: 2017-6-26 13:39
明白了,他们家的32位的不能用,上64位的只能购买1G的内存了。我马上换1G内存的VPS试试看。




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4