ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > Debian

Ubuntu install

·¢²¼Ê±¼ä:2008-09-16 00:09:04À´Ô´:ºìÁª×÷Õß:miftoe
ºÜÍ´¿àµÄÒ»¶Îʱ¼ä£¬ÕâÆäÖÐ×Ô¼ºÃþË÷µÄ¹ý³ÌËãÊÇ×îΪÖØÒªµÄ¾­ÑéÁË¡£Ñ§Ï°ºÍʹÓÃlinux¶¼²»ÊÇÒ»Á½ÌìµÄʱ¼äÁË£¬Ö»²»¹ýÒÔÇ°×°µÄÊÇdebian£¬¶øÏÖÔÚÓõÄÊÇubuntu¶øÒÑ¡£ÆäʵÎÒ¾õµÃubuntuÆäʵÊÇÒ»¸öºÜÖǻ۵ÄÃû×Ö£ºÄã±¾ÊÇÍÁÈË¡£

¿ÉÒÔ˵windows°ÔµÀµÄΪÄã¾ö¶¨ÁËÄã´¦ÀíÓëµçÄÔÓйØÊÂÎï90£¥µÄ·ç¸ñ£¬¶ølinuxÖÁ¶à¸øÁËÄã49£¥µÄÍâ¿Ç£¬¶øÇÒ²»½öÊ£ÓàµÄ51£¥ÍêÈ«ÓÉÄã×Ô¼ºÀ´¾ö¶¨£¬±ãÊÇÕâ49£¥ÄãÒ²¿ÉÒÔÇáÒ׵ļÓÒÔ¸ÄÔì¡£Á½¸öʹÓÃwindowsµÄÈ˵ĵçÄÔ²»»áÓдóµÄ²»Í¬£¬¶øÁ½¸öʹÓÃlinuxµÄÈËÏàͬµÄµØ·½¿ÉÒÔÖ»ÊÇËûÃÇÔËÐеÄÄÚºË

step1£º
°²×°»ù±¾ÏµÍ³£º
¼ÆËã»úÆô¶¯Ó¦¸ÃĬÈÏ´Ó¹âÇýÆô¶¯£¬ÕâÑù¾Í¿ÉÒÔÖ±½Ó¶ÁÅÌÁË£¬¸ù¾ÝÌáʾ½øÈë°²×°½çÃ棨default°²×°£©£»
±È½Ï¹Ø¼üµÄÒ»µãÊÇ·ÖÇøµÄÎÊÌ⣬һ°ãÎÒ»á¿Õ³öÒ»¸öÔ­ÏȷֺõÄÓ²Å̳öÀ´×¨ÃŸølinux£¬ÏÖÔÚµÄÊÇ25G£¬ÒªÉèÁ½¸ö·ÖÇø£¬Ò»¸ö½»»»·ÖÇø£¨swap£©£¬´ó¸Å 500MµÄÑù×Ó£¬¶¨Òå³Éswap£ºswapµÄÑù×Ó£¬Ê£ÓàµÄ24.5GÓÃÓÚװϵͳ£¬Ò»°ãÊÇetx3ϵͳ£¬±£Áô·ÖÇø£¬Ñ¡Ôñ¸ñʽ»¯£¬¾Í¿ÉÒÔÇå¿ÕÔ­Ï鵀 windowsµÄÄÚÈÝÁË¡£½ÓÏÂÀ´ÒªÑ¡ÔñµÄÒ²¾ÍÊÇÖ÷»úÃû£¬Óû§Ãû£¬ÃÜÂëÖ®ÀàµÄ¡£µçÄÔÏÈ»á°ÑÅÌÀïÃæµÄ¶«Î÷¿½µ½Ó²ÅÌÉÏ£¬×îºó»áÈÃÄãÉèÖÃgrub£¬¾ÍÊǵçÄÔ¿ª»úµÄʱºòÈÃÄãÑ¡Ôñwindows»¹ÊÇlinuxµÄ½çÃæ¡£½Ó׏âÇýÖеÄÅÌ»á×Ô¶¯µ¯³ö£¬µçÄÔÖØÆô£¬È»ºóËü×Ô¶¯°²×°£¬ÆÚ¼ä»áÈÃÄãÑ¡ÔñʱÇø£¬ÓïÑԵģ¬µ«²»»áÓÐÎÊÌâ¡£

step2£º
ÅäÖÃϵͳ£º
Ê×ÏÈÒª×öµÄÊǸıäϵͳÖÐrootµÄÃÜÂ룺sudo passwd root
µÚÒ»¸öÃÜÂëÊÇÄãÔ­ÏÈÔÚװϵͳµÄʱºò×Ô¼ºÉèÖõġ£È»ºó¼ì²éÉÏÍø¹¦ÄÜ£¬ÉÏÁËÍøÖ®ºó¾Í¿ÉÒÔÉÏsynaptic,ÏÈÒªÕÒµ½Õã´óµÄubuntu¾µÏñ£¬Ò»°ãÔÚ88ÉÏËÑË÷һϿÉÒԺܷ½±ãµÄÕÒµ½£¬ÏÖÔÚÕã´óÓÐÈý¸ö°æ±¾µÄuntun¾µÏñ£¨²»°üÀ¨debian£¬Ç°Ò»¶Îʱ¼äÁ÷ÐÐdebian£¬Õâ¶Îʱ¼äºÃÏñºÜÁ÷ÐÐ ubuntu£©£ºbreezy£¬dapper£¬edgy¡£ÎÒµÄÕâÕÅÅÌÊÇbreezyµÄ£¬ËùÒÔÓÐÁ½´ÎÎÒ·Ö±ðÓÃÁËdapperµÄ£¬ºÍedgyµÄ source.list£¬È»ºóɵɵµÄ°ÑϵͳÉýÁ˼¶£¬È»ºóÖØнøÈ¥µÄʱºòx£­windowsÒѾ­ÕÒ²»µ½ÁË£¬µÚ¶þ´Î»¹ÊÇûÓз¢ÏÖÕâ¸ö벡£¬ÓÖÓôíÁË source.list£¬½á¹ûÐÁÐÁ¿à¿àµÄ»¨Á˺ó¤Ê±¼äÅäÖÃÁËϵͳ֮ºó·¢ÏÖÓÖ½ø²»È¥ÁË£¬Å¼È»ÓÐÒ»´ÎÎÒ¿´µ½firefoxµÄubuntuÖ÷Ò³ÉϺÕÈ»ÓÐ breezy£¬È»ºó»ÐÈ»´óÎò£¬ÖªµÀÎÊÌâ³öÔÚÄÄÁË£¬Ö»ºÃÓÖÖØпªÊ¼×°¸öϵͳ£¬ÕÒ¶Ôsource.list£¬cp source.list£¯etc£¯apt£¯ ÕâÑùÔÚrootϽøÈësynaptic¾Í¿ÉÒÔÍêÈ«¸üÐÂÈí¼þºÍÉý¼¶ÁË£¬È»ºó£¬¾Í¿ÉÒÔÕÒ×Ô¼ºÒªµÄÈí¼þÁË¡£

1£©£ºscimµÄÉèÖÃ
Õâ¸öÊÇÓÃÀ´ÊäÈëÖÐÎĵģ¬¿ÉÒÔÔÚsynapticÉÏÕÒscim£¬È»ºóÕÒpingyinµÈһЩÖÐÎÄÊäÈëµÄ¶«¶«£¬°²×°ÍêÁËÖ®ºó£¬¿ÉÄÜ»¹ÊDz»ÄÜÓõģ¬ÒªÏȽ¨Ò»¸ö½Å±¾
vi .£¯.gnomerc дÈ룺
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
scim -d
¿ÉÄÜÔÚÕâÒ»²½Ö®Ç°ÏÈ»¹Òª½øÈëgnome£­control£­centerÀïÃæ¸ÄscimµÄһЩÉèÖ㬱ÈÈç¿ì½Ý¼üµÄÉèÖõȵȣ¨»¹ÓоÍÊÇÆÁÄ»µÄ·Ö±æÂÊʲôµÄ¶¼¿ÉÒÔÔÚÄÇÀïÃæ¸Ä£¬ÕâÀïÃæÓÐÒ»¸öÎÊÌâ¾ÍÊÇÎÒÔÚgnomeÖ÷ÌâÏÂÇл»µÄfvwmÏÂÃæ·¢ÏÖÿ´Î¶¼ÒªÖØе÷Õû·Ö±æÂÊ£¬ºÜÊÇÂé·³¡£Õâʱºò¿ÉÄÜÒªÓõ½£ºdpkg- reconfigure xserver-xorg
ÃüÁ£¨xorg£¬xfree86ÒªÏÈ×°ÉϲÅÐУ©²»ÖªµÀµÄ¾Í°²Ä¬ÈÏÈ·ÈÏ£¬È»ºóµ½·Ö±æÂʵÄʱºò»áÓÐÈý¸öÑ¡Ïsimple£¬medium£¬advancedÈý¸öÑ¡Ïѡmedium£¬ÕÒ1024£ª768µÄÑ¡Ïî¾ÍºÃ£©¡£ÔÚgnomeÏ£¬µ±ÄãÏëÐèÒªÊäÈëÖÐÎĵÄʱºò¿ÉÒÔÖ±½Ó°´ÄãÉèÖõĿì½Ý¼ü£¬µ«ÔÚfvwmÏÂÃ棬²»ÐУ¬Äã±ØÐë¸Ä.fvwm£¯.fvwm2rcÎļþ£¬°Ñ´ò¿ªscimÉèÖÃΪ¿ª»ú×Ô¶¯ÔËÐгÌÐò¡£ÕâÑùÄãÐèÒªµÄʱºò¾Í¿ÉÒÔÓÃÁË¡£

¡¡ 2£©£ºstardict
ÐǼÊÒëÍõ£¬¿ÉÒÔÔÚ¾µÏñÉÏÃæ×°ÉÏÒ»¸ö¿Ç£¬ÒòΪÀïÃæûÓÐ×°×ֵ䣬ÐèÒª×Ô¼ºÈ¥Ï£¬ÔÚ88ftpµÄubuntuÉÏÃæ¿ÉÒÔÕÒµ½ºÜ¶à¡£ÕÒµ½£º
stardict-langdao-ce-gb_2.4.2-1_all.deb
stardict-langdao-ec-gb_2.4.2-1_all.deb
stardict-oxford-gb_2.4.2-1_all.deb
È»ºócp½ø/usr/share/stardict/dic/Ŀ¼Ï£¬ÓÃdpkg £­i name.deb ¾Í¿ÉÒÔ×°ºÃÁË¡£

3£©£ºbeep£­media£­player£¦mpalyer
beep£­media£­player¿ÉÖ±½Ó´Ó¾µÏñÉÏ×°ÁË£¬mplayerÒ²¿ÉÒÔ´ÓÉÏÃæÏ£¬µ«ÊÇÅöµ½²¥·Årmvb¡¢rmÎļþ»áÓÐÎÊÌ⣬Ҫ°²×°Á½¸ö²å¼þ£¬
usr_lib_win32.tar
usr_local_lib_codecs.tar
Òª°²Ãû×Ö½¨Á¢Îļþ¼Ð£¬½âѹËõ¾Í¿ÉÒÔÁË¡£

4£©£ºfvwmµÄ×îС»¯´°¿ÚÎÊÌâ
ÒªÉϾµÏñÏÂmagicfilterÕâÑùÒ»¸ö²å¼þ¾Í¿ÉÒÔ½â¾öÁË¡£

5£©£ºGNUµÄ±àÒëÆ÷ÅäÖÃ
Ò»°ãÓÃg£«£«£¬gccµÈ£¬ÎÒµÄubuntu°æ±¾Ã»ÓÐ×Ô´ø£¬ËùÒԵõ½¾µÏñÉÏÃæÏ£¬anjutaÊÇÆä½çÃ滯µÄÒ»¸ö²úÎµ«ÊÇÎÒ×°ÁËanjutaÖ®ºó»¹ÊÇÓÐÎÊÌ⣬µ±±àÒëͨ¹ýºó£¬Ö´ÐÐÏÂÒ»²½»á³öÏÖÕÒ²»µ½sin£¬cosº¯ÊýÖ®ÀàµÄÎÊÌ⣬²»µÃÒÑÖ»ºÃÔÚÖÕ¶ËÔËÐÐgcc £­lm name.c »á²úÉúÒ»¸öa.outÎļþ£¬.£¯a.out > a.dat¡¡¿ÉÒÔ½â¾öÎÊÌ⣨ʹÓúö¨Ïò·û£©¡£
¡¡¡¡¡¡¡¡
¡¡¡¡£¶£©£ºgrubÎÊÌâ
¡¡¡¡¡¡µ±µçÄÔ´æÔÚwindowsºÍlinuxÁ½¸öϵͳµÄʱºò£¬Èç¹ûÒªÖØ×°windows»á°ÑlinuxµÄgrub¸²¸Çµô£¬Õâʱºò¿ÉÒÔÓÃÏÂÃæµÄ°ì·¨½â¾ö£º
¡¡¡¡¡¡°ì·¨1£º
¡¡¡¡¡¡1.°Ñ°²×°Å̵ĵÚÒ»Õŷŵ½¹âÇý£¬È»ºóÖØÐÂÆô¶¯»úÆ÷£¬ÔÚBOISÖаÑϵͳÓá¡¡¡¡¡¡¡¡¡¹âÇýÀ´Òýµ¼¡£
¡¡¡¡¡¡2.µÈ°²×°½çÃæ³öÀ´ºó£¬°´£ÛF4£Ý¼ü£¬Ò²¾ÍÊÇlinux rescueģʽ¡£
¡¡¡¡¡¡3.һϵÁмüÅÌÒÔ¼°¼¸Ïî¼òµ¥µÄÅäÖÆ£¬¹ýºó¾Í£Û¼ÌÐø£ÝÁË¡£¡£¡£Õâ¸ö¹ý³Ì£¬ÎÒ²»ËµÁË£¬±È½Ï¼òµ¥¡£
¡¡¡¡¡¡4.È»ºó»á³öÏÖÕâÑùµÄ×Ö·û sh#
¡¡¡¡¡¡5.ÎÒÃǾͿÉÒÔ²Ù×÷GRUBÁË
¡¡¡¡¡¡sh#grub »á³öÏÖÕâÑùµÄ×Ö·û
¡¡¡¡¡¡grub>
¡¡¡¡¡¡ÎÒÃǾͿÉÒÔÔÚÕâÑùµÄ×Ö·ûºóÃ棬ÊäÈë
¡¡¡¡¡¡grub>root (hdX,Y)
¡¡¡¡¡¡grub>setup (hd0)
¡¡¡¡¡¡Èç¹û³É¹¦»áÓÐÒ»¸ösuccessful......
¡¡¡¡¡¡ÇëÁôÒârootºÍ(hdX,Y)Ö®¼äÓÐÒ»¸ö¿Õ¸ñ,ÕâÀïµÄX£¬Èç¹ûÊÇÒ»¸öÅÌ£¬¾ÍÊÇ0£¬Èç¹ûÄãËù°²×°µÄlinuxµÄ¸ù·ÖÇøÔÚµÚ¶þ¸öÓ²ÅÌÉÏ£¬ÄÇX¾ÍÊÇ1ÁË£»Y£¬¾ÍÊÇ×°ÓÐlinuxϵͳËùÔڵĸù·ÖÇø¡£ setup (hd0)¾ÍÊÇ°ÑGRUBдµ½Ó²Å̵ÄMBRÉÏ¡£

¡¡¡¡¡¡°ì·¨2£º
¡¡¡¡¡¡ÓÉÓÚwindowsµÄ°ÔµÀ¡£ÖØ×°windowsºó£¬windowsÖØдÁËÄãµÄmbr£¬¸²¸ÇµôÁËgrub¡£½â¾ö·½·¨ºÜ¼òµ¥£ºÓÃÄãµÄlinuxµÚÒ»ÕÅ°²×°ÅÌÒýµ¼½øÈëlinx rescueģʽ£¨ÈçºÎ½øÈ룿Äã×¢ÒâÒ»ÏÂϵͳµÄÌáʾÐÅÏ¢¾ÍÖªµÀÁË£©£¬Ö´ÐÐÏÂÃæÁ½ÌõÃüÁî¾Í¿ÉÒÔÁË#chroot/mnt/sysimage ¸Ä±äÄãµÄ¸ùĿ¼
#grub-install /dev/hda °²×°grubµ½mbr

¡¡¡¡£·£©£ºmathematica°²×°
¡¡¡¡¡¡¡¡¿ÉÒÔµ½ÔµÍøÉÏÏÂÔØmathematica£µ.£²µÄ°æ±¾£¬ÄÇÊÇÒ»¸öwindowsÓëunixµÄ»ìºÏ.isoÎļþ£¬Äã¿ÉÒÔÏȽâѹËõ£¬µÃµ½£ÕnixÕâÑùÒ»¸öÎļþ¼Ð£¬ÕâÀïÃæ¾ÍÊÇlinuxµÄ°²×°°æ±¾£¬cpµ½linuxÏÂÃ棬Ȼ½øÈërootĿ¼ÏÂÃ棨װÈí¼þòËƶ¼Òª½øroot£©Ö´ÐÐnautilus£¬¾Í»á³öÏÖ x£­windowsµÄ½çÃ棬½øÈëinstallÎļþ¼Ð£¬ÕÒµ½mathinstallerÎļþ£¬Ë«»÷¾Í¿ÉÒÔÔËÐÐÁË¡£°²×°ÏÂÀ´Ò»Â·ÎÞ»°£¬×îºó×¢²áµÄʱºò»áÓÐÒ»µãÎÊÌ⣬ÄãҪѡµÚÒ»ÏsingleÄÇÏ£¬Ëæ±ãÊäÈë£Ì****-****£¨£ª´ú±íÊý×Ö£©£¬×îºó»áÌáʾ°²×°failed£¬Õâ²»Òª½ô£¬ÆäʵÒѾ­°²×°³É¹¦ÁË£¬Äã¿ÉÒÔÕÒµ½mathematicaÕâ¸öÃüÁîÁË£¬Õâʱºò»áµ¯³ö½çÃæÈÃÄãÊäÓû§Ãû¡¢µ¥Î»¡¢£É£ÄʲôµÄ£¬ÆäÖÐlicenceÏîµÚÒ»´Î¿ÉÒÔËæ±ãÌµãokÏî½øÈëÖ®ºó»áÕÒµ½Ò»ÐÐÊý×Ö£¬Õâ²ÅÊÇÕæÕýÓÐÓõģ¬ÄãÐèÒªÔÚwindowsÏÂÔËÐÐkey.exeÕâ¸ö³ÌÐò£¬ÕâÊÇÓÃÀ´²úÉúÃÜÂëÖ®ÀàµÄ£¬ÎҼǼÈçÏ£º
¡¡¡¡¡¡¡¡¡¡¡¡¡¡£·£±£±£µ£­£±£°£¹£µ£²£­£¸£±£¹£¶£´
¡¡¡¡¡¡¡¡¡¡¡¡¡¡£Ì£±£±£µ£¶£­£³£²£µ£´
¡¡¡¡¡¡¡¡¡¡¡¡¡¡£³£¸£±£°£­£µ£²£²£­£¶£³£¹
ÕâÑù°²×°¾Í»áÍêÈ«³É¹¦ÁË¡£µ«ÊÇÄãÔÚmathematica½çÃæÊäÈëµÄʱºòÐèÒª°Ñ£Î£Õ£Í£Ì£Ï£Ã£Ë¼ü¹Øµô£¬ÕâÑù²ÅÄÜÊäÈë¡£then£¬you¡¡can¡¡enjoy¡¡it........

8£©£ºmatlabµÄ°²×°
Ïà±È½Ï¶øÑÔ£¬matlabÊǸöÅÓÈ»´óÎÍêÈ«°²×°»ù±¾Òª2GµÄ¿Õ¼ä£¬×°µÄʱ¼äÒ²ÊÇÂú³¤µÄ¡£ÎÒÓõÄÊÇÔµÍøµÄUNIX°æ±¾µÄmatlab7.02£¬ÏÈÔÚ windowsÏÂÏÂÔØÁËÈý¸öisoÎļþºÍÒ»¸öcrackÎļþ(ÕâÀïÃæ×°µÄÊÇmatlabµÄlicence.datºÍ.licÎļþ£¬»¹ÓоÍÊÇÒ»¸öÏ൱ÖØÒªµÄ readmeÎļþ£¬Õâ¸öÎļþÀï°üº¬ÁËËùÓеݲװ³ÌÐò£¬Ö»ÒªÄãÕÕ×Å×ö¿Ï¶¨Ã»ÓÐÎÊÌ⣬Ìرð×¢ÒâÏÂ×îºóµÄÐÞ¸Älicence.dat·ÃÎÊȨÏÞµÄÎÊÌâ¡£
°²×°Ê±ÏȰѵÚÒ»¸öisoÎļþmount -o loop cd1.iso /media/cdrom/(×¢Òâ°²×°Èí¼þÐèÒªÔÚrootÉí·ÃÏ£¬²¢ÇÒÈç¹ûmountµ½/media/mnt/Ï£¬°²×°Ê±ÏµÍ³»áÒÔΪÄãÊÇÒª°²×°ÔÚcdÀïÃ棨.£¯install£©¡£È»ºó°´ÕÕreadmeÀïÃæµÄ³ÌÐò×ö¾Í¿ÉÒÔÁË£¬µ±ÏµÍ³Ìáʾ²åÈëµÚ¶þÕŹâÅÌʱ£¬ÄãÖ»Òªmount -o loop cd2.iso /media/cdrom/¾Í¿ÉÒÔÁË£¬²»ÐèÒªumountÏÈ¡£×°µÄ¹ý³ÌÖÐϵͳ¿ÉÄÜ»á³öÏÖµãСÎÊÌ⣬µ«Õâûʲô¹Øϵ¡£
°²×°ÍêÖ®ºó£¬ÔÚĬÈϵÄÖ´ÐгÌÐòÀïÃæÊÇûÓÐmatlabÕâ¸öÃüÁîµÄ£¨²»Ïñmathematica£¬×°Íê¾ÍÓÐÁË£©£¬¶øÊÇÄã±ØÐëµ½/usr/local /matlab7/bin/ÏÂÃæÖ´ÐÐ./matlabÃüÁ²Å»á³öÏÖÈí¼þ½çÃæ¡£½â¾öµÄ°ì·¨ÊÇ°Ñ /usr/local/matlab7/bin/ÏÂÃæÃûΪ matlabµÄÎļþ¿½µ½/usr/local/bin/Ŀ¼ÏÂÃ棬ÕâÑù¾Í»áĬÈÏÓÐmatlabÃüÁîÁË¡£

ÆäËûµÄÈí¼þ£¬±ÈÈçacroread¶¼¿ÉÒÔÔÚ¾µÏñÉÏÕÒµ½£¬»¹Óм¸¸öÃüÁ±ÈÈçgthumbÓÃÀ´²é¿´Í¼ÏñºÜºÃ£¬sudonautilusÃüÁî¿ÉÒÔÔÚrootÏÂÏñ windowsÒ»Ñù¹¤×÷¡£fvwm»·¾³ÐèÔÚ¾µÏñÉÏÏÂÔØfvwm-gnome£¬È»ºó°ÑÎÒÔ­Ïȱ£ÁôµÄÒ»·Ý.fvwmÎļþcpµ½¡«£¯ÏÂÃ棬Ȼºó¶ÔÀïÃæµÄ¾ä×ÓÉÔ΢Ð޸ľͿÉÒÔÁË£¬±ÈÈçÔÚÀïÃæ¼ÓÉÏÆô¶¯ºóÖ±½Ó¼ÓÔØscim³ÌÐò£¬torsmo³ÌÐòµÈµÈ¡£

ÕûÌåÉÏ˵ÎҾͿÉÒÔ½¨Á¢ºÍÎÒÄ¿Ç°ÕýÔÚʹÓõÄfvwmͬÑù·ç¸ñµÄ½çÃæÁË¡£Î¨Ò»ÓÐÎÊÌâµÄÊÇwindowsµÄÎļþÃûÔÚlinuxÏÂÏÔʾ»¹ÊÇÓÐÎÊÌ⣬ÕâÖ÷ÒªÊÇlocaleµÄÉèÖÃÎÊÌ⣬ÎÒµÄÖ»Òª¾«Á¦²»ÊÇÔÚ¹Ø×¢ÕâÉÏÃ棬¶øÔÚ±à³Ì¡£ËùÒÔ´æµã覴ÃÒàÎÞ²»¿É¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ