Rocky-8.4安装lnmp1.9失败
如题,运行环境:VMware Workstation Pro 虚拟的2C4G,日志已上传。日志上传有问题,日志请军哥这里查看:https://soft.qu027.com:8443/lnmp-install.rar 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/mirrorlist?arch=x86_64&repo=BaseOS-8
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
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背锅了 换成国内的源了,也不得行啊,反复卸载再安装了几遍,军哥再帮排查一下!日志如下:
https://soft.qu027.com:8443/log.rar 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 如果没有其他比较占用内存的程序在运行的话应该是可以安装上的 加大了内存,OK了,感谢!
页:
[1]