ºìÁªLinuxÃÅ»§
Linux°ïÖú

Debian 3.1 ×ÀÃæ°²×°·½·¨

·¢²¼Ê±¼ä:2006-10-16 00:51:37À´Ô´:ºìÁª×÷Õß:chxuemei
Ò»°ãÇé¿öÏ£¬ Debian ÊÇÏÈ°²×°»ù±¾ÏµÍ³£¬ÔÙ°²×°ÆäËûÈí¼þµÄ

1.
°²×°»ù±¾ÏµÍ³£º
²»ÒªÓà 3.0 Woody ÁË£¬Óà Sarge µÄµÚÒ»ÕÅÅÌ£¬»ò¸üÐ嵀 D-i ¹âÅÌ
100¶àM µÄÄǸö iso ¾Í¿ÉÒÔ
¿ÉÒÔÓ²ÅÌ°²×°£¬µ«ÊÇ¿ÌÒ»ÕŹâÅÌ»á¸ü¼òµ¥ÎÈÍ×
°Ñ¹âÅ̷Žø¹âÇý£¬ÓɹâÅÌÆô¶¯
³öÏÖ boot£º ʱºò
¼üÈë linux26 »Ø³µ
ÈÃËýʹÓà 2.6 ÄÚºË
°²×°ÓïÑÔÑ¡¼òÌåÖÐÎÄ
ʣϵÄһ·¶¼ÓÐÖÐÎÄÌáʾ

»ù±¾ÏµÍ³°²×°¹ý³Ì½áÊøºó£¬Ëý»áÒªÇóÄóö¹âÅÌ£¬×¼±¾ÖØÐÂÆô¶¯£¬°²×°ÆäËûÈí¼þ


2.
ÅäÖà base-config £º
×°ºÃ»ù±¾ÏµÍ³ÖØÆôºó£¬Ëý»á×Ô¼ºÔËÐÐ base-config
µ½ÁËÑ¡Ôñ apt Դʱ£¬¿ÉÒÔÑ¡ http »ò ftp ·½Ê½
Ô´ ¿ÉÒÔÓùúÄÚµÄ cn99 »ò jp µÄ ftp2.jp.debian.org
½áÊø base-config ºó£¬Èç¹ûÏëÔÙÔÚ ¿ØÖÆ̨ϽøÐÐ base-config £¬ ÒªÏÈÔËÐÐ zhcon ½øÈëÖÐÎÄ¿ØÖÆ̨»·¾³


×¢Ò⣬ÒÔºóÔÚ¿ØÖÆ̨ÏÂʹÓà apt ÕâЩµÄʱºò£¬ÒªÏÈÔËÐÐ zhcon , ²Å»áÓÐÕý³£µÄÖÐÎĽçÃæ

·ñÔò¿ÉÄÜ ÂÒÂë £¬ ³ý·ÇÉèÖÃÁËÔÚ¿ØÖÆ̨ϲ»Ê¹ÓÃÖÐÎÄ locale £¬ »òÓÃÁË unicon ²¹¶¡µÄÄÚºË
ûÓÐ zhcon ¾ÍÏÈ
# env LANG=C apt-get -y install zhcon


3.
Éý¼¶µ½ Sid £º
Óà Sarge °²×°µÄϵͳÊÇ testing £¬ ¿ÉÒÔÉý¼¶µ½ sid £¬ sid ÓÐ×îеÄÈí¼þ¿ÉÒÔÓÃ
ÐÞ¸Ä /etc/apt/sources.list
°ÑÀïÃæµÄ testing ×ÖÑù ¶¼»»³É sid
È»ºóÔËÐÐÃüÁî
# apt-get update
# apt-get dist-upgrade

£¨ ÆÕͨÉý¼¶Óà apt-get upgrade , ·¢ÐаæÉý¼¶Óà apt-get dist-upgrade £©

Èç¹ûÒª mplayer £¬ java ÕâЩ£¬¿ÉÒÔÏÈÔÚ /etc/apt/sources.list ÀïÌí¼ÓÒ»ÐÐ
deb http://debian.okey.net/debian-uo/ sid java marillat rareware misc


4.
°²×°×ÀÃ棺
# apt-get -y install x-window-system-core menu fcitx kde kde-i18n-zhcn konversation kaffeine kaffeine-mozilla kdm icewm rcconf mlterm amule-utils showimg

( konversation ÊÇÒ»¸öºÜºÃÓÃµÄ IRC ¿Í»§¶Ë£¬ kaffeine ÊÇÒ»¸ö¼¸ºõÈ«ÄܵIJ¥·ÅÆ÷ )
Èç¹ûÒª mplayer »ò win32 ½âÂëÆ÷£¬ÏÈÈ·±£ /etc/apt/sources.list ÀïÓÐ
deb http://debian.okey.net/debian-uo/ sid java marillat rareware misc
ÕâÒ»ÐÐ
# apt-get -y install mplayer-586 w32codecs
×°ÁË w32codecs ºó £¬ xine £¬ mplayer £¬ kaffeine ÕâЩ¾Í¿ÉÒÔ²¥·Å¼¸ºõÈ«²¿¶àýÌå¸ñʽÁË


5.
ÖÐÎÄÊäÈë·¨£º
°²×° fcitx
# apt-get -y install fcitx
È»ºóн¨Îļþ /etc/X11/Xsession.d/25xchinput-start
ÔÚÀïÃæдÈë
export G_FILENAME_ENCODING=@GBK
export LANG=zh_CN.GB2312
export XMODIFIERS=@im=fcitx
fcitx

²»ÓÃÐÞ¸ÄÆäËûÈκÎÎļþµÄ
½øÈë X »á×Ô¶¯Æô¶¯ fcitx


6.
Éý¼¶Äںˣº
²¢ÇÒ¼Ó alsa
ÏÖÔÚ Sid Àï¿ÉÒÔ 2.6.10 ÄÚºËÁË
# apt-get -y install kernel-image-2.6.10-1-i386

Sarge Àï¾ÍÊÇ # apt-get -y install kernel-image-2.6.8-1-i386

( ÔÚÎÒ·¢ÌùµÄʱºò£¬
Sid ÀïÊÇ kernel-image-2.6.10-1-i386
Sarge ÀïÊÇ kernel-image-2.6.8-1-i386
µ«ÊÇÄú°²×°µÄʱºò¿ÉÄܾÍÊÇеÄÄں˰汾ÁË
ÇëÄúÏÈ apt-cache search --names-only kernel-image
²éÕÒһϿÉÓõİ汾£¬Ñ¡Ò»¸öÊʺÏÄúµÄ CPU µÄ )


7.
ʹÓà alsa
# apt-get -y install alsa aumix xmix


8.
°²×°°ì¹«Ì×¼þ£º
# apt-get -y install koffice koffice-i18n-zhcn xpdf xpdf-chinese-simplified gimp


9.
°²×° FireFly µÄÐÂËÎÌ壺
# wget http://debian.okey.net/other/debian....0.0-1_i386.deb
# dpkg -i ttf-fireflysung_1.0.0-1_i386.deb

È»ºóÐÞ¸Ä /etc/fonts/local.conf
¾Í¿ÉÒÔÁË

ÏÖÔÚÒѾ­ÊÇÒ»¸ö¿ÉÓõÄÖÐÎÄ×ÀÃæϵͳÁË
ÔÙÖØÆôÒ»´Î£¬¾Í¿ÉÒÔʹÓÃÐÂÄÚºË ºÍ alsa ÁË


»¹¿ÉÒÔÉÔ΢¼Ó¿ìϵͳËÙ¶È

1. È¥µô¶àÓà·þÎñ
# apt-get -y install rcconf
# rcconf
ÎÒÖ»±£Áô alsa aumix dbus-1 makedev

2.
ʹÓÃÓ²ÅÌ hdparm
# apt-get -y install hdparm
# /sbin/hdparm -c3 -u1 -d1 /dev/hda
# /sbin/hdparm -k1 /dev/hda

ÒýÓÃ:
ÓÉ xjzzx ²¹³ä

hdparm ¼ÓÉϸö²ÎÊý¡£

#/sbin/hdparm -c3 -u1 -d1 -X6x /dev/hda
X²ÎÊýÊÇ´ò¿ªÓ²ÅÌDMAģʽ£¬ÏÖÔÚµÄÓ²Å̺ÍÖ÷°å¶¼ÄÜÖ§³ÖÕâ¸öÁË¡£
¾ßÌåµÄ²ÎÊýÊÇ ATA66=68 £¬ ATA100=69 £¬ ATA33=66 ¡£

3.
ʹÓÃÔ¤Á´½Ó¼ÓËÙ³ÌÐòÆô¶¯ËÙ¶È
# apt-get -y install prelink
# /usr/sbin/prelink -all --conserve-memory
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ