第六步:设置浏览器的缓存
可通过graysky程序来设置所有浏览器的缓存。
# sudo add-apt-repository ppa:graysky/utils
# sudo apt-get update
# sudo apt-get install profile-sync-daemon
...
--------------------------------------------------------------------------
Define which users will make use of the sync in /etc/psd.conf
Read the manpage before use or see the wiki page
https://wiki.archlinux.org/index.php/Profile-sync-daemon
ALWAYS backup your profiles data before using utils like psd!
--------------------------------------------------------------------------
Adding system startup for /etc/init.d/psd ...
/etc/rc0.d/K20psd -> ../init.d/psd
/etc/rc1.d/K20psd -> ../init.d/psd
/etc/rc6.d/K20psd -> ../init.d/psd
/etc/rc2.d/S20psd -> ../init.d/psd
/etc/rc3.d/S20psd -> ../init.d/psd
/etc/rc4.d/S20psd -> ../init.d/psd
/etc/rc5.d/S20psd -> ../init.d/psd
设置/etc/psd.conf
......
USERS="yourlogin"
......
检测各浏览器的设置:
# sudo profile-sync-daemon parse
Profile-sync-daemon v5.32 on Ubuntu 13.04.
Daemon file /var/run/psd is not present.
Psd will manage the following per /etc/psd.conf settings:
browser/psname: firefox/firefox
owner/group: nicholas/nicholas
sync target: /home/nicholas/.mozilla/firefox/gu0ne6mm.default
tmpfs dir: /run/shm/nicholas-firefox-gu0ne6mm.default
profile size: 25M
browser/psname: google-chrome/chrome
owner/group: nicholas/nicholas
sync target: /home/nicholas/.config/google-chrome
tmpfs dir: /run/shm/nicholas-google-chrome
profile size: 44M
启动psd服务:
# sudo service psd start
更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2
