Linux

De Chico Simões
Ir para: navegação, pesquisa

Dica para criar um swap:

dd if=/dev/zero of=/swapfile bs=1024 count=512k chown root:root /swapfile chmod 0600 /swapfile mkswap /swapfile swapon /swapfile echo /swapfile none swap sw 0 0 >> /etc/fstab echo 10 | tee /proc/sys/vm/swappiness echo vm.swappiness = 10 | tee -a /etc/sysctl.conf