过年这几天闲着无聊,想用用Debian,我家那破网络连哪的源都慢,干脆去debian.org把Debian的四个dvd镜像都下载了下来。正好刚买了块250G的移动硬盘,以后用本地源安装软件,真TMD爽呀。
首先,先下载那几个镜像,下了n天。郁闷,其实只下载第一个DVD镜像就够了。
二、下载一个Debian网络安装镜像,就是180多M的那个,再下载硬盘安装所需要的vmlinuz 和initrd.gz。然后安装上Debian的基本系统。(这个大家应该都会吧)
三、我把DVD镜像放在移动硬盘一个ntfs分区的os目录下。
挂载ntfs分区
mount -o nls=utf8 /dev/sdb6 /mnt/BAK
挂载iso镜像
mount -t iso9660 -o loop /mnt/BAK/os/debian-40r5-i386-DVD-1.iso /mnt/debian-disc1/
设置/etc/apt/source.list
加上下面一行
deb file:///mnt/debian-disc1/ etch contrib main
更新源
apt-get update
四、安装中文化KDE
apt-get install x-window-system-core
apt-get install kde-core
apt-get install kde-i18n-zh*
安装字体
apt-get intall ttf-arphic-bkai00mp
apt-get intall ttf-arphic-bsmi00lp
apt-get intall ttf-arphic-gbsn00lp
apt-get intall ttf-arphic-gkai00mp
进入KDE
startx