1)登录Sun网站下载JRE/JDK。
2)安装fakeroot和java-package:
apt-get install fakeroot java-package
3)切换到普通用户(即非root用户),制作deb包(需要gcc编译器):
fakeroot make-jpkg jdk-1_5_0_06-linux-i586.bin
4)切换回root用户,安装deb包:
dpkg -i sun-j2sdk1.5_1.5.0+update06_i386.deb
本文为中文翻译,原文在此。
apt-get install fakeroot java-package
fakeroot make-jpkg jdk-1_5_0_06-linux-i586.bin
dpkg -i sun-j2sdk1.5_1.5.0+update06_i386.deb
apt-get updata
apt-get dist-upgrade
apt-get install x-window-system-core xfce4
apt-get xfce4-systemload-plugin
dpkg-reconfigure locale
apt-get install xfonts-intl-chinese
apt-get install rxvt-ml
apt-get install fcitx
export XMODIFIERS="@im=fcitx"
fcitx&
exec startxfce4
killall fcitx
apt-get install alsa-util
alsaconfig
apt-get intall emacs-snapshot
apt-get install mplayer
apt-get install libdvdread3
apt-get install acroread
| device_name | size | file_system | mount_point | comment |
| /dev/hda1 | 10G | NTFS | -- | WindowsXP的C盘 |
| /dev/hda2 | 10G | FAT32 | -- | WindowsXP的D盘 |
| /dev/hda5 | 512M | swap | -- | swap分区,现代的Linux已经越来越少使用它 |
| /dev/hda6 | 512M | reiserfs | /boot | 存放kernel-image,grub等,用于引导了Linux |
| /dev/hda7 | 5G | reiserfs | / | 根目录 |
| /dev/hda8 | 5G | reiserfs | /usr | 传统上用于存放各种应用程序 |
| /dev/hda9 | 83G | reiserfs | /home | 用户目录,用于存放个人数据 |
# cn99 mirror
#deb http://debian.cn99.com/debian/ testing main
#deb-src http://debian.cn99.com/debian/ testing main
# ustc mirror - testing
deb http://debian.ustc.edu.cn/debian testing main non-free contrib
deb-src http://debian.ustc.edu.cn/debian testing main non-free contrib
deb http://debian.ustc.edu.cn/debian-security testing/updates main
# ustc mirror - unstable
#deb http://debian.ustc.edu.cn/debian/ unstable main non-free contrib
#deb-src http://debian.ustc.edu.cn/debian/ unstable main non-free contrib
# unofficial
deb http://debian.ustc.edu.cn/debian-uo/ sid marillat misc ustc
vs

