ubuntu20.04安装mysql报错
安装了几次,mysql5.7和8.0均报错,麻烦帮忙看一下,谢谢。https://t.wss.ink/f/8jj03h4yajb
[ 87%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/disjoint.cc.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
第一个日志内存不够用
Filesystem SizeUsed Avail Use% Mounted on
udev 1.9G 01.9G 0% /dev
tmpfs 391M1.5M389M 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv9.0G2.3G6.2G28% /
tmpfs 2.0G 02.0G 0% /dev/shm
tmpfs 5.0M 05.0M 0% /run/lock
tmpfs 2.0G 02.0G 0% /sys/fs/cgroup
/dev/sda2 877M108M708M14% /boot
/dev/loop0 68M 68M 0 100% /snap/lxd/21835
/dev/loop2 62M 62M 0 100% /snap/core20/1328
/dev/loop1 44M 44M 0 100% /snap/snapd/14978
tmpfs 391M 0391M 0% /run/user/1000
。。。。。。
[ 98%] Linking C static library ../archive_output_directory/libmysqld.a
Merging library mysqlserver
bfd plugin: /root/lnmp1.9/src/mysql-5.7.38/archive_output_directory/libmysqld.a: file too short
/usr/bin/ranlib: /root/lnmp1.9/src/mysql-5.7.38/archive_output_directory/libmysqld.a: No space left on device
[ 98%] Built target mysqlserver
Scanning dependencies of target mysql_client_test_embedded
[ 98%] Building C object libmysqld/examples/CMakeFiles/mysql_client_test_embedded.dir/__/__/testclients/mysql_client_test.c.o
/root/lnmp1.9/src/mysql-5.7.38/testclients/mysql_client_test.c:21486:15: fatal error: error writing to /tmp/ccQDmANL.s: No space left on device
21486 | static struct my_tests_st *get_my_tests() { return my_tests; }
| ^~~~~~~~~~~
compilation terminated.
第二个日志硬盘空间不够用,安装教程上面有明确对硬盘空间的要求,硬盘空间不够用就选二进制包安装吧 好的,非常感谢。
页:
[1]