ccw137 发表于 2022-12-17 14:50:52

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

安装的服务器:

1vCPUs | 2GiBHuawei 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














licess 发表于 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正常安装,不确定是什么原因
页: [1]
查看完整版本: 华为云 HECS(云耀云服务器) LNMP安装失败!