create swap

mkswap /dev/sda8
swapon -a /dev/sda8

#dd if=/dev/zero of=/tmp/swapfile bs=1M count=512
#mkswap /tmp/swapfile
#swapon -s
#swapon -a /tmp/swapfile
#swapoff /tmp/swapfile



你可能感兴趣的:(redhat,职场,休闲)