miércoles, 31 de enero de 2018

Setup Lubuntu 17 on usb flash memory

Lubuntu created with Lili on USB with swap file of 4 GB (Lubuntu 17)

start with persistence option.

open terminal.
write an enter:

sudo -i    
(for enter and hold root mode)

swapon /media/lubuntu/YOURDISK/FILE.swap
(to mount swap file)

sysctl vm.swappiness=70  
(to set swappiness to 70%)

sudo sysctl -w vm.vfs_cache_pressure=80  
(to set use of swap (% preferred to ram))


.


No hay comentarios:

Publicar un comentario