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

ArchLinux µÄ°²×°ÓëÅäÖÃ

·¢²¼Ê±¼ä:2006-08-02 09:39:34À´Ô´:ºìÁª×÷Õß:koov
¡¡¡¡ÔÚLinuxµÄÊÀ½çÖÐÓÐÐí¶à¸÷¾ßÌØÉ«µÄ·¢Ðа汾£¬ÆäÖÐGentooÊÇÒ»ÇдÓÍ·½øÐбàÒ룬Ҳ¾ÍÊÇ´ÓϵͳµÄ°²×°µ½ÏµÍ³Èí¼þµÄ°²×°È«²¿²ÉÓôÓÔ´Âë°ü±àÒë°²×°µÄ·½Ê½£¬ÒòΪÕâÑùµÄ·½Ê½ÊÇÕë¶Ô¸÷×ԵĻúÆ÷À´½øÐбàÒë°²×°µÄ£¬ËùÒÔ¿ÉÒÔ»ñµÃÈíÓŵÄËٶȣ¬µ«ÊÇÕâÖÖ·½Ê½µÄȱµãÒ²ÊÇÏÔ¶øÒ×¼ûµÄ£¬Ò»ÇдÓÔ´Âë°ü½øÐбàÒë°²×°£¬±àÒëʱ¼ä¾ÍÊÇÒ»¸ö´óÎÊÌ⣬ÕæµÄÊÇÄÑÒÔÏëÏñ±àÒëÒ»¸öÏñKDE»òÊÇGnomeÕâÑùµÄ×ÀÃæ»·¾³»áÐèÒª¶àÉÙµÄʱ¼ä¡£ÁíÒ»¸öÓÅÐãµÄ·¢Ðа汾¾ÍÊÇDebian£¬ÓÅÐãµÄ°ü¹ÜÀí»úÖÆÒÔ¼°»ùÓڴ˵ݲװÉý¼¶µÄ·½±ã£¬Ê¹Æä»ñµÃµÃÁËÖÚ¶à¸ß¼¶LinuxÓû§µÄϲ°®¡£µ«ÊÇDebianµÄ±£ÊØÒ²ÊdzöÁËÃûµÄ£¬ÔÚRH»òÊÇSuSe¼±ÓÚÍƳöа汾µÄʱºò£¬DebianÈ´ÔÚ½øÐÐ׿«ÎªÑϸñµÄ²âÊÔ£¬ËùÒÔÒ»°ãÀ´Ëµ£¬ÔÚDebianºÜÉÙ¿ÉÒÔÓõÃÉÏ×îеÄÈí¼þ°æ±¾£¬µ±È»ÕâÑùÑϸñµÄ²âÊÔʹÆä»ñµÃÁ˳¬¸ßµÄÎȶ¨ÐÔ¡£

¡¡¡¡ArchLinuxÊÇרÃÅÕë¶ÔIntelµÄCPU¶øÓÅ»¯µÄÒ»¸öLinux·¢Ðа汾¡£Ëû¼æÓÃGnome¸ßЧµÄËÙ¶Èͬʱ²ÉÓÃÀàËÆÓÚDebianµÄÓÅÐãµÄ°ü¹ÜÀí»úÖÆ´ÓʹÆäÈí¼þµÄ°²×°ÓëÉý¼¶±äµÃ¼«Îª·½±ã¡£ÆäÈí¼þ°æ±¾µÄÐÂÒÔ¼°ÏµÍ³µÄÎȶ¨¶¼½ÐÈ˾ªÆæ¡£¸öÈËÈÏΪ¾ÍÊÇÕâÑùµÄÁ½¸öÌصãÒ²ÊÇÖµµÃÎÒÃÇÒ»ÊԵġ£

ÏÂÃæÒÔArchLinux 0.72ΪÀý˵Ã÷Ò»ÏÂArchLinuxµÄ°²×°ÓëÅäÖá£

Ò» ×¼±¸°²×°½éÖÊ

¡¡¡¡Ð°汾µÄArchLinuxËƺõÊDz»ÔÙÖ§³ÖÓ²ÅÌ°²×°µÄ·½·¨£¬ËùÒÔÔÚÕâÀïÎÒÃDzÉÓõĹâÅÌÒýµ¼°²×°µÄ·½·¨¡£ÏÂÔØArchLinuxµÄ°²×°¹âÅ̽øÐп̼¡£

¶þ ×¼±¸°²×°·ÖÇø

¡¡¡¡ÎÒÏëÔÚÏÖÔڵĴ󲿷ÖLinuxÓû§Ò»°ãÀ´Ëµ»¹ÊDz»»áÅ×ÆúWindowsµÄ£¬ËùÒÔÕâʱÎÒÃDzÉÓÃÔÚWindowsϽøÐа²×°µÄ»®·Ö»¹ÊÇÒ»¸ö²»´íµÄÑ¡Ôñ¡£Ê¹Óà PQ»®·Ö³öÁ½¸ö·ÖÇø£¬ÆäÖÐÒ»¸öÓÃ×÷ArchLinuxµÄ¸ù·ÖÇø£¬´óС¿ÉÒÔ°´ÕÕ×Ô¼ºµÄÒâÔ¸»®·ÖΪ¼¸¸öG£¬ÁíÒ»¸ö×÷ΪArchLinuxµÄ½»»»·ÖÇø£¬´óСΪÎÒÃÇʵ¼ÊµÄÎïÀíÄÚ´æµÄÒ»µ½Á½±¶¡£

¡¡¡¡ÔÚÕâÀïÎÒÃÇÒªÏÈ˵һÏÂLinuxÖеķÖÇø±í·½·¨£¬Ò»¸öÓ²ÅÌÎÒÃÇ×î¶à¿ÉÒÔ»®·ÖΪËĸöÖ÷·ÖÇø£¬ÔÚLinuxÖзֱð±»ÈÏΪhda1,hda2,hda3, hda4.ÔÚÕâÀïÎÒÃǼÙÉèÎÒÃÇÖ»ÓÐÒ»¸öÓ²ÅÌ£¬Èç¹û»¹Óеڶþ¿éÓ²ÅÌ£¬ÄÇôÏàÓ¦µÄ¾ÍÓ¦ÊÇhdbÁË¡£ÎÒÃÇ»¹¿ÉÒÔÔÚÒ»¸öÖ÷Çø·ÖÏ»®·Ö¶à¸öÂß¼­·ÖÇø£¬ÕâÑùÎÒÃǵÄÂß¼­·Ö±àºÅ¾ÍÊÇ´Óhda5¿ªÊ¼µÄ¡£Ò»°ãÀ´Ëµ£¬ÎÒÃÇÔÚ°²×°WindowsϵͳʱÊǽ«CÅÌ»®·ÖÖ÷·ÖÇø£¬ÕâÑù¶ÔÓ¦µÄ¾ÍÊÇ/dev/hda1.¶øÆäËûµÄÔò»®·ÖÂß¼­·ÖÇø£¬ÕâÑùÎÒÃÇÔÚWindowsϵÄD£¬EÅ̾ͻá¶ÔӦΪ/dev/hda5,/dev/hda6.°´ÕÕÕâÑùµÄ·½·¨ÎÒÃǾͿÉÒÔÖªµÀÎÒÃÇËù»®·Ö³öµÄ·ÖÇøËù¶ÔÓ¦µÄ±àºÅÁË¡£

Èý °²×°»ù±¾ÏµÍ³

¡¡¡¡²ÉÓùâÅÌÒýµ¼Æô¶¯£¬°´ÕÕ°²×°Ìáʾ½øÐвÙ×÷¡£ÔÚ×¼±¸Ó²ÅÌÑ¡ÏîÖУ¬ÎÒÃÇ¿ÉÒÔ°´ÕÕÌáʾѡÔñÎÒÃÇÒѾ­»®·ÖºÃµÄ·ÖÇø×÷ΪÎÒÃǵĽ»»»ÎªÓë¸ù·ÖÇø¡£ÔÚÑ¡ÔñÈí¼þ°üÑ¡ÏîÖУ¬ÎÒÃÇ¿ÉÑ¡ÔñBase£¬È»ºóÑ¡Ôñ°²×°Èí¼þ°ü¡£ÕâÑùÔڵȴýÒ»»áÒÔºó¾ÍÒѾ­°²×°ºÃÁË»ù±¾ÏµÍ³ÁË¡£Í¬Ê±ÔÚÕâÀïÎÒÃÇ¿ÉÒÔÑ¡Ôñ°²×°Äںˡ£¶ÔÓÚϵͳµÄÅäÖÃÎÒÃÇÔÚÕâÀï¿ÉÒÔÏȲ»½øÐÐÅäÖá£

ËÄ ÅäÖÃÍøÂç

¡¡¡¡¶ÔÓÚÏñÎÒÃÇÕâÑùµÄУ԰ÍøÄÚ²¿Óû§£¬ÍøÂçµÄÅäÖÃÆäʵҲûÓÐÌ«¶àµÄ²Ù×÷£¬Ö÷ÒªµÄÊǽ«ÎÒÃǵÄIPÖ¸¶¨ÎªDHCP¼´¿É¡£ÎÒÃÇ¿ÉÒÔÓÃvi´ò¿ª/etc/rc.confÎļþ£¬Èç¹ûÎÒÃÇÊǶ¯Ì¬·ÖÅäÖõÄIP£¬ÎÒÃÇÒª½«eth0Ö¸¶¨ÎªDHCP£¬ÕâÀïÎÒÃÇÒª½øÐÐÈçϵÄÐ޸ģº

ÒýÓÃ:
eth0="dhcp"


¡¡¡¡¶ÔÓڹ̶¨IPµÄÓû§£¬ÎÒÃÇÔÚÕâÀï¿ÉÒÔ½«eth0Ö¸¶¨ÎªÎÒÃǵĹ̶¨IP¼´¿É¡£
±£´æÍ˳ö¡£

Îå Éý¼¶»ù±¾ÏµÍ³

¡¡¡¡ÓÃvi´ò¿ª/etc/pacman.confÎļþ£¬ÕâÊÇpacmanµÄÅäÖÃÎļþ£¬½«ÆäÖÐ#includeµÄ²¿·Ö×¢Ê͵ô£¬ÒòΪÕâÀïÖ¸¶¨µÄ·þÎñÆ÷¶ÔÓÚÎÒÃÇÕâÑùµÄУ԰ÍøÓû§À´ËµÊDz»¿É·ÃÎʵģ¬µ±È»¶ÔÓÚÆäËûµÄÓû§À´ËµÒ²Ðí»¹Óв»Í¬µÄÑ¡Ôñ¡£²»¹ýÔھ͸öÈË¿´À´£¬ÎÒÃÇÔÚÏÂÃæҪ˵µÄ¼¸¸ö°²×°Ô´¾ÍËÙ¶ÈÀ´Ëµ»¹ÊÇÏ൱²»´íµÄ¡£ÏÂÃæÁгöһЩԴµØÖ·£º

http://mirror.vmmatrix.net/ArchLinux/current/os/i686
http://cncmirror.vmmatrix.net/ArchLinux/current/os/i686
http://mirror.bjtu.edu.cn/ArchLinux/current/os/i686

¶ÔÓÚextraµÄÉèÖû¹ÓУº

http://mirror.vmmatrix.net/ArchLinux/extra/os/i686
http://cncmirror.vmmatrix.net/ArchLinux/extra/os/i686
http://mirror.bjtu.edu.cn/ArchLinux/extra/os/i686

ÎÒÃÇÖ»ÒªÔÚÎÒÃǵÄÅäÖÃÎļþÖмÓÈëÕâЩµØÖ·¾Í¿ÉÒÔÁË¡£
È»ºóÔËÐÐÃüÁîpacman -Syuv½øÐÐÉý¼¶¡£

Áù °²×°xorg

¡¡¡¡ÏÂÃæÎÒÃÇÒªÀ´°²×°xorg¡£ÆäÃüÁîÈçÏ£º

ÒýÓÃ:
pacman -Sv hwd xorg


¡¡¡¡ÆäÖеÄhwdÊÇÒ»¸öºÜºÃµÄÓ²¼þ¼ì²âÈí¼þ£¬ÎÒÃÇ¿ÉÒÔÓÃËûÀ´Éú³ÉxorgµÄÅäÖÃÎļþ£¬ÕâÒªxorg±¾ÉíÌṩµÄ³ÌÐòÉú³ÉµÄÅäÖÃÎļþÒªºÃµÃ¶à£¬Ò»°ãÀ´ËµÎÒÃÇÓÃhwdÀ´Éú³ÉµÄÅäÖÃÎļþÊDz»ÐèÒª¸Ä¶¯¾Í¿ÉÒÔʹÓõġ£
°²×°³É¹¦ÒÔºó£¬ÎÒÃÇ¿ÉÒÔÔËÐÐÏÂÃæµÄÃüÁîÀ´Éú³ÉxorgµÄÅäÖÃÎļþ£º

ÒýÓÃ:
hwd -x


¡¡¡¡ÕâÑù¾Í»áÔÚ/etc/X11ÏÂÉú³ÉÒ»¸öÅäÖÃÎļþµÄÀý×Ó£¬ÎÒÃÇ¿ÉÒÔ½«Æä¸üΪxorg.conf£¬ÕâÑù¾ÍÍê³ÉÁËÎÒÃǵÄxorgµÄÅäÖù¤×÷¡£

Æß °²×°xfce4

¡¡¡¡xfce4ÊÇÒ»¸öÇáÁ¿¼¶µÄ×ÀÃæ»·¾³£¬¿ÉÒÔÁé»îµÄµ÷ÓÃKDEÒÔ¼°GnomeµÄÈí¼þ¡£ÎÒÃÇ¿ÉÒÔÓÃÏÂÃæµÄÃüÁîÀ´½øÐа²×°£º

ÒýÓÃ:
pacman -Sv xfce4 xfce4-goodies


¡¡¡¡ÆäÖеÄxfce4£­goodiesÊÇxfce4ÌṩµÄһЩÏà¹ØµÄÈí¼þ£¬ÆäÖаüÀ¨Ò»¸öterminal¡£Èç¹ûÒª²ÉÓÃxfce4ĬÈϵÄÖնˣ¬»¹ÕæµÄÊÇÓÐһЩ³ó¡£

°Ë Æô¶¯X

¡¡¡¡ÕâÀïÎÒÃÇ¿ÉÒÔÔÚÎÒÃǵÄÓû§Ö÷Ŀ¼ÏÂÉú³ÉÒ»¸ö.xinitrcµÄÅäÖÃÎļþ£¬ÕâÊÇstartxÆô¶¯Ê±Ê¹ÓõÄÅäÖÃÎļþ£¬ÆäÄÚÈÝÈçÏ£º

ÒýÓÃ:
PATH=$PATH:/opt/xfce4/bin
export PATH
exec xfce4-session


¡¡¡¡ArchLinuxÖн«xfce4°²×°ÔÚÁË/opt/xfce4Ŀ¼Ï£¬ËùÒÔÔÚÕâÀïÎÒÃǽ«Õâ¸ö·¾¶¼ÓÈëµ½ÎÒÃǵÄPATH±äÁ¿ÖС£
ÕâÑùÎÒÃǾͿÉÒÔÓÃstartxÃüÁîÀ´Æô¶¯xfce4ÁË¡£

¾Å ÖÐÎÄÅäÖÃ

¡¡¡¡ÕâʱÎÒÃǵÄÓïÑÔ»·¾³»¹ÊÇEnÄØ¡£Ê×ÏÈ£¬ÎÒÃÇÒª´ò¿ª/etc/locale.genÎļþ£¬½«ÆäÖÐÎÒÃÇÒªÓõ½µÄlocaleÏîÈ¥µô×¢ÊÍ£¬È»ºóÔËÐÐÃüÁîlocale-genÀ´Éú³Élocale¡£ÕâʱÎÒÃÇ¿ÉÒÔÓÃÃüÁîlocale -aÀ´Áгöµ±Ç°ÏµÍ³ÏÂÎÒÃÇ¿ÉÓõÄlocale¡£

¡¡¡¡ÔÚÕâÀïÎÒÃDzÉÓõÄÊÇzh_CN.utf8,ÐÞ¸Ä/etc/rc.confÎļþ£¬½«ÆäÖеÄLOCALEÏîÖ¸¶¨Îªzh_CN.utf8¡£È»ºóÐÞ¸ÄÎÒÃǵÄ.xinitrcÎļþ£¬¼ÓÈëÏÂÃæµÄÁ½¾ä£º

ÒýÓÃ:
export LANG=zh_CN.utf8
export LC_CTYPE=zh_CN.utf8


ÕâÑùÎÒÃǾÍÍê³ÉÁËϵͳlocaleµÄÉèÖá£
µ«ÊÇÕâʱÎÒÃÇ»¹Òª°²×°ÖÐÎÄ×ÖÌ壬ÎÒÃÇ¿ÉÒÔÓÃÏÂÃæµÄÃüÁîÀ´½øÐа²×°£º

ÒýÓÃ:
pacman -Sv ttf-arphic-uming ttf-arphic-ukai


¾­¹ýÕâÑùµÄÅäÖÃÒÔºó£¬ÎÒÃǾͿÉÒÔÓÃstartxÀ´Æô¶¯ÎÒÃǵÄX»·¾³£¬ÕâʱÎÒÃǵÄϵͳ¾Í¸Ä³ÉÁËÖÐÎÄÁË¡£

Ê® °²×°ÊäÈë·¨

¡¡¡¡ÔÚÕâÀïÎÒÃǵÄÊäÈëʹÓõÄÊÇScim£¬ÎÒÃÇÓÃÏÂÃæÃüÁîÀ´°²×°£º

ÒýÓÃ:
pacman -Sv scim scim-pinyin scim-tables


¡¡¡¡È»ºóÔÚÎÒÃǵÄ.xinitrcÅäÖÃÎļþÖмÓÈëÏÂÃæµÄÅäÖÃÓï¾ä£º

ÒýÓÃ:
XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS="-d"
GTK_IM_MODULE=XIM
export XMODIFIERS=@im=SCIM

export XIM XIM_PROGRAM XIM_ARGS GTK_IM_MODULE

$XIM_PROGRAM $XIM_ARGS


¡¡¡¡ÖØÐÂÆô¶¯X£¬ÕâÑùÎÒÃǾͿÉÒÔʹÓÃÖÐÎĽøÐÐÊäÈëÁË¡£

¡¡¡¡ÕâÑùÎÒÃǾͿÉÒÔʹÓÃArchLinuxÁË£¬Èç¹ûÎÒÃÇÐèÒªÈí¼þ£¬ÎÒÃǾͿÉÒÔÓÃÃüÁîpacma -SvÀ´½øÐа²×°£¬Èç¹ûÎÒÃÇÒªËÑË÷Èí¼þ£¬ÎÒÃÇ¿ÉÒÔÓÃÃüÁîpacman -Ss½øÐÐËÑË÷¡£

¡¡¡¡Èç¹ûÎÒÃÇϲ»¶ÆäËûµÄ×ÀÃæ»·¾³£¬ÎÒÃÇÒ²¿ÉÒÔÓÃͬÑùµÄ·½·¨À´½øÐа²×°¡£ÁíÍâ¶ÔÓÚ×ÖÌ壬²»µÃ²»ËµµÄÊÇÎÄȪæäµÄ×ÖÌ廹ÊÇÏ൱²»´íµÄ¡£ÆäÍøַΪhttp://www.wenq.org¡£ÆäÖÐ×ÖÌåµÄÏÂÔØÓë°²×°·½·¨¡£

That's all~~Have a fun~~
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ