Ubuntu_6.06

設定上網

透過區域網路

系統 / 管理 / 網路
 DNS 設定檔:/etc/resolv.conf
 IP/netmask/gateway設定檔:/etc/network/interfaces 

透過ADSL

Ubuntu預設沒有圖形的pppoe( adsl撥接 )用的程式
 設定 ADSL : sudo pppoeconf
 連線 : sudo pon dsl-provider
 斷線 : sudo poff
 測試連線 : plog
 # 參考網頁 : http://wiki.debian.org.hk/w/Connect_Internet_with_PPPoE

更改套件來源

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

sudo gedit /etc/apt/sources.list

####
#Dapper
####

# tw.archive
# GPG key: 437D05B5
deb http://tw.archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

# official security updates
deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse

# Seveas' Ubuntu Packages
# GPG key: 1135D466
# This is a 3rd party repository with several useful sections filled with new packages and backports. To find .deb lines for individual components, go to http://wiki.ubuntu.com/SeveasPackages. Use with care and consider the individual sections over this one.
deb http://mirror.ubuntulinux.nl/ dapper-seveas all
deb-src http://mirror.ubuntulinux.nl/ dapper-seveas all

# gcin
deb http://www.calno.com unstable main
deb-src http://www.calno.com unstable main
deb-src http://mentors.debian.net/debian unstable main

# candyz
# GPG key: 476A8659
deb http://cle.linux.org.tw/candyz/Ubuntu/dapper i386/

# Google repos
deb http://dl.google.com/linux/deb/ stable non-free

# EasyCam2 支援webcam
deb http://blognux.free.fr/debian unstable main

# Medibuntu multimedia packages
# GPG key: 0C5A2783
# Multimedia packages and codecs for PowerPC, PPC java and some extras
deb http://medibuntu.sos-sts.com/repo/ dapper free non-free
deb-src http://medibuntu.sos-sts.com/repo/ dapper free non-free

# Canonical Commercial packages
# GPG key: 437D05B5
# Some closed source applications that canonical can redistribute (opera, realplayer, panda desktopsecure)
deb http://archive.canonical.com/ubuntu dapper-commercial main
deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse

# VirtualBox
deb http://www.virtualbox.org/debian dapper non-free

匯入金鑰 GPG key

若您使用上述的sources.list需要匯入下列金鑰

 # candyz's key
 gpg --keyserver hkp://subkeys.pgp.net --recv-keys 476A8659
 gpg --export --armor 476A8659 | sudo apt-key add -
 # Seveas' key
 gpg --keyserver hkp://subkeys.pgp.net --recv-keys 1135D466
 gpg --export --armor 1135D466 | sudo apt-key add -
 # Medibuntu' key
 gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0C5A2783
 gpg --export --armor 0C5A2783 | sudo apt-key add -

 # Google repos
 sudo wget http://dl.google.com/linux/linux_signing_key.pub -O-|sudo apt-key add -

apt-get與系統套件更新

sudo apt-get update

  • # If you get GPG errors with this sources.list, locate the GPG key in this file # and run these commands (where KEY is replaced with that key) # # gpg --keyserver hkp://subkeys.pgp.net --recv-keys KEY # gpg --export --armor KEY | sudo apt-key add -

sudo apt-get -y --force-yes upgrade

Ubuntu_6.06 (last edited 2008-08-06 16:24:52 by localhost)