很多朋友问我怎么从硬盘上的ISO文件通过硬盘安装Debian,我的回答是,这很麻烦,尤其是Woody的光盘文件,我成功的通过硬盘安装了,但是仅仅是安装而已,没多久就删除了,重新通过网络安装了一次。原因非常简单,因为我习惯了网络的安装,也是因为硬盘安装太麻烦,不停的切换控制台,不停的mount and umount,相信新手没有这个能力和耐心。但是我还是会在本文中告诉大家这种方法,虽然不赞成。
下面是我的XF86Config-4文件,去处了注释和一些不可能通用的部分:
[code:1]
Section "Files"
FontPath "/usr/lib/X11/fonts/xp" # 这一行是我汉化的时候加上去的,
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
还有一个文件需要搞定,XftConfig文件用来设置字体:
[code:1]
dir "/usr/lib/X11/fonts/xp" # 汉化时候加上的
dir "/usr/X11R6/lib/X11/fonts/Type1"
dir "/usr/X11R6/lib/X11/fonts/TrueType"
includeif "~/.xftconfig"
match any family == "charter" edit family += "bitstream charter";
match any family == "bitstream charter" edit family =+ "charter";
[/code:1]
cat /etc/apt/source.list
[code:1]
deb ftp://ftp.linuxforum.net/pub1/debian stable main contrib
deb ftp://ftp.linuxforum.net/pub1/debian unstable main contrib
deb-src ftp://ftp.linuxforum.net/pub1/debian stable main contrib
deb-src ftp://ftp.linuxforum.net/pub1/debian unstable main contrib
[/code:1]
首先是Mozilla,woody里面的mozilla有一些不稳定和不合适的设计,我们直接到mozilla.org下载新的版本吧,很不错。安装时候会提示有一些lib没有。那么就apt-get install那些文件库,我现在记不清楚是什么文件了,反正apt-get就搞定。
接下来是apt-get install d4x,如果你不嫌弃版本太低的话,我想download for X 1.3对于你来说是够用的。但是unstable里面的d4x是gtk2库的,不好看哦。
# You may uncomment the following lines if you want `ls' to be colorized:
export LS_OPTIONS='--color=auto'
eval `dircolors`
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'
#
# Some more alias to avoid making mistakes:
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
[/code:1]