VPS侦探论坛

 找回密码
 注册
查看: 7776|回复: 4

lnmp后安装apache失败,很多人都遇到了这类问题

[复制链接]
发表于 2011-8-10 10:00:51 | 显示全部楼层 |阅读模式

在服务器上一键安装lnmp,然后./apache.sh后最后安装失败,进入状态管理的时候会提示/etc/init.d/httpd: line 98: /usr/local/apache/bin/httpd: No such file or directory


同样的问题出现于https://bbs.vpser.net/thread-2851-1-1.html,这个应该不是个例了。
最主要的问题是 “Perl is not installed”,然后在服务器yum install perl* 了几次也没有安装上。。。

[ 本帖最后由 suwubee 于 2011-8-10 10:22 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-8-10 10:32:57 | 显示全部楼层


安装perl提示什么错误
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-8-10 10:38:10 | 显示全部楼层

回复 2# 的帖子


yum clean all
yum update -y
yum install *perl*
然后再安装perl的时候提示已经安装成功并且都是最新版,再安装./apache.sh的时候还是提示没有perl。另外我安装mapn的时候也是apache+nginx,没有遇到这个问题。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-8-10 10:54:36 | 显示全部楼层

回复 2# 的帖子




The output of /usr/local/apache/bin/apxs follows:
./configure: line 6461: /usr/local/apache/bin/apxs: No such file or directory
configure: error: Aborting
cp: cannot stat `/usr/local/apache/build/libtool': No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-8-10 11:24:07 | 显示全部楼层

提供更多一些的错误信息

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-21 02:44 , Processed in 0.026068 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表