8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
今天编译mysql5.7内存不够用,加了一个swap 1.创建swap dd if=/dev/zero of=/mnt/swapfile bs=1M count=2048 2.格式化swapfile mkswap /mnt/swapfile 3.加载swap chmod 0600 /mnt/swapfile swapon /mnt/swapfile 4.写入fstab /mnt/swapfile swap swap defaults 0 0
dd if=/dev/zero of=/mnt/swapfile bs=1M count=2048
mkswap /mnt/swapfile
chmod 0600 /mnt/swapfile
swapon /mnt/swapfile
/mnt/swapfile swap swap defaults 0 0