風雲過客

2012年8月28日 星期二

安裝 Debian 6.0.5 第二步

安裝 Debian 6.0.5 第二步

Ctrl + Alt + F1 --> login 為 root ,安裝 sudo 套件

# apt-get install sudo
# exit --> logout

Ctrl + Alt + F7 --> 重回圖形介偭

進入 Terminal 模式
Debian 6:~$ sudo dpkg-reconfigure locales

重新設定 locales,加入 en_US 相關選項和 zh_TW.big5、zh_TW.utf8,

default 最好設為 en_US ,避免無中文字型出現亂碼

修改 /etc/network/interfaces 啟動網卡

Debian 6:~$ sudo gedit /etc/network/interfaces

# ======================================
auto lo
iface lo inet loopback

allow-hotplug eth0
iface etho inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid <ssid>
wpa-psk <password>
# ======================================

重新啟動網路卡:
Debian 6:~$ sudo ifdown eth0
Debian 6:~$ sudo ifup eth0
Debian 6:~$ sudo ifdown wlan0
Debian 6:~$ sudo ifup wlan0

與基地台取得動態 IP。
Debian 6:~$ sudo dhclient wlan0

測試連線是否正常。
Debian 6:~$ ping www.google.com -c 3


修改 /etc/apt/sources.list ,加上常用的站:

deb http://security.debian.org/debian/ squeeze/updates main
deb-src http://security.debian.org/debian/ squeeze/updates main

deb http://ftp.tw.debian.org/debian/ squeeze main non-free contrib
deb-src http://ftp.tw.debian.org/debian/ squeeze main non-free contrib

deb http://ftp.us.debian.org/debian/ squeeze main non-free contrib
deb-src http://ftp.us.debian.org/debian/ squeeze main non-free contrib

重新 apt-get update 之後,就準備開始安裝中文字型了。

Debian 6:~$ sudo apt-get update

安裝中文字型

Debian 6:~$ sudo apt-get install ttf-arphic-bkai00mp ttf-arphic-bsmi00lp ttf-arphic-ukai ttf-arphic-uming

logout 點選使用者後未輸入密碼時,
在下面工作列 [ English ( United States ) ] -- > 選擇 Other --> 選 [漢語(臺灣)]
輸入 password 即可變更為 [ 繁體中文 ]

標籤:

0 個意見:

張貼留言

訂閱 張貼留言 [Atom]



<< 首頁