ubuntu20.04 lnmp1.8安装失败
折腾好几天,一直没成功,附上日志文件:https://wenjian.xuanyuanhuangdi.org/log.zipPreparing to unpack .../netfilter-persistent_1.0.14_all.deb ...
Unpacking netfilter-persistent (1.0.14) ...
Selecting previously unselected package iptables-persistent.
Preparing to unpack .../iptables-persistent_1.0.14_all.deb ...
Unpacking iptables-persistent (1.0.14) ...
Setting up netfilter-persistent (1.0.14) ...
Created symlink /etc/systemd/system/multi-user.target.wants/netfilter-persistent.service → /lib/systemd/system/netfilter-persistent.service.
Setting up iptables-persistent (1.0.14) ...
update-alternatives: using /lib/systemd/system/netfilter-persistent.service to provide /lib/systemd/system/iptables.service (iptables.service) in auto mode
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3) ...
* Saving netfilter rules...
run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables save
run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables save
...done.
* Loading netfilter rules...
run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables start
run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables start
...done.
Add netfilter-persistent service at system startup...
Synchronizing state of netfilter-persistent.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable netfilter-persistent
Add Startup and Starting LNMP...
Add nginx service at system startup...
Synchronizing state of nginx.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable nginx
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /etc/systemd/system/nginx.service.
Add mysql service at system startup...
Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mysql
Add php-fpm service at system startup...
Synchronizing state of php-fpm.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable php-fpm
Created symlink /etc/systemd/system/multi-user.target.wants/php-fpm.service → /etc/systemd/system/php-fpm.service.
============================== Check install ==============================
Checking ...
[0;32mNginx: OK[0m
[0;31mError: MySQL install failed.[0m
[0;32mPHP: OK[0m
[0;32mPHP-FPM: OK[0m
[0;31mSorry, Failed to install LNMP![0m
[0;31mPlease visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.[0m
[0;31mYou can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.[0m
请大佬们指教!,谢谢
系统ubuntu20.04,内存1G,swap 2G,因为某些原因要安装mysql8.0+,知道内存不足,加了swap。
php 7.2
mysql 8.0.25 Linking CXX shared library library_output_directory/libserver_unittest_library.so
collect2: fatal error: ld terminated with signal 9
内存不足,swap并不是内存,它只能缓解默写情况下内存不足的问题,但治标不治本,mysql 5.7+本来就不适合小内存使用 licess 发表于 2021-6-25 21:23
Linking CXX shared library library_output_directory/libserver_unittest_library.so
coll ...
谢谢大佬
页:
[1]