|
|
xp下 c(or d .....) 盘必备 :debian第一张光盘+initrd.gz+vmlinuz+grub for dos(only need file grub.exe)。(要有linux格式分区 :例如swap,ext3)
进入dos,运行grub.exe. (could anyone tell me how to run file grub.exe if I don't have floppy and cdrom device?)
kernel空(hd0,0)/vmlinuz空root=/dev/ram空ramdisk_size=256000,devfs=mount,dall
initrd空(hd0,0)/initrd.gz
boot
(hd0->primary harddisk; 0->c disk in os xp)
接下来的选项中 大部分回车即可!到选择apt源时,stop! 此时debian基系统finished!
root登陆
#vi /etc/apt/apt-get.conf(局域网用户所需)
i(input mode)
Acquire{
http
{
Proxy "http://ip:3128";
};
};
ESC(exit)
:wq(write and quit)
#vi /etc/apt/source.list
o(newline input mode)
deb http://debian.ustc.edu.cn/debian sarge main non-free contrib
deb http://debain.okey.net/debian-fonts/空./
ESC
:wq
ok! now we start to install software we need.
apt-get update
apt-get install x-window-system-core xfce4(desktop like kde but smaller) fcitx(tool input) xmms(music player) mozilla-firefox(web browers)
next step:download fonts
apt-get install ttf-microsoft-simsun ttf-microsoft-simhei ttf-microsoft-simyou ttf-microsoft-simli ttf-arphic-* msttcorefonts(microsoft truetype core fonts)
apt-get install x-ttcidfont-conf
汉化:
vi /etc/locale.gen
add line zh_CN GB2312
run locale-gen
you should overwrite the file /etc/fonts/local.conf with http://debian.okey.net/debian-fonts/local.conf
add the next two lines :FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID" to file /etc/X11/XFree86-conf
and use "xtt" instead of "freetype" in the same file;
next step: build new file /etx/X11/Xsession.d/25xchinput-start
export G_FILENAME_ENCODING=@GBK
export LANG=zh_CN.GB2312
export XMODIFIERS=@im=fcitx
fcitx
ESC(exit input mode)
:wq
ok! now we can leave the txt mode .
logout
普通用户登陆
startx
(note: xfce4 will call xterm as the base term, but the xterm should be configed before it could display chinese characters completely!);
emil zhxt_zsu@163.com |
|