Kamis, 05 Maret 2015

swap memory on linux

Terminal
type
dd if=/dev/zero of=/swapfile bs=1M count=1000

set up
mkswap /swapfile 

Aktivate swap file
swapon /swapfile

change permission of file
gedit /etc/fstab
sudo chmod 777 /etc/fstab

parameter on file :"/etc/fstab"
/swapfile swap swap defaults 0 0

verification of swap memory, type on terminal:

free -m 
then restart.
Done..

Tidak ada komentar:

Posting Komentar