VPS侦探论坛

 找回密码
 注册
查看: 177|回复: 2

lnmp1.8和1.7都没法安装

[复制链接]
发表于 2021-6-25 21:24:36 | 显示全部楼层 |阅读模式



一开始弄了1.8,报错装不上,没在意,以为太高了换1.7,结果一样,系统是CentOS7.6 64位

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2021-6-25 21:26:13 | 显示全部楼层


============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: 100.125.0.40
* extras: 100.125.0.40
* updates: 100.125.0.40
Package iptables-services-1.4.21-35.el7.x86_64 already installed and latest version
Nothing to do
iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
Redirecting to /bin/systemctl reload iptables.service
Job for iptables.service invalid.
Add iptables service at system startup...
Add Startup and Starting LNMP...
Add nginx service at system startup...
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
Add mysql service at system startup...
Add php-fpm service at system startup...
============================== Check install ==============================
Checking ...
Error: Nginx install failed.
Error: MySQL install failed.
Error: 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.


Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2021-6-26 17:35:44 | 显示全部楼层



checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

。。。。。。
/usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^
compilation terminated.

。。。。。。
In file included from /usr/include/errno.h:35:0,
                 from /root/lnmp1.7/src/mysql-5.6.48/extra/libevent/buffer.c:73:
/usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such file or directory
# include <linux/errno.h>
                          ^
compilation terminated.
。。。。。。
checking for uint32_t ... uint32_t not found, u_int32_t not found
./configure: error: can not define uint32_t

参考:https://bbs.vpser.net/thread-25571-1-1.html
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2021-7-25 15:22 , Processed in 0.095793 second(s), 27 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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