As root, make a file that will act as additional swap space, let's say about 500MB:
# dd if=/dev/zero of=tempswap bs=1k count=500000
Now we should change the file permissions:
# chmod 600 tempswap
# mke2fs tempswap
# mkswap tempswap
# swapon tempswap
没有评论:
发表评论