VPS侦探论坛

 找回密码
 注册
查看: 1687|回复: 5

Rocky-8.4安装lnmp1.9失败

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

如题,运行环境:VMware Workstation Pro 虚拟的2C4G,日志已上传。




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


日志上传有问题,日志请军哥这里查看:https://soft.qu027.com:8443/lnmp-install.rar
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-5-12 20:11:52 | 显示全部楼层

The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: Error downloading packages:
  Curl error (7): Couldn't connect to server for https://mirrors.rockylinux.org/m ... 4&repo=BaseOS-8 [Failed to connect to mirrors.rockylinux.org port 443: Connection refused]
Last metadata expiration check: 0:05:36 ago on Thu 12 May 2022 04:42:32 PM CST.
。。。。。。
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: Error downloading packages:
  Curl error (7): Couldn't connect to server for https://mirrors.rockylinux.org/m ... 86_64&repo=extras-8 [Failed to connect to mirrors.rockylinux.org port 443: Connection refused]
Last metadata expiration check: 0:45:18 ago on Thu 12 May 2022 04:42:32 PM CST.
No match for argument: libsodium-devel
Error: Unable to find a match: libsodium-devel

国内用首先把源改成国内的,要不系统自带源连不上就成lnmp背锅了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-5-13 15:35:35 | 显示全部楼层



换成国内的源了,也不得行啊,反复卸载再安装了几遍,军哥再帮排查一下!日志如下:
https://soft.qu027.com:8443/log.rar
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-5-13 19:35:59 | 显示全部楼层

daixh 发表于 2022-5-13 15:35
换成国内的源了,也不得行啊,反复卸载再安装了几遍,军哥再帮排查一下!日志如下:
https://soft.qu027.co ...
/bin/sh /root/lnmp1.9/src/php-8.1.3/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/fileinfo/ -I/root/lnmp1.9/src/php-8.1.3/ext/fileinfo/ -I/root/lnmp1.9/src/php-8.1.3/include -I/root/lnmp1.9/src/php-8.1.3/main -I/root/lnmp1.9/src/php-8.1.3 -I/root/lnmp1.9/src/php-8.1.3/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/local/include -I/usr/include/imap -I/root/lnmp1.9/src/php-8.1.3/ext/mbstring/libmbfl -I/root/lnmp1.9/src/php-8.1.3/ext/mbstring/libmbfl/mbfl -I/root/lnmp1.9/src/php-8.1.3/TSRM -I/root/lnmp1.9/src/php-8.1.3/Zend    -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS   -I/root/lnmp1.9/src/php-8.1.3/ext/fileinfo/libmagic -c /root/lnmp1.9/src/php-8.1.3/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo  -MMD -MF ext/fileinfo/libmagic/apprentice.dep -MT ext/fileinfo/libmagic/apprentice.lo
cc: fatal error: Killed signal terminated program cc1
compilation terminated.

内存不够用导致的
fileinfo一般1GB以上可用内存就可以安装上,你内存 1790 MB 如果没有其他比较占用内存的程序在运行的话应该是可以安装上的

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

 楼主| 发表于 2022-5-16 09:17:06 | 显示全部楼层

加大了内存,OK了,感谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-24 05:55 , Processed in 0.026730 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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