sudo swapoff -a
sudo fallocate -l 7G /home/swap/swapfile
sudo dd if=/dev/zero of=/home/swap/swapfile bs=1G count=7
sudo chmod 600 /home/swap/swapfile
sudo mkswap /home/swap/swapfile
sudo swapon /home/swap/swapfile
sudo vim /etc/fstab
/home/swap/swapfile swap swap defaults 0 0
* 재부팅 했는데 swap 0 이면 /home 이 마운트 가 늦게 된다…
sudo vim /etc/rc.d/rc.local
# swap 활성화
sudo swapon -a