2007年2月25日星期日

apt的安装源

让Debian用grub作为bootloader来启动时,有背景图出现,需要进行如下的操作,先apt-get install grub-splashimages 然后修改/boot/grub/menu.lst中的内容,添加如下内容

splashimage=(hd0,0)/grub/splashimages/debsplash.xpm.gz

注意hd0表示第一块硬盘,后面的0表示第几个分区,grub是从0开始计数的,如果用fdisk -l查看到/boot在hda5的话,那么就应该写成(hd0,4),同时将color一行的内容注释掉。

可用的mirrors site安装源:

#deb http://debian.cn99.com/debian sid main contrib
deb http://debian.cn99.com/debian etch main non-free contrib
deb-src http://debian.cn99.com/debian etch main non-free contrib
#deb http://debian.cnsite.org/debian sid main contrib non-free
#deb http://debian.cnsite.org/debian etch main contrib non-free
#deb ftp://218.22.45.5/debian/ etch main non-free contrib
#deb ftp://218.22.45.5/debian/ sid main non-free contrib
#deb http://mirror.dlut.edu.cn/debian/ etch main non-free contrib
#deb http://debian.cn99.com/debian etch main non-free contrib
#deb http://mirrors.geekbone.org/debian sid main non-free contrib
#deb http://mirrors.geekbone.org/debian etch main non-free contrib
#deb ftp://debian.ustc.edu.cn/debian-uo sid marillat rareware misc ustc
#deb-src ftp://debian.ustc.edu.cn/debian-uo sid marillat rareware misc ustc
deb ftp://ftp.linuxforum.net/debian/ etch main non-free contrib
deb ftp://ftp.linuxforum.net/debian/ sid main non-free contrib
测试一下javascript的syntax highlight功能
package us.prokhorenko.jx;
import us.prokhorenko.jx.Person;
import org.exolab.castor.xml.*;
import java.io.*;
import java.util.*;

没有评论: