RSS
 

Archive for 10月 30th, 2009

Ubuntu 9.10 安装TOR

30 Oct

在/etc/apt/sources.list中添加

deb http://mirror.noreply.org/pub/tor etch main
deb-src http://mirror.noreply.org/pub/tor etch main

添加密钥

gpg --keyserver keys.gnupg.net --recv 94C09C7F
gpg --export 94C09C7F | sudo apt-key add -

更新源

sudo apt-get update

下载并安装libevent1

http://packages.ubuntu.com/zh-cn/jaunty/libevent1

安装Tor

sudo apt-get install tor privoxy

使用你最喜欢的编辑器打开 /etc/privoxy/config 文件,在最前面加上下面这一行(别漏了那个不起眼的“.”):

forward-socks4a / localhost:9050 .

重新启动 privoxy 服务

sudo /etc/init.d/privoxy restart
 
24 Comments

Posted in ubuntu

 

Ubuntu 9.10 (Karmic Koala)字体设置

30 Oct

9.10中默认打开了文泉驿正黑点阵字库。如果你不喜欢点阵,你可以使用下面的命令将点阵关闭:

sudo rm -rf /etc/fonts/conf.d/66-wqy-zenhei-sharp.conf

关闭点阵后又反悔的,可以用下面的命令重新启用点阵:

sudo ln -s /etc/fonts/conf.avail/66-wqy-zenhei-sharp.conf /etc/fonts/conf.d/66-wqy-zenhei-sharp.conf
 
No Comments

Posted in linux, ubuntu