ŪÁ˺ü¸ÌìdebianÁË£¬°²×°ÊǺÜ˳Àû£¬¿ÉÊǺóÀ´µÄÖÐÎÄ»¯£¬ÃÀ»¯µÈµÈһϵÁеÄÎÊÌâ·ÑÁËÎҺöàʱ¼ä£¬ÔÚ¸÷·½¸ßÊֵİïÖú֮ϣ¬ÎÒѧµ½Á˺ܶණÎ÷£¬Èç¹û˵ÏÖÔÚ°Ñdebianɾ³ý£¬ÎÒÒ»ÑùÄÜ°ÑËü¸´ÖƳöÀ´ ^_^,ΪÁ˸Ðл¸÷·¸ßÊÖÏàÖú£¬Í¬Ê±ÎªÁËÈôÓûÓа²×°¹ýdebianµÄÅóÓÑÉÙ×ßÍä·£¬Ò²ÎªÁ˱í´ïÎÒ¶ÔdebianµÄÒ»¼ûÖÓÇ飬ÎÒ¾ö¶¨°ÑÕâЩ¾Ñ鶼дÏÂÀ´£¬Ï£Íû¸ü¶àµÄÅóÓÑÄÜÓÃÉÏdebianÕâ¸ö³¬¼¶Ë¬µÄϵͳ£¬ÕæµÄ£¬ÎҺܶàµÄÊÂÇé¿ÉÒÔÍÑÀëwindowsÁË¡£µ±È»Ò²²»»áÄÇô¼«¶Ë--Íêȫɾ³ýwidnows£¬ºÇºÇ£¬windows²»Ò²ÓкܶàµÄÓŵãô£¿Ã»±ØÒª°É......ok£¬let¡®s begin£¡
step1 ×¼±¸ÎïÖÊ×ÊÁÏ°²×°»ù±¾ÏµÍ³
ÎÒÃÇÐèÒªÒÔϼ¸¸öÎļþ£¬ÒÔ°²×°debianµÄ»ù±¾ÏµÍ³£¬»ù±¾ÏµÍ³¾ß±¸ÍøÂ繦ÄÜ£¬°²×°ÍæÁË»ù±¾ÏµÍ³£¬ÎÒÃǾͿÉÒÔͨ¹ýÍøÂçÀ´°²×°ÆäËûµÄ×é¼þÁË¡£
»ù±¾ÏµÍ³¾µÏñÎļþ£ºhttp://debian.cn99.com/debian-cd/debian-31r0a-i386-netinst.iso
Æô¶¯°²×°³ÌÐòÐèÒªµÄÎļþ£ºinitrd.gz http://debian.cn99.com/debian/dists/sarge/main/installer-i386/current/images/hd-media/2.6/initrd.gz
vmlinuz http://debian.cn99.com/debian/dists/sarge/main/installer-i386/current/images/hd-media/2.6/vmlinuz
grub for dos (grub4dos) http://www.linuxfans.org/nuke/modules.php?name=Site_Downloads&op=geninfo&did=3608
ÔÚwindowsϵͳÀïÃ棬Äã±ØÐëÓÐÒ»¸öfat32·ÖÇø£¬¼ÙÉèÊÇD·ÖÇø°É(ÒÔϾù°´ÕÕÕâ¸ö¼ÙÉèÀ´£¬Èç¹ûÄãµÄfat²»ÊÇÕâ¸ö·ÖÇøÄÇôÒÀ´ËÀàÍÆ),°Ñ debian-31r0a-i386-netinst.iso initrd.gz vmlinuz·Åµ½dÅ̸ùĿ¼£¬grub4dos½âѹµ½dÅÌ¡£
ºÃÁË£¬ÖØÆô¶¯£¬´ÓdosÆô¶¯µçÄÔ£¬Äã¿ÉÒÔÓÃÈíÅÌÆô¶¯£¬Ò²¿ÉÒÔÓÃUÅÌÆô¶¯£¬»¹¿ÉÒÔxpÓöíÂÞ˹ÆƽâÅÌÆô¶¯£¬¶íÂÞ˹ÆƽâÅÌÀïÃæÒ»°ã¶¼ÓÐdosµÄ
½øÈëdÅ̵Ägrub4dos Ŀ¼£¬ÔËÐÐgrub £¬Õý³£Çé¿öÏÂÄã»á¿´µ½ grub>
ÊäÈëÏÂÃæµÄÃüÁîÒÔÆô¶¯°²×°³ÌÐò£º
kernel (hd0,4)/vmlinuz root=/dev/ram ramdisk_size=128000 devfs=mount,ball »Ø³µ
initrd (hd0,4)/initrd.gz »Ø³µ
boot »Ø³µ
½âÊÍÒ»ÏÂ(hd0,4)ʲôÒâ˼£¬ÕâÊÇgrub±íʾӲÅÌ·ÖÇøµÄ·½·¨ £¬Ç°ÃæµÄÒ»¸ö0 ±íʾµÚÒ»¿éÓ²ÅÌ £¬ºóÃæµÄ4 ±íʾµÚÒ»¸öÂß¼·ÖÇø£¬Èç¹ûÄã°ÑÎļþ·ÅÔÚEÅÌ£¨fat32£©ÄÇô°Ñ4¸Ä³É5£¬ÒÀ´ËÀàÍÆ
Õý³£Çé¿öÏÂdebian°²×°Æô¶¯ÁË£¬Ñ¡Ôñ½çÃæÓïÑÔ£¬¹ú¼ÒÓïÑÔ£¬¼üÅ̵ȵȣ¬ÓïÑÔµ±È»Ñ¡ÔñÖÐÎÄ£¬ÆäËûµÄ°´ÕÕÌáʾĬÈϾÍÐС£ÍøÂçÅäÖã¬Èç¹ûÄãÇå³þ×Ô¼ºipÔõôдÄǾͲ»ÒªDHCPÁË
¡£·ÖÇø£¬ÎÒ·ÖÁËÈý¸öÇø ½»»»·ÖÇø1G /home 1G / 10G ÄãÒªÊÇûÄÇô¶à¿Õ¼äµÄ»°£¬×îµÍÒª±£Ö¤½»»»·ÖÇø512M£¬ / ·ÖÇø×îºÃÔÚ2GÒÔÉÏ¡£ÎļþϵͳѡÔñext3 »òÕßreserfs ¶¼ÐС£
Ò»»á¶ùÌáʾÖØÆô£¬ÖØÆôºó³öÏֲ˵¥ÅäÖûù±¾ÏµÍ³£¬ÏȲ»ÒªÅäÖÃaptÁË£¬´ý»áÎÒÃÇ×Ô¼ºÐ©¡£ÓʼþϵͳʲôµÄÎ޹ؽôÒª Ñ¡ÔñÏÖÔÚ²»½øÐÐÅäÖà ¡£okÅäÖÃÍê±Ï£¬ÓÃÆÕͨÓû§µÇ½¡£
mart ÓÚ 2008-02-29 12:28:55·¢±í:
ллÁË¡£
ÓÐûÓÐʲôÓÎÏ·¿ÉÒÔÔÚÉÏÃæÍ棿×îºÃÒ²½éÉܽéÉÜÈçºÎ°²×°¡£
reing ÓÚ 2005-11-23 15:15:36·¢±í:
step4 ´¦Àí¸ö±ð³ÌÐòµÄÎÊÌâ
µÚÒ»²½ firefox
firefoxÌØÁ¢¶ÀÐУ¬ÓõÄÊÇËü×Ô¼ºµÄ×ÖÌåÉèÖã¬ÎÒÃÇÏÈ°²×°FF°É
$su ÊäÈërootÃÜÂë $ ±ä³ÉÁË #
#apt-get install mozilla-firefox mozilla-firefox-locale-zh-cn °²×°ÍêÁËÆô¶¯Ëü £¬ºÜ²»ºÃ¿´
#cd ~/
#cd .mozilla/firefox/******/chrome --------*****ÊǸöÎļþ¼Ð£¬Ã¿¸öÈ˵ÄÎļþ¼ÐÃû×Ö¶¼²»Ò»Ñù
#cp userChrome-example.css userChrome.css
#nano userChrome.css ÔÚ×îºóÃæÌí¼ÓÒÔÏ´úÂë
* {
font-size: 10pt !important
font-family: SimSun !important;
}
#cp userContent-example.css userContent.css
#nano userContent.css »¹ÊÇÌí¼ÓÉÏÃæµÄ´úÂë
ok £¬ÖØÐÂÆô¶¯firefox £¬Õâ»ØƯÁÁÁË°É
µÚ¶þ²½ °²×° bmp totem ²¥·ÅµçÓ°ÒôÀÖ¡£½â¾öÆäµÄ×ÖÌåÏÔʾÎÊÌâ
ΪÁËÈÃdebian²¥·ÅµçÓ°ÒôÀÖ ÎÒÃÇ°²×°ÏÂÃæµÄ °ü°ü£¬¼¸ºõËùÓеĵçÓ°¶¼ÄÜ·ÅÁË
#apt-get install beep-media-player totem totem-xine w32codecs alsa-base alsa-headers alsa-utils
#nano /etc/gtk-2.0/gtkrc ´´½¨Õâ¸öÎļþ ÔÚÀïÃæ¼ÓÈëÏÂÃæµÄ´úÂë
style "user-font"
{
font_name="Tahoma,SimSun 10"
}
widget_class "*" style "user-font"
gtk-font-name="Tahoma,SimSun 10"
Íê±Ï
µÚÈý²½ Èöà¸ö²¥·ÅÆ÷ÄÜͬʱ·¢Éù
°²×°ÁËalsa-base¾ÍÄÜÈöà¸ö²¥·ÅÆ÷ͬʱ·¢ÉùÁË£¬µ«»¹ÒªÅäÖÃÒ»ÏÂ
#cd ~/ -----------½øÈë¸öÈËÎļþ¼Ð
#nano .asoundrc ----------Ç°Ãæ´ø.µÄÊÇÒþ²ØÎļþ£¬is -a ¿ÉÒÔÁгöÒþ²ØÎļþ£¬´´½¨Õâ¸öÎļþ Ìí¼ÓÏÂÃæµÄ´úÂë¿ÉÒÔʹ¶à¸öÒôƵÁ÷ͬʱ²¥·Å
pcm.swmixer {
type dmix
ipc_key 12345 # any unique number here
slave {
pcm "hw:0,0"
period_time 0
buffer_time 0
period_size 2048 # jm: much smoother than 1024/8192!
buffer_size 32768
rate 48000
}
bindings {
0 0 # from 0 => to 0
1 1 # from 1 => to 1
}
}
pcm.dsp0 {
type plug
slave.pcm "swmixer"
}
# this makes native ALSA apps default to using dmix
pcm.!default {
type plug
slave.pcm "swmixer"
}
ctl.dsp0 {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
µÚËIJ½ ½â¾öxmmsµÈ³ÌÐòµÄÂÒÂëÎÊÌâ
ºÜ¼òµ¥ ±à¼ /etc/gtk/gtkrc.zh_CN °ÑÀïÃæµÄÄÚÈÝÈ«²¿É¾³ý Ìí¼ÓÏÂÃæµÄ´úÂë
style "gtk-default-zh-cn" {
fontset = "-bitstream-bitstream vera sans mono-medium-i-normal--0-0-0-0-m-0-iso8859-1,\
-misc-simsun-medium-r-normal--0-0-0-0-p-0-iso10646-1"
}
class "GtkWidget" style "gtk-default-zh-cn"
×îºóÒ»²½ °²×°ÊäÈë·¨
#apt-get install fcitx
ÅäÖÃÊäÈë·¨ÈÃËü×Ô¼ºÆô¶¯£¬ÕâÀïÓиöС¹¤¾ß£¬ÊDZðÈË ½éÉܸøÎҵģ¬ÓÐÁËËü¾Í²»Âé·³ÎÒÃÇÈ¥ÅäÖÃfcitxÁË
#wget ftp://211.92.88.40/pub/pnt/hiweed/im-launch/im-launch_0.1.1-2_all.deb---------ÏÂÔØËü
#dpkg -i im-launch_0.1.1-2_all.deb-------°²×° £¬»áÌáʾʲôʲôneeded£¬Ã»¹ØϵÔËÐÐÏÂÃæµÄÃüÁî
#apt-get -f install---------°²×°Íê±ÏÁË£¬ÏÂÃæÔËÐÐËü
#im-launch-conf ---------Æô¶¯ÁËÒ»¸ö¶Ô»°¿òÑ¡ÔñµÚÒ»¸ö fcitx
ÖØÐÂÆô¶¯Ò»´ÎµçÄÔ
reing ÓÚ 2005-11-23 15:15:14·¢±í:
µÚ¶þ²½ ±à¼fontconfig
/var/lib/defoma/fontconfig.d/fonts.conf
medium
SimSun
bold
true
false
false
hintnone
false
10
16
SimSun
false
true
false
hintfull
true
Bitstream Vera ****** µÄÐУ¬ÔÚËüÏÂÃæÌí¼Ó SimSun CTRL + X Í˳ö °´y È·¶¨±£´æ
#nano /etc/fonts/local.conf-------------Õâ¸öÎļþ¿ÉÄÜûÓУ¬ÄÇôÕâÒ»²½¾ÍÊÇ´´½¨Õâ¸öÎļþ£¬ÎÒµÄÕâ¸öÎļþÀïÃæµÄ´úÂëÊÇ
È»ºó±à¼fonts.conf
#nano /etc/fonts/fonts.conf
ÕÒËùÓÐ
ÔËÐÐÏÂÃæµÄÃüÁî
#fc-cache -fv
ÔÚ¿ØÖÆÖÐÐÄ Íâ¹Û ×ÖÌå ÀïÃæÈ«²¿Ñ¡Ôñserif×ÖÌå ´óС10 Äãϲ»¶´óÒ»µã¾ÍÑ¡Ôñ12 °É
ºÃÁË ×¢ÏúһϠÔٵǽ£¬ÊDz»ÊǽçÃæ×ÖÌå±äÁË £¿²»ÖªµÀÕâÑùºÏ²»ºÏÄãµÄ¿Ú棬Èç¹û²»Ï²»¶¿ÉÒÔÕÒ±ðµÄ×ÖÌ壬°ÑsimsunÌæ»»³ÉÄãÏ£ÍûµÄ×ÖÌå¾ÍÐС£ÕâÑùkde´óÌåÉϾͺÜƯÁÁÁË
²»¹ý»¹ÓÐһЩϸ½ÚÎÊÌâ
reing ÓÚ 2005-11-23 15:14:53·¢±í:
step 3 ÈÃϵͳ¸üƯÁÁÒ»µã
Æäʵ»ØÍ·À´¿´ £¬ÃÀ»¯»¹ÊǺܼòµ¥µÄÒ»¼þÊÂÇé Ö÷ÒªÊÇ»áд¼¸¸ö´úÂ룬²»»áд¾ÍÈ¥´óʦÄÄÀï³À´Ó㬺Ǻǣ¬ÎÒ¾ÍÊdzµÄ£¬¼ÓÁ˵ãССµÄÐ޸ġ£ÏÂÃæµÄÃÀ»¯ÔÚkdeÉÏ×öµÄ.
µÚÒ»²½£º°²×°×ÖÌå
ÎÒµçÄÔÀïÃæ¾ÍÓÐwindowsϵͳ£¬ËùÒÔÎÒµÄ×ÖÌåÖ±½Ó´ÓwindowsÏÂÃæcp¹ýÀ´
Æô¶¯Ò»¸öÖÕ¶Ë k²Ëµ¥->debian->shell->konsole £¬ÔËÐÐsu ÊäÈërootÃÜÂë
#mkdir /mnt/c
#nano /etc/fstab °´ÕÕÀïÃæµÄ¸ñʽ¼ÓÈëÕâ¸ö´úÂë /dev/hda1 /mnt/c ntfs defaults,user,utf8,umask=0 0 0
#dpkg-reconfigure locales Óÿոñ½¡Ñ¡Ôñzh_CN zh_CN.UTF-8 en_US.iso8859-1 È·¶¨ £¬¹â±êÒƶ¯µ½zh_CN.UTF-8ÉÏ£¬È·¶¨
ĬÈÏlocaleÑ¡Ôñzh_CN.UTF-8£¬²¢ÇÒÔÚfstabÀïÃæ°´ÕÕÉÏÃæµÄÄÇÑùдÉÏutf8,ÄÇô¶ÁÅ̾Ͳ»»á³öÏÖÂÒÂë
#mount -a Õâ¸öÃüÁî»á¹ÒÔØfstabÀïÃ涨ÒåµÄ·ÖÇø
#cd /usr/share/fonts/truetype/arphic --------ÎÒ×¼±¸°Ñ×ÖÌå·Åµ½Õâ¸öÎļþ¼Ð£¬°²×°ÁËttf-arphic-uming ¾ÍÓÐÕâ¸öÎļþ¼ÐÁË£¬ÄãÒ²¿ÉÒÔÔÚ/usr/share/fontsÎļþ¼ÐÏÂÃæÈκÎÒ»²ã½¨Á¢Ò»¸ö×Ô¼ºµÄÎļþ¼Ð
#cp /mnt/c/Windows/Fonts/sim* tahoma* . ----------²»ÒªÂ©ÁË . Ëü±íʾµ±Ç°Îļþ¼Ð
reing ÓÚ 2005-11-23 15:14:36·¢±í:
step2
ÏÖÔÚÒѾµÇ½µ½ÁËÒ»¸ö»ù±¾ÏµÍ³ÁË£¬ÎÒÃÇÒª×÷µÄÊÇ°²×°XͼÐνçÃæ¡£
µÚÒ»²½ Ìí¼ÓÔ´
$su »Ø³µ ÊäÈërootÃÜÂë
#nano /etc/apt/source.list
Ìí¼ÓÏÂÃæµÄ´úÂë
deb http://security.debian.org/ sarge/updates main contrib non-free
deb http://debian.ustc.edu.cn/debian sarge main non-free contrib
deb http://debian.ustc.edu.cn/debian-non-US sarge/non-US main non-free contrib
deb http://debian.ustc.edu.cn/debian-uo sid marillat rareware misc ustc firefly jrfonseca java
CTRL+X Í˳ö£¬ÎÊÊDz»ÊÇÒª±£´æ£¬ÊäÈëy »Ø³µ
#apt-get update ----------¸üÐÂÊý¾Ý¿â
µÚ¶þ²½ °²×°×Ö·ûģʽÏÂÃæµÄÖÐÎÄÖ§³Ö
#apt-get install zhcon
#zhcon ----------ÔËÐÐÖ®£¬ÔËÐÐÕâ¸öÖ®ºóÏÂÃæµÄ°²×°¾Í²»»á³öÏÖÂÒÂëÁË
µÚÈý²½ °²×°gnome»òÕßkde ÒÔ¼°ÖÐÎÄ×ÖÌå
Èç¹ûÏë°²×°gnome ÄÇô
#apt-get install gdm gnome-core x-window-system-core ttf-arphic-uming
ttf-arphic-uming ÊÇÒ»¸ö¿ÉÒÔͬʱ֧³Ö¼ò·±ÌåµÄÃâ·Ñ×ÖÌ壬ÎÒÃÇÔÝÇÒÓÃËüÀ´Ê¹Í¼ÐνçÃæϵÄÖÐÎÄÕý³£µÄÏÔʾ¡£
Èç¹ûÏë°²×°kde ÄÇô
#apt-get install kdm kde-core kde-i18n-zhcn x-window-system-core ttf-arphic-uming
Èç¹ûÄãͬʱ°²×°ÉÏÃæÁ½¸ö×ÀÃæ ÄÇô¿ÉÒÔÈ«²¿Ñ¡Ôñ
kde-core gnome-core ÕâÁ½¸ö°ü·Ö±ðÊÇkdeºÍgnomeµÄ×î»ù±¾×ÀÃ棬kde ºÍgnomeÕâÁ½¸ö°ü ·Ö±ðÊÇkdeºÍgnomeµÄÈí¼þ¼¯ºÏ£¬ÊÂʵÉÏÎÒÃDz»Ï£Íû°²×°²»ÐèÒªµÄÈí¼þ£¬ËùÒÔÑ¡Ôñcore
°²×°¹ý³ÌÖлá³öÏÖxµÄÅäÖöԻ°¿ò£¬Èç¹ûûÓгöÏÖ£¬Ò²²»Òª½ô¿ÉÒÔÔËÐÐÏÂÃæµÄÃüÁî
#dpkg-reconfigure xserver-xfree86
¾ÍÄܵ÷³öÅäÖöԻ°¿òÁË
ÅäÖõÄʱºò×¢ÒâÈý¸ö¸öµØ·½ Ò»¸öÊÇ Ê²Ã´frame bufferʲôµÄ£¬ÎÒ²»¼ÇµÄÃû×ÖÁË£¬Ñ¡Ôñ ·ñ £»ÁíÍâ¾ÍÊÇÇý¶¯£¬Èç¹ûÊÇnvidiaµÄÏÔ¿¨Ñ¡Ôñnv£¬ atiµÄÏÔ¿¨ Ñ¡Ôñati ÔÙ¾ÍÊÇÅäÖÃÏÔʾÆ÷Ñ¡Ôñadvanced £¬È»ºó×Ô¼ºÊäÈëˮƽºÍ´¹Ö±ÆµÂÊ
¶ÔÓÚ17´çµÄÏÔʾÆ÷£¬110M´ø¿íµÄ ¿ÉÒÔÉèÖà ˮƽ30-71 ´¹Ö±50-160 £¬ÆäËû´ø¿íµÄÎÒ²»Ì«Çå³þ£¬¿ÉÒÔ²éÕÒÒ»ÏÂÄã×Ô¼ºµÄÏÔʾÆ÷×ÊÁÏ¡£·Ö±æÂʸù¾ÝÄã×Ô¼ºµÄÏÔʾÆ÷Ñ¡Ôñ
ÆäËûµÄͳͳѡÔñĬÈϵÄ
ok ÖØÐÂÆô¶¯Ò»Ï ¾Í¿ÉÒÔ¿´µ½µÇ½¶Ô»°¿òÁË£¬ÓÃÄã´´½¨µÄÓû§µÇ½
ÊDz»ÊÇ¿´µ½ÖÐÎĽçÃæÁË £¿ÒªdebianÏÔʾÖÐÎIJ»ÄÑ°É£¬²»ÐèÒªÈκÎÅäÖö¼ÄÜÏÔʾÖÐÎÄÁË£¡²»¹ýÕâ¸ö½çÃæ²»¹»Æ¯ÁÁ
(Èç¹û·¢ÉúÁËÒâÍ⣬¿´²»µ½µÇ½½çÃæÄÇôÓÃrootÔËÐÐ dpkg-reconfigure xserver-xfree86,ÖØÐÂÅäÖÃһϣ¬ÅäÖÃÍêÁËexitÍ˳öroot £¬ÓÃÆÕͨÓû§µÇ½£¬È»ºóstartx)
_________________
DEBIAN<---->Does EveryBody Install me Along Network
-----------------------------------------------------------------------------
AMD Barton 2500+ nVidia nforce2 ultra 440
Windows XP | Debian ¡ì KDE ¡ì FVWM ¡ì |FREEBSD