VPS侦探论坛

 找回密码
 注册
查看: 4256|回复: 3

ubuntu20.04 lnmp1.8安装失败

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

折腾好几天,一直没成功,附上日志文件:https://wenjian.xuanyuanhuangdi.org/log.zip
  1. Preparing to unpack .../netfilter-persistent_1.0.14_all.deb ...
  2. Unpacking netfilter-persistent (1.0.14) ...
  3. Selecting previously unselected package iptables-persistent.
  4. Preparing to unpack .../iptables-persistent_1.0.14_all.deb ...
  5. Unpacking iptables-persistent (1.0.14) ...
  6. Setting up netfilter-persistent (1.0.14) ...
  7. Created symlink /etc/systemd/system/multi-user.target.wants/netfilter-persistent.service → /lib/systemd/system/netfilter-persistent.service.
  8. Setting up iptables-persistent (1.0.14) ...
  9. update-alternatives: using /lib/systemd/system/netfilter-persistent.service to provide /lib/systemd/system/iptables.service (iptables.service) in auto mode
  10. Processing triggers for man-db (2.9.1-1) ...
  11. Processing triggers for systemd (245.4-4ubuntu3) ...
  12. * Saving netfilter rules...
  13. run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables save
  14. run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables save
  15.    ...done.
  16. * Loading netfilter rules...
  17. run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables start
  18. run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables start
  19.    ...done.
  20. Add netfilter-persistent service at system startup...
  21. Synchronizing state of netfilter-persistent.service with SysV service script with /lib/systemd/systemd-sysv-install.
  22. Executing: /lib/systemd/systemd-sysv-install enable netfilter-persistent
  23. Add Startup and Starting LNMP...
  24. Add nginx service at system startup...
  25. Synchronizing state of nginx.service with SysV service script with /lib/systemd/systemd-sysv-install.
  26. Executing: /lib/systemd/systemd-sysv-install enable nginx
  27. Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /etc/systemd/system/nginx.service.
  28. Add mysql service at system startup...
  29. Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
  30. Executing: /lib/systemd/systemd-sysv-install enable mysql
  31. Add php-fpm service at system startup...
  32. Synchronizing state of php-fpm.service with SysV service script with /lib/systemd/systemd-sysv-install.
  33. Executing: /lib/systemd/systemd-sysv-install enable php-fpm
  34. Created symlink /etc/systemd/system/multi-user.target.wants/php-fpm.service → /etc/systemd/system/php-fpm.service.
  35. ============================== Check install ==============================
  36. Checking ...
  37. Nginx: OK
  38. Error: MySQL install failed.
  39. PHP: OK
  40. PHP-FPM: OK
  41. Sorry, Failed to install LNMP!
  42. Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
  43. You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.
复制代码


请大佬们指教!,谢谢
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2021-6-25 18:24:07 | 显示全部楼层


系统ubuntu20.04,内存1G,swap 2G,因为某些原因要安装mysql8.0+,知道内存不足,加了swap。
php 7.2
mysql 8.0.25
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2021-6-25 21:23:19 | 显示全部楼层

[quote[[ 64%] Linking CXX shared library library_output_directory/libserver_unittest_library.so
collect2: fatal error: ld terminated with signal 9 [Killed][/quote]
内存不足,swap并不是内存,它只能缓解默写情况下内存不足的问题,但治标不治本,mysql 5.7+本来就不适合小内存使用
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2021-6-28 17:06:25 | 显示全部楼层



licess 发表于 2021-6-25 21:23
[quote[[ 64%] Linking CXX shared library library_output_directory/libserver_unittest_library.so
coll ...

谢谢大佬
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-10 21:17 , Processed in 0.026785 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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