dd if=/dev/zero of=/swapfile1 bs=1024 count=524288mkswap /swapfile1swapon /swapfile1vi /etc/fstab# edit /etc/fstab file, add the following line/swapfile1 none swap sw 0 0# save and quitfree -mswapon -s
本文共 254 字,大约阅读时间需要 1 分钟。
dd if=/dev/zero of=/swapfile1 bs=1024 count=524288mkswap /swapfile1swapon /swapfile1vi /etc/fstab# edit /etc/fstab file, add the following line/swapfile1 none swap sw 0 0# save and quitfree -mswapon -s
转载于:https://www.cnblogs.com/otfsenter/p/9626924.html