Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ïê½âLinuxÈí¼þ»ù±¾°²×°ºÍжÔØ·½·¨

Èç¹ûÄãÊÇLinuxµÄÓû§£¬ÄãÊÇ·ñ·Ç³£Ï²»¶ËûµÄʵÓÃÐÔ£¬¼òµ¥±ã½Ý¡£²»¹ý£¬¶ÔÓÚLinuxÈí¼þµÄ°²×°ºÍжÔØÒ»Ö±ÊÇÀ§ÈÅÐí¶àÐÂÓû§µÄÄÑÌâ¡£ÔõÑù²ÅÄÜÍê³ÉLinuxÈí¼þµÄ°²×°ºÍжÔصĹý³ÌÄØ£¿
ÔÚWindowsÖУ¬ÎÒÃÇ¿ÉÒÔʹÓÃÈí¼þ×Ô´øµÄ°²×°Ð¶ÔسÌÐò»òÔÚ¿ØÖÆÃæ°åÖеēÌí¼Ó/ɾ³ý³ÌÐò”À´ÊµÏÖ¡£ÓëÆäÏàÀàËÆ£¬ÔÚ²»Í¬Linux·¢ÐаæÏÂÒ²Óй¦ÄÜÇ¿´óµÄÈí¼þ°²×°Ð¶Ôع¤¾ß£¨Èí¼þ°ü¹ÜÀíÆ÷£©£¬ÈçRedHat/FedoraϵÁоÍÓÐÃûΪRPMµÄ¹ÜÀíÆ÷ÒÔ¼°Í¼ÐνçÃæµÄÈí¼þ°ü¹ÜÀíÆ÷¡£Ëü¿ÉÒÔÓÃÀ´½¨Á¢¡¢°²×°¡¢²éѯ¡¢¸üС¢Ð¶ÔØÈí¼þ¡£
Èí¼þµÄ°²×°
LinuxÈí¼þµÄ°²×°Ö÷ÒªÓÐÁ½ÖÖ²»Í¬µÄÐÎʽ¡£µÚÒ»ÖÖ°²×°ÎļþÃûΪxxx.tar.gzÖ®ÀàµÄѹËõ°ü£»ÁíÒ»ÖÖ°²×°ÎļþÃûΪxxx.rpmµÄ°²×°°ü¡£ÒÔµÚÒ»ÖÖ·½Ê½·¢ÐеÄÈí¼þ¶àΪÒÔÔ´ÂëÐÎʽ·¢Ë͵ģ»µÚ¶þÖÖ·½Ê½ÔòÊÇÖ±½ÓÒÔ¶þ½øÖÆÐÎʽ·¢Ë͵ġ£
¶ÔÓÚµÚÒ»ÖÖ£¬°²×°·½·¨ÈçÏ£º
1 .Ê×ÏÈ£¬½«°²×°Îļþ¿½±´ÖÁÒ»¸ö±àÒëĿ¼ÖС£½¨ÒéÑ¡Ôñ·Åµ½ /usr/srcÏ¡£
#cp xxx.tar.gz /usr/src/
2 .ÓÉÓÚ¸ÃÎļþÊDZ»Ñ¹Ëõ²¢´ò°üµÄ,Ó¦¶ÔÆä½âѹËõ¡£ÃüÁîΪ£º
#tar xvzf filename.tar.gz
Èç¹ûÊÇfilename.tar.bz2¸ñʽµÄ£¬Ó¦¸ÃÓÃÈçÏÂÃüÁîÀ´½âѹ£º
#tar jxvf filename.tar.bz2
3. Ö´ÐиÃÃüÁîºó£¬°²×°Îļþ°´Â·¾¶£¬½âѹËõÔÚµ±Ç°Ä¿Â¼Ï¡£ÓÃlsÃüÁî¿ÉÒÔ¿´µ½½âѹËõºóµÄÎļþ¡£Í¨³£ÔÚ½âѹËõºó²úÉúµÄÎļþÖУ¬ÓÐÃûΪ“INSTALL”»ò“README”µÄÎļþ¡£¸ÃÎļþΪ´¿Îı¾Îļþ£¬Ïêϸ½²ÊöÁ˸ÃÈí¼þ°üµÄ°²×°·½·¨¡£
4.Ö´ÐнâѹËõºó²úÉúµÄÒ»¸öÃûΪconfigureµÄ¿ÉÖ´Ðнű¾³ÌÐò¡£ËüÊÇÓÃÓÚ¼ì²éϵͳÊÇ·ñÓбàÒëʱËùÐèµÄ¿â£¬ÒÔ¼°¿âµÄ°æ±¾ÊÇ·ñÂú×ã±àÒëµÄÐèÒªµÈ°²×°ËùÐèÒªµÄϵͳÐÅÏ¢¡£ÎªËæºóµÄ±àÒ빤×÷×ö×¼±¸¡£Äã¿ÉÒÔÊäÈëÈçÏÂÃüÁî²é¿´¿ÉÓõÄÅäÖÃÑ¡ÏîÀ´¶¨ÖƱàÒ룺
#./configure --help
²»Í¬µÄÈí¼þ³ýÁËһЩͨÓõÄÅäÖÃÑ¡ÏîÍ⣬ͨ³£»¹ÓÐһЩÌض¨µÄÅäÖÃÑ¡Ïî¡£
ÀýÈ磬Èç¹ûÄúÏë°ÑÈí¼þ°²×°µ½Ö¸¶¨Ä¿Â¼£¬Ó¦¸ÃÓÃ#./configure –prefix=Äú×Ô¼ºÖ¸¶¨µÄĿ¼£¬±ÈÈçÎÒÏë°ÑÒ»¸ömlterm°²×°µ½/opt/mltermĿ¼ÖУ¬Ó¦¸ÃÈçÏÂÊäÈë
#./configure –prefix=/opt/mlterm
5.¼ì²éͨ¹ýºó£¬½«Éú³ÉÓÃÓÚ±àÒëµÄMakeFileÎļþ¡£´Ëʱ£¬¿ÉÒÔ¿ªÊ¼½øÐбàÒëÁË¡£±àÒëµÄ¹ý³ÌÊÓÈí¼þµÄ¹æÄ£ºÍ¼ÆËã»úÐÔÄܵIJ»Í¬£¬ËùºÄ·ÑµÄʱ¼äÒ²²»Í¬¡£ÃüÁîΪ£º
#make¡£
6.³É¹¦±àÒëºó£¬¼üÈëÈçϵÄÃüÁʼ°²×°£º
#make install
ÖÁ´Ë£¬Èí¼þµÄ°²×°½áÊø¡£
¶ÔÓÚµÚ¶þÖÖ£¬Æä°²×°·½·¨Òª¼òµ¥µÃ¶à¡£
ͬµÚÒ»ÖÖ·½Ê½Ò»Ñù£¬½«°²×°Îļþ¿½±´ÖÁÄãµÄĿ¼ÖС£È»ºóʹÓÃrpmÀ´°²×°¸ÃÎļþ¡£


Ïà¹ØÎĵµ£º

LinuxÏÂÎļþµÄ²Ù×÷(zt)

 
1£®ÎļþµÄ´´½¨ºÍ¶Áд
¡¡¡¡µ±ÎÒÃÇÐèÒª´ò¿ªÒ»¸öÎļþ½øÐжÁд²Ù×÷µÄʱºò,ÎÒÃÇ¿ÉÒÔʹÓÃϵͳµ÷Óú¯Êýopen.ʹÓÃÍê³ÉÒÔºóÎÒÃǵ÷ÓÃÁíÍâÒ»¸öcloseº¯Êý½øÐйرղÙ×÷.
¡¡¡¡¡¡¡¡int open(const char *pathname,int flags);
¡¡¡¡¡¡¡¡int open(const char *pathname,int flags,mode_t mode);
¡¡¡¡¡¡¡¡int close(int fd); ......

linuxÖеÄoutb¡¢outw¡¢inb¡¢inw

ÔÚlinuxµÄÇý¶¯³ÌÐòÖУ¬¶¼»áʹÓôóÁ¿µÄoutb¡¢outw¡¢inb¡¢inwµÈµÈºêÀ´·ÃÎÊÓ²¼þ»ò¼Ä´æÆ÷¡£ÕâЩºêµÄ¶¨Ò嶼ÔÚÏàÓ¦´¦ÀíÆ÷ÌåϵϵÄinclude\asmĿ¼ÏµÄio.hÖж¨Òå¡£×·¾¿ÏÂÈ¥£¬ÕâЩºê×îÖÕ¾ÍÊÇÒ»¸övolatile±äÁ¿µÄµÄ¸³Öµ£º
      #define __arch_putb(v,a)      (*(volatile unsi ......

Linux ½ø³Ì¹ÜÀíÆÊÎö

ÎÄÕÂÀ´Ô´£ºhttp://www.ibm.com/developerworks/cn/linux/l-linux-process-management/
¼¶±ð£º Öм¶
M. Tim Jones, ¹ËÎʹ¤³Ìʦ, Emulex Corp.
2009 Äê 1 ÔÂ 20 ÈÕ
Linux® µÄÓû§¿Õ¼ä½ø³ÌµÄ´´½¨ºÍ¹ÜÀíËùÉæ¼°µÄÔ­ÀíÓë UNIX® Óкܶ๲ͬµã£¬µ«Ò²ÓÐһЩÌض¨ÓÚ Linux µÄ¶ÀÌØÖ®´¦¡£ÔÚ±¾ÎÄÖУ¬Á˽â Linux ½ø³ÌµÄÉúÃüÖÜÆ ......

CVS for LINUXÅäÖÃÏê½â

cvs·þÎñÆ÷µÄ°²×°£º
1¡£²é¿´ÄãµÄ²Ù×÷ϵͳÉÏÊÇ·ñ°²×°ÁËcvs£º
#> rpm -qa|grep cvs

Èç¹ûûÓа²×°¿ÉÒÔÔÚÍøÉÏÏÂÔص½×îеÄrpm°ü¡£ºÜÈÝÒ×ÕÒ£¬Æäʵ²»´æÔÚʲôlinux°æ±¾¡£
2¡£½¨Á¢cvsÓû§×飺
#> groupadd cvs
3¡£½¨Á¢cvs×éµÄcvsrootÓû§ºÍËùÊôµÄĿ¼£º
#> useradd -g cvs –d /cvsroot cvsroot ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ