首先用DVD 1 安装,安装后大部分软件都包含在DVD 内
如果需要网络上的其他源可以修改source.list
原文件如下
#
# deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-1 20070819-11:33]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-1 20070819-11:33]/ etch contrib main
#deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ etch/updates main contrib
修改为:
lzq@debian:~/Desktop/code$ cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-1 20070819-11:33]/ etch contrib main
#deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-1 20070819-11:33]/ etch contrib main
deb http://debian.cn99.com/debian/ etch main
deb-src http://debian.cn99.com/debian/ etch main
#deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ etch/updates main contrib
之后使用命令更新信息
apt-get update 更新信息
之后可以使用包管理器处理相应信息
如果重新恢复原来光盘的信息可以使用 apt-cdrom add ;apt-get update 来实现