lnmp mysql安装失败
今天lnmp安装了一下午,尝试了各种版本的lnmp脚本,但是mysql一直安装不成功。以下是最后一次尝试安装的错误日志内容
Makefile:73: recipe for target 'install' failed
make: *** Error 1
groupadd: /etc/group.84037: No space left on device
groupadd: cannot lock /etc/group; try again later.
useradd: group 'mysql' does not exist
include/mysql.sh: line 538: cannot create temp file for here-document: No space left on device
mkdir: cannot create directory ‘/usr/local/mysql/var’: No space left on device
chown: invalid user: ‘mysql:mysql’
include/mysql.sh: line 607: /usr/local/mysql/bin/mysqld: No such file or directory
chgrp: invalid group: ‘mysql’
cp: error writing '/etc/init.d/mysql': No spa
看起来好像是空间不够。
但是我通过df -h查看
似乎我硬盘又是有空间的。所以这到底是是为啥?
Filesystem SizeUsed Avail Use% Mounted on
udev 1.4G 01.4G 0% /dev
tmpfs 289M1.4M288M 1% /run
/dev/sda1 12G7.2G4.4G63% /
tmpfs 1.5G 01.5G 0% /dev/shm
tmpfs 5.0M 05.0M 0% /run/lock
tmpfs 1.5G 01.5G 0% /sys/fs/cgroup
/dev/loop2 89M 89M 0 100% /snap/core/7396
/dev/loop0 55M 55M 0 100% /snap/core18/1074
/dev/loop3 15M 15M 0 100% /snap/gnome-characters/296
/dev/loop1 3.8M3.8M 0 100% /snap/gnome-system-monitor/100
/dev/loop4 4.2M4.2M 0 100% /snap/gnome-calculator/406
/dev/loop5 43M 43M 0 100% /snap/gtk-common-themes/1313
/dev/loop6 1.0M1.0M 0 100% /snap/gnome-logs/61
/dev/loop7 150M150M 0 100% /snap/gnome-3-28-1804/71
/dev/sda15 105M3.6M101M 4% /boot/efi
tmpfs 289M 16K289M 1% /run/user/121
tmpfs 289M 32K289M 1% /run/user/1000
https://lnmp.org/install.html 安装要求上有说明,你这硬盘空间没显示不符合要求的
页:
[1]