Como criar um Ramdisk e usá-lo com o Lightread?

1

Eu criei um Ramdisk para o Chrome seguindo estas instruções:

1) Most of our commands require superuser privileges, so we might as well just switch to root.

sudo su -

2) Edit your startup script:

nano /etc/rc.local

Right above “exit 0″ we’ll add the commands that need to run each time at startup:

mkdir /tmp/ram

mount -t tmpfs -o size=512M,mode=750 tmpfs /tmp/ram/

chown -R yourUserName /tmp/ram/ (replace “yourUserName” with your user name)

Save the changes and exit (ctrl-o, ctrl-x).

3) Edit your boot configuration:

nano /etc/default/grub

Change the GRUB_CMDLINE_LINUX line to read:

GRUB_CMDLINE_LINUX=”ramdisk=512000″

and again save and exit.

4) Reboot and verify that /tmp/ram now exists with “drwxr-x—” rights with you as the owner.

5) Relocate your existing browser (no need to do this as root) cache and link to it:

For Chromium:

rm -rf  ~/.cache/chromium

ln -s /tmp/ram ~/.cache/chromium

For Google Chrome:

rm -rf  ~/.cache/google-chrome/

ln -s /tmp/ram ~/.cache/google-chrome

For Mozilla Firefox:

The cache for Firefox can be found inside your Firefox profile (which includes a big random string in it). As long as you only have one Firefox profile you can do this:

cd ~/.mozilla/firefox/*default

rm -rf Cache

ln -s /tmp/ram Cache

A partir daqui Perfect Ubuntu: Otimizando seu navegador com um disco RAM

Eu gostaria de usar o Lightread com um Ramdisk, o que devo fazer para conseguir isso?

    
por John Hass 27.10.2012 / 09:19

1 resposta

0

Você pode instalar o Profile Sync Daemon. Existe um tutorial: Clique aqui

    
por fjrodriguez 04.12.2013 / 13:01