优化你的Ubuntu,小Tips集锦(1)

  1. 给Firefox用上内存做交换区(来源)在/etc/fstab加入:

    tmpfs /tmp/cache tmpfs size=128M 0 0

    然后建立/tmp/cache目录

    sudo mkdir /tmp/cache

    然后加载

    sudo mount -a

    在Firefox里地址栏输入 about:config.加入新字串[browser.cache.disk.parent_directory],它的值是你的目录位置 重启Firefox就会发现速度有变化(希望是变快:)

  2. 几个其他小改动(来源)关掉IPV6,在/etc/modprobe.d/aliases里找到

    alias net-pf-10 ipv6

    改为

    alias net-pf-10 off #alias net-pf-10 ipv6

    主机名和localhost关联,在/etc/hosts,改成如下的东西

    127.0.0.1 localhost yourhost
    127.0.1.1 yourhost

未完待续…

This entry was posted in Linux, Tips and tagged , , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. Posted December 29, 2007 at 6:06 pm | Permalink

    这样搞不错,速度是会有所加快,但是如果内存要是大一些就好了。

    [Reply]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*