close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
2011-02-26
Debian
- 最近幫忙重新安裝 B/C 教室的 DRBL Server,剛開始都選『繁體中文』。以至於 UHD 登入後會看到「菱形字」。所以得把預設字集改為 en_US.UTF-8。加到 /etc/profile 有點暴力,
- 以前在 Debian 底下,可以用 debconf 的 dpkg-reconfigure 來設定系統預設字集。不過這個方法不是用 Ubuntu 9.10 以後的版本
apt-get install debconf
dpkg-reconfigure locales
- [參考] Ubuntu 9.10 增加 / 設定 語系(Locale)
- [參考] Peter JU 的 Ubuntu 10.04 LTS 安裝紀錄
- Ubuntu 10.04 的改法 - 修改 /etc/default/locale
# cat > /etc/default/locale << EOF
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
EOF
- Ubuntu 10.04 清掉不必要的語系
jazz@zillac:~$ sudo rm /var/lib/locales/supported.d/zh-hans
jazz@zillac:~$ echo "en_US.UTF-8 UTF-8" > en
jazz@zillac:~$ sudo mv en /var/lib/locales/supported.d/en
jazz@zillac:~$ sudo locale-gen
wordpress
Download in other formats: