Как создать Ramdisk и использовать его с Lightread?

Я создал Ramdisk для Chrome, следуя этим инструкциям:

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

Отсюда Perfect Ubuntu: Оптимизация вашего браузера с RAM-диском

Я бы хотел бы использовать Lightread с рамдиском, что мне делать, чтобы этого добиться?

1
задан 4 April 2015 в 11:49

1 ответ

Вы можете установить Profile Sync Daemon. Существует учебное пособие: Нажмите здесь

0
ответ дан 4 April 2015 в 11:49

Другие вопросы по тегам:

Похожие вопросы: