Debian 空機基本設定


ssh root@163.17.9.xxx 登入各組主機。 回家後, 在 windows 底下, 用 pietty 連線。

  1. 設定時區 dpkg-reconfigure tzdata
  2. 設定語言 dpkg-reconfigure locales
  3. 改用 「自動選最快」 的映射站:
    cd /etc/apt
    cp sources.list sources.list.orig
    nano sources.list # 把 http://ftp.debian.org/debian 都改成 http://http.debian.net/debian
    
  4. (在學校才需要做這一步) export http_proxy=http://v.im.cyut.edu.tw:3128
  5. 更新軟體清單: apt-get update
  6. 試安裝幾個小套件: apt-get install xyz
  7. 這個動作要很久: apt-get upgrade

(回課程首頁)