VPS侦探论坛

 找回密码
 注册
查看: 187|回复: 1

华为云 HECS(云耀云服务器) LNMP安装失败!

[复制链接]
发表于 2022-12-17 14:50:52 | 显示全部楼层 |阅读模式

安装的服务器:

1vCPUs | 2GiB  Huawei Cloud EulerOS 2.0 等保2.0三级版 64位

cat /proc/version
Linux version 5.10.0-60.18.0.50.r509_2.hce2.x86_64 (abuild@szxrtosci10000) (gcc_old (GCC) 10.3.1, GNU ld (GNU Binutils) 2.37) #1 SMP Sat Oct 8 13:01:36 UTC 2022

more /etc/issue

\S
Kernel \r on an \m


lsb_release -a

LSB Version:    n/a
Distributor ID: HuaweiCloudEulerOS
Description:    Huawei Cloud EulerOS release 2.0 (West Lake)
Release:        2.0
Codename:       WestLake


--------------------------------------------------------------------------------------------------------
默认安装 提示错误 :  
Unable to get Linux distribution name, or do NOT support the current distribution.



--------------------------------------------------------------------------------------------------------
我修改了  /root/lnmp1.9/include/main.sh:  

我把文件内容的  openEuler 替换成 “Kernel”

elif grep -Eqi "Kernel" /etc/issue || grep -Eq "Kernel" /etc/*-release; then
        DISTRO='Kernel'
        PM='yum'





--------------------------------------------------------------------------------------------------------
安装过程中没有报错,一直到最后 错误提示,没有安装成功!


Checking ...
Nginx: OK
Do not install MySQL/MariaDB.
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.


【lnmp-install 安装日志】
https://cowtransfer.com/s/36f6e26201c34f    查看口令 rkzj7i














美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-12-18 10:25:43 | 显示全部楼层


If configure fails try --with-xpm-dir=<DIR>
checking for fabsf... no
checking for floorf... no
configure: error: GD build test failed. Please check the config.log for details.

日志显示是gd的问题,日志查看的gd正常安装,不确定是什么原因
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2023-1-28 01:02 , Processed in 0.043219 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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