LinuxÈí¼þ°²×°ÓëжÔØ
LinuxÏÂÈí¼þµÄ°²×°ÓëжÔØ
Ò»¡¢¶þ½øÖÆ·Ö·¢Èí¼þ°üµÄ°²×°ÓëжÔØ
LinuxÈí¼þµÄ¶þ½øÖÆ·Ö·¢ÊÇÖ¸ÊÂÏÈÒѾ±àÒëºÃ¶þ½øÖÆÐÎʽµÄÈí¼þ°üµÄ·¢²¼ÐÎʽ£¬ÆäÓŵãÊÇ°²×°Ê¹ÓÃÈÝÒ×£¬È±µãÔòÊÇȱ·¦Áé»îÐÔ£¬Èç¹û¸ÃÈí¼þ°üÊÇΪÌض¨µÄÓ²¼þ/²Ù×÷ϵͳƽ̨±àÒëµÄ£¬ÄÇËü¾Í²»ÄÜÔÚÁíÍâµÄƽ̨»ò»·¾³ÏÂÕýÈ·Ö´ÐС£
1¡¢*.rpmÐÎʽµÄ¶þ½øÖÆÈí¼þ°ü
°²×°£ºrpm -ivh *.rpm
жÔØ£ºrpm -e packgename
˵Ã÷£ºRPM£¨RedHat Packge Manager£©ÊÇRedHat¹«Ë¾³öµÄÈí¼þ°ü¹ÜÀíÆ÷£¬Ê¹ÓÃËü¿ÉÒÔºÜÈÝÒ׵ضÔrpmÐÎʽµÄÈí¼þ°ü½øÐа²×°¡¢Éý¼¶¡¢Ð¶ÔØ¡¢ÑéÖ¤¡¢²éѯµÈ²Ù×÷£¬°²×°¼òµ¥£¬¶øжÔØʱҲ¿ÉÒÔ½«Èí¼þ°²×°ÔڶദĿ¼ÖеÄÎļþɾ³ý¸É¾»£¬Òò´ËÍƼö³õѧÕß¾¡¿ÉÄÜʹÓÃrpmÐÎʽµÄÈí¼þ°ü¡£rpmµÄ²ÎÊýÖÐ-iÊÇ°²×°£¬-vÊÇУÑ飬-hÊÇÓÃÉ¢ÁзûÏÔʾ°²×°½ø¶È£¬*.rpmÊÇÈí¼þ°üµÄÎļþÃû£¨ÕâÀïµÄ*.rpmÌØÖ¸*.src.rpmÒÔÍâµÄÒÔrpmΪºó׺µÄÎļþ£©£»²ÎÊý-eÊÇɾ³ýÈí¼þ°ü£¬packgenameÊÇÈí¼þ°üÃû£¬ÓëÈí¼þ°üµÄÎļþÃûÓÐËùÇø±ð£¬ËüÍùÍùÊÇÎļþÃûÖÐλÓÚ°æ±¾ºÅÇ°ÃæµÄ×Ö·û´®£¬ÀýÈçapache-3.1.12-i386.rpmºÍapache-devel-3.1.12-i386.rpmÊÇÈí¼þ°üÎļþÃû£¬ËüÃǵÄÈí¼þ°üÃû³Æ·Ö±ðÊÇapacheºÍapache-devel¡£¸ü¶àµÄrpm²ÎÊýÇë×ÔÐвο´ÊÖ²áÒ³£ºman rpm¡£
Èç¹ûÄ㲻ϲ»¶ÔÚ×Ö·û½çÃæÏ°²×°»òжÔØÕâЩÈí¼þ°ü£¬ÍêÈ«¿ÉÒÔÔÚX-WindowÏÂʹÓÃͼÐνçÃæµÄÈí¼þ°ü¹ÜÀí³ÌÐò£¬Èçglint¡¢xrpmÕâÑùµÄͼÐνӿڣ¬»òÕßÊÇKDEµÄkpackgeµÈ£¬ÕâÑù¶ÔÈí¼þ°üµÄ°²×°¡¢Éý¼¶¡¢Ð¶ÔØ¡¢ÑéÖ¤ºÍ²éѯ¾Í¿ÉÒÔͨ¹ýµã»÷Êó±êÀ´ÇáËÉÍê³É¡£
2¡¢*.tar.gz/*.tgz¡¢*.bz2ÐÎʽµÄ¶þ½øÖÆÈí¼þ°ü
°²×°£ºtar zxvf *.tar.gz »ò tar yxvf *.bz2
жÔØ£ºÊÖ¶¯É¾³ý
˵Ã÷£º*.tar.gz/*.bz2ÐÎʽµÄ¶þ½øÖÆÈí¼þ°üÊÇÓÃtar¹¤¾ßÀ´´ò°ü¡¢ÓÃgzip/bzip2ѹËõµÄ£¬°²×°Ê±Ö±½Ó½â°ü¼´¿É¡£¶ÔÓÚ½âѹºóÖ»Óе¥Ò»Ä¿Â¼µÄÈí¼þ£¬Ð¶ÔØʱÓÃÃüÁî“rm -rf Èí¼þĿ¼Ãû”£»Èç¹û½âѹºóÎļþ·ÖÉ¢ÔڶദĿ¼ÖУ¬Ôò±ØÐëÒ»Ò»ÊÖ¶¯É¾³ý£¨ÉÔÂé·³£©£¬ÏëÖªµÀ½âѹʱÏòϵͳÖа²×°ÁËÄÄЩÎļþ£¬¿ÉÒÔÓÃÃüÁî“tar ztvf *.tar.gz”/“tar ytvf *.bz2”»ñÈ¡Çåµ¥¡£tarµÄ²ÎÊýzÊǵ÷ÓÃgzip½âѹ£¬xÊǽâ°ü£¬vÊÇУÑ飬fÊÇÏÔʾ½á¹û£¬yÊǵ÷ÓÃbzip2½âѹ£¬tÊÇÁгö°üµÄÎļþÇåµ¥¡£¸ü¶àµÄ²ÎÊýÇë²Î¿´ÊÖ²áÒ³£ºman tar¡£
Èç¹ûÄã¸üϲ»¶Í¼ÐνçÃæµÄ²Ù×÷£¬¿ÉÒÔÔÚX-WindowÏÂʹÓÃKDEµÄArKѹËõµµ°¸¹ÜÀí¹¤¾ß¡£
3¡¢Ìṩ°²×°³ÌÐòµÄÈí¼þ°ü
ÕâÀàÈí¼þ°üÒѾÌṩÁË°²×°½Å±¾»ò¶þ½øÖƵݲװÏòµ¼³ÌÐò£¨setup¡¢install¡¢install.shµÈ£©£¬Ö»ÐèÔËÐÐËü¾Í¿ÉÒÔÍê³ÉÈí¼
Ïà¹ØÎĵµ£º
1 ÒýÑÔ
¡¡¡¡Ị̈߳¨thread£©¼¼ÊõÔçÔÚ60Äê´ú¾Í±»Ìá³ö£¬µ«ÕæÕýÓ¦ÓöàÏ̵߳½²Ù×÷ϵͳÖÐÈ¥£¬ÊÇÔÚ80Äê´úÖÐÆÚ£¬solarisÊÇÕâ·½ÃæµÄٮٮÕß¡£´«Í³µÄUnixÒ²Ö§³ÖÏ̵߳ĸÅÄµ«ÊÇÔÚÒ»¸ö½ø³Ì£¨process£©ÖÐÖ»ÔÊÐíÓÐÒ»¸öỊ̈߳¬ÕâÑù¶àÏ߳̾ÍÒâζ×Ŷà½ø³Ì¡£ÏÖÔÚ£¬¶àÏ̼߳¼ÊõÒѾ±»Ðí¶à²Ù×÷ϵͳËùÖ§³Ö£¬°üÀ¨Windows/NT£¬µ±È»£¬Ò²°üÀ¨Linux¡£
......
ÔÚºÆ嫵ÄLinuxÖУ¬²éÕÒij¸öÎļþÊǼþ·Ç³£ÒªÃüµÄʶù¡£ÎÒÊÔ¹ýºÜ¶à·½·¨£¬×î¼òµ¥¡¢×î·½±ãµÄÒ»ÖÖÊÇÀûÓÃlocateÃüÁîºÍupdatedbÃüÁîÅäºÏµÄ·½·¨£º
±ÈÈ磬ÎÒÃÇÒª²éÕÒÒ»¸öÎļþÃûÖдø“chen”×Ö·û´®µÄÎļþ£¬ÕâÑù×ö£º
[root@locahost /]# locate chen
ÕâÑù¾ÍÄܳöÏÖÒ»´ó´®Ô̺¬chen×Ö·û´®ÎļþÃûµÄÎļþ¡£
×¢Ò⣬locateÖ´Ðкóµ ......
LinuxÇý¶¯µÄһЩ»ù±¾²Ù×÷
LinuxÄÚºËÖж¨ÒåÁ˺ܶàºê£¬¶ÔÓ²¼þ¶Ë¿ÚºÍ¼Ä´æÆ÷½øÐвÙ×÷£¬´ÓÍøÉÏËѼ¯ÁËһЩºê¶¨ÒåµÄÐÅÏ¢£º
1. __REG¼òµ¥µÄ˵¾ÍÊÇ»ñµÃºóÃæËùʾÎïÀíµØÖ·Ó³ÉäºóµÄÐéÄâµØÖ·£¬ÀýÈ磺
#define GPLR0 __REG(0x40E00000) /* GPIO Pin-Level Register GPIO<31:0> */
#define GPL ......
Òý£º
Linux²Ù×÷ϵͳÊÇÓÉLinus TorvaldsÏÈÉúÔÚ1991Äê´´½¨µÄ£¬Ö®ºó²»¶Ï»ñµÃ»¥ÁªÍøÉÏÖÚ¶à³ÌÐòÔ±µÄ×ÔÔ¸Ö§³Ö£¬¾¹ýÊ®¼¸ÄêµÄ·¢Õ¹£¬Èç½ñÒѾ³ÉΪ¼ÌWindowsÖ®ºóµÄµÚ¶þ´óµçÄÔ²Ù×÷ϵͳÈí¼þ¡£
ÄãÊÇ·ñ¶ÔLinuxÓгä·ÖµÄÁ˽âÄØ£¿×÷ΪһÖÖƽ̨£¬LinuxÊ×ÏÈ»ñµÃÁ˳ÁÄçÓÚijÖÖñ±ºÃ֮ʿºÍºÚ¿ÍÃǵÄ
Çàíù¡£Linux²Ù×÷ϵͳÊÇÓÉLinus
TorvaldsÏÈÉú ......