541960899 发表于 2013-7-30 13:48:48

安装lnmp1.0不成功

服务器信息:
Linux version 2.6.32-358.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version

4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Feb 22 00:31:26 UTC 2013
操作系统:CentOS 6.4*86 Minimal v1
服务商:raksmart

日志文件在附件

问题:LNMP安装不成功

licess 发表于 2013-7-30 14:18:22

error: Couldn't fork %pre(glibc-headers-2.12-1.107.el6_4.2.x86_64): Cannot allocate memory
error:   install: %pre scriptlet failed (2), skipping glibc-headers-2.12-1.107.el6_4.2

前面安装依赖包时内存用完导致有依赖包没安装上
删掉安装包重新安装试试

541960899 发表于 2013-7-30 14:48:53

回复 2# 的帖子

还是一样的不成功。难道是我的内存太小了吗?256的内存哦。

541960899 发表于 2013-7-30 14:53:29

回复 2# 的帖子

是不是我的系统不能安装1.0的版本啊?

541960899 发表于 2013-7-30 16:20:44

回复 2# 的帖子

这是我第二次安装时的日志。

licess 发表于 2013-7-30 16:46:27

回复 5# 的帖子

Building C object cmd-line-utils/readline/CMakeFiles/readline.dir/readline.c.o
/root/lnmp1.0-full/mysql-5.5.28/cmd-line-utils/readline/readline.c:29:23: error: sys/types.h: No such file or directory
In file included from /root/lnmp1.0-full/mysql-5.5.28/cmd-line-utils/readline/readline.c:30:
/root/lnmp1.0-full/mysql-5.5.28/cmd-line-utils/readline/posixstat.h:27:22: error: sys/stat.h: No such file or directory
/root/lnmp1.0-full/mysql-5.5.28/cmd-line-utils/readline/readline.c:31:19: error: fcntl.h: No such file or directory
/root/lnmp1.0-full/mysql-5.5.28/cmd-line-utils/readline/readline.c:50:19: error: stdio.h: No such file or directory
In file included from /root/lnmp1.0-full/mysql-5.5.28/cmd-line-utils/readline/readline.c:51:
/root/lnmp1.0-full/mysql-5.5.28/cmd-line-utils/readline/posixjmp.h:24:20: error: setjmp.h: No such file or directory
/root/lnmp1.0-full/mysql-5.5.28/cmd-line-utils/readline/readline.c:52:19: error: errno.h: No such file or directory

那几个头文件不存在,可能是mini的系统给精简了,换个其他系统试试

541960899 发表于 2013-7-30 17:00:42

回复 6# 的帖子

系统不能换。看能不能换LNMP的版本。不知道能不能这样。LNMP都适合64位的系统不?

[ 本帖最后由 541960899 于 2013-7-30 17:04 编辑 ]

licess 发表于 2013-7-30 21:20:27

这是编译安装的不区分64还是32
页: [1]
查看完整版本: 安装lnmp1.0不成功