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

LinuxÖÕ¶ËÉ豸Çý¶¯£¨Ò»£©

ÔÚLinuxϵͳÖУ¬ÖÕ¶ËÉ豸·Ç³£ÖØÒª£¬Ã»ÓÐÖÕ¶ËÉ豸£¬ÏµÍ³½«ÎÞ·¨ÏòÓû§·´À¡ÐÅÏ¢£¬LinuxÖаüº¬¿ØÖÆ̨¡¢´®¿ÚºÍαÖÕ¶Ë3ÀàÖÕ¶ËÉ豸¡£
14.1ÖÕ¶ËÉ豸
    ÔÚLinuxϵͳÖУ¬ÖÕ¶ËÊÇÒ»ÖÖ×Ö·ûÐÍÉ豸£¬ËüÓжàÖÖÀàÐÍ£¬Í¨³£Ê¹ÓÃttyÀ´¼ò³Æ¸÷ÖÖÀàÐ͵ÄÖÕ¶ËÉ豸¡£ttyÊÇTeletypeµÄËõд£¬TeletypeÊÇ×îÔç³öÏÖµÄÒ»ÖÖÖÕ¶ËÉ豸£¬ºÜÏñµç´«´ò×Ö»ú£¬ÊÇÓÉTeletype¹«Ë¾Éú²úµÄ¡£LinuxÖаüº¬Èçϼ¸ÀàÖÕ¶ËÉ豸£º 
1¡¢´®Ðж˿ÚÖնˣ¨/dev/ttySn£© 
    ´®Ðж˿ÚÖնˣ¨Serial Port Terminal£©ÊÇʹÓüÆËã»ú´®Ðж˿ÚÁ¬½ÓµÄÖÕ¶ËÉ豸¡£¼ÆËã»ú°Ñÿ¸ö´®Ðж˿ڶ¼¿´×÷ÊÇÒ»¸ö×Ö·ûÉ豸¡£ÕâЩ´®Ðж˿ÚËù¶ÔÓ¦µÄÉ豸Ãû³ÆÊÇ/dev/ttyS0£¨»ò/dev/tts/0£©¡¢/dev/ttyS1£¨»ò/dev/tts/1£©µÈ£¬É豸ºÅ·Ö±ðÊÇ£¨4,0£©¡¢£¨4,1£©µÈ¡£
    ÔÚÃüÁîÐÐÉϰѱê×¼Êä³öÖض¨Ïòµ½¶Ë¿Ú¶ÔÓ¦µÄÉ豸ÎļþÃûÉϾͿÉÒÔͨ¹ý¸Ã¶Ë¿Ú·¢ËÍÊý¾Ý£¬ÀýÈ磬ÔÚÃüÁîÐÐÌáʾ·ûϼüÈ룺 echo test > /dev/ttyS1»á°Ñµ¥´Ê“test”·¢Ë͵½Á¬½ÓÔÚttyS1¶Ë¿ÚµÄÉ豸ÉÏ¡£ 
2.αÖնˣ¨/dev/pty/£© 
    Î±Öնˣ¨Pseudo Terminal£©ÊdzɶԵÄÂß¼­ÖÕ¶ËÉ豸£¬²¢´æÔڳɶԵÄÉ豸Îļþ£¬Èç/dev/ptyp3ºÍ/dev/ttyp3£¬ËüÃÇÓëʵ¼ÊÎïÀíÉ豸²¢²»Ö±½ÓÏà¹Ø¡£Èç¹ûÒ»¸ö³ÌÐò°Ñttyp3¿´×÷ÊÇÒ»¸ö´®Ðж˿ÚÉ豸£¬ÔòËü¶Ô¸Ã¶Ë¿ÚµÄ¶Á/д²Ù×÷»á·´Ó³ÔÚ¸ÃÂß¼­ÖÕ¶ËÉ豸¶ÔÓ¦µÄptyp3ÉÏ£¬¶øptyp3ÔòÊÇÁíÒ»¸ö³ÌÐòÓÃÓÚ¶Áд²Ù×÷µÄÂß¼­É豸¡£ÕâÑù£¬Á½¸ö³ÌÐò¾Í¿ÉÒÔͨ¹ýÕâÖÖÂß¼­É豸½øÐл¥ÏཻÁ÷£¬Ê¹ÓÃttyp3µÄ³ÌÐò»áÈÏΪ×Ô¼ºÕýÔÚÓëÒ»¸ö´®Ðж˿ڽøÐÐͨÐÅ¡£ 
    ÒÔtelnet ÎªÀý£¬Èç¹ûijÈËÔÚʹÓÃtelnet³ÌÐòÁ¬½Óµ½Linuxϵͳ£¬Ôòtelnet³ÌÐò¾Í¿ÉÄܻῪʼÁ¬½Óµ½É豸ptyp2ÉÏ£¬¶ø´Ëʱһ¸ögetty³ÌÐò»áÔËÐÐÔÚ¶ÔÓ¦µÄttyp2¶Ë¿ÚÉÏ¡£µ±telnet´ÓÔ¶¶Ë»ñÈ¡ÁËÒ»¸ö×Ö·ûʱ£¬¸Ã×Ö·û¾Í»áͨ¹ýptyp2¡¢ttyp2´«µÝ¸ø getty³ÌÐò£¬¶øgetty³ÌÐòÔò»áͨ¹ýttyp2¡¢ptyp2ºÍtelnet³ÌÐò·µ»Ø“login:”×Ö·û´®ÐÅÏ¢¡£ÕâÑù£¬µÇ¼³ÌÐòÓëtelnet³ÌÐò ¾Íͨ¹ýαÖն˽øÐÐͨÐÅ¡£Í¨¹ýʹÓÃÊʵ±µÄÈí¼þ£¬¿ÉÒÔ°Ñ2¸ö»ò¶à¸öαÖÕ¶ËÉ豸Á¬½Óµ½Í¬Ò»¸öÎïÀí´®Ðж˿ÚÉÏ¡£
3.¿ØÖÆ̨Öնˣ¨/dev/ttyn, /dev/console£©
    Èç¹ûµ±Ç°½ø³ÌÓпØÖÆÖնˣ¨Controlling Terminal£©µÄ»°£¬ÄÇô/dev/tty¾ÍÊǵ±Ç°½ø³ÌµÄ¿ØÖÆÖն˵ÄÉ豸ÌØÊâÎļþ¡£¿ÉÒÔʹÓÃÃüÁî“ps –ax&r


Ïà¹ØÎĵµ£º

ϵͳ¼à¿Ø:linuxÃüÁîÐÐ ·ÉÐÅ¿Í»§¶Ë·¢ËÍÃâ·Ñ±¨¾¯¶ÌÐÅ

linuxÃüÁîÐÐÏÂÓÃFetion·ÉÐÅ·¢ËÍÃâ·Ñ¶ÌÐÅ
Ò»¡¢×îа汾2009
ͨ¹ýlinuxÃüÁîÐÐÀ´·¢ËͶÌÐŵķ½·¨£¬¾õµÃÉõÊǺÃÓã¬ÊÊÓÃÔËά¼à¿Ø¡£ÕâÀïÏò´ó¼ÒÍƼöµÄÊÇ·ÉÐÅ»úÆ÷È˵ÄÈí¼þ£¬Ö§³Ölinux¡¢ÃüÁîÐÐϵķÉÐÅ¡¢ÍêÈ«Ãâ·Ñ£¨Ä¿Ç°ÎªÖ¹£©£» ¹ÙÍøµØÖ·£º http://www.it-adv.net/
»·¾³ debian lenny
ÏÂÔØ×îÐÂlinux°æ±¾¿Í»§¶Ë http://bbs.it-ad ......

LINUX¾²Ì¬Á´½Ó¿â˳ÐòÎÊÌâ

×òÌìÔÚ±àдһ¸ö³ÌÐòµÄʱºò·¢ÏÖÐèÒªÁ´½ÓµÄ¾²Ì¬¿â¶¼È·¶¨´æÔÚ£¬Ö¸¶¨µÄ·¾¶Ò²Ã»ÓÐÎÊÌ⣬µ«ÊDZàÒë×ÜÊdzöÏÖÁ´½ÓÎÊÌ⣬ÕÒ²»µ½ÊµÏÖ£¬²Å·¢ÏÖÔ­À´Èç¹ûͬʱÁ´½Ó¶à¸ö¾²Ì¬¿â£¬²¢ÇÒÈç¹ûÕâЩ¾²Ì¬¿âÖ®¼ä´æÔÚÏ໥ÒÀÀµ¹ØϵµÄ»°£¬ÐèÒª°´Ò»¶¨µÄ˳Ðò½øÐÐÁ´½Ó£¬ÀýÈ磺Èç¹ûlibb.aÒÀÀµliba.a£¬ÄÇô±àÒë²ÎÊýÓ¦¸Ãд³ÉÕâÑù£º -lb -la ......

Linux ./configure prefixÃüÁî

Ô´ÂëµÄ°²×°Ò»°ãÓÉ3¸ö²½Öè×é³É£ºÅäÖã¨configure£©¡¢±àÒ루make£©¡¢°²×°£¨make install£©£¬¾ßÌåµÄ°²×°·½·¨Ò»°ã×÷Õ߶¼»á¸ø³öÎĵµ£¬ÕâÀïÖ÷ÒªÌÖÂÛÅäÖã¨configure£©¡£ConfigureÊÇÒ»¸ö¿ÉÖ´Ðнű¾£¬ËüÓкܶàÑ¡ÏʹÓÃÃüÁî./configure –helpÊä³öÏêϸµÄÑ¡ÏîÁÐ±í£¬ÈçÏ£º
-bash-3.00# ./configure --help
Usage: configure ......

LinuxÆô¶¯¹ý³ÌÖÐÓ²¼þÄ£¿éµÄ¼ÓÔØ

Ç°ÑÔ£ºÎÒ¾õµÃÎÒµÄÎÄÕÂÏà¶ÔÀ´Ëµ¶¼ÊDZȽÏdzÏԵġ£Ò»Ð©³õѧÕß¿ÉÒÔ¿´¿´£¬¶ÔÓÚ¸ßÊÖÀ´Ëµ£¬Èç¹ûÄãÃDz»ÁßØÄʱ¼äµÄ»°£¬Ï£ÍûÒ²ÄÜ°ïÎÒ¿´¿´£¬Ö¸µãÒ»ÏÂÆäÖеĴíÎó¡£ÕâÒ²ÊÇÎÒµ½ÕâÀïÀ´ºÍ´ó¼Ò½»Á÷µÄÄ¿µÄ¡£
ÔĶÁLinuxÄÚºËÆô¶¯´úÂëµÄÖ±½Ó¶¯Á¦ÊÇÎÒÏë±àдRTL8019ASµÄÍø¿¨Çý¶¯³ÌÐò£¨2.4.18ÄÚºËÖ»Ö§³ÖÁËCS8900A£©¡£¼ÈȻҪдÇý¶¯£¬ÎÒ¾ÍÏëÖªµÀËüÊÇÔ ......

Linux°²×°Sphnix ¼Ç¼

Linux°²×°Sphnix ¼Ç¼
      Ïȵ±È»ÊÇ´ÓsphnixÍøÕ¾ÏÂÔØsphinxÔ´Âë°ü£¬µ±Ç°×îа汾ÊÇ£ºhttp://www.sphinxsearch.com/downloads/sphinx-0.9.8.1.tar.gz¡£µ±È»£¬»¹ÐèÒª±£Ö¤ÄãµÄϵͳÒѾ­°²×°ÁËmysql¡£
      Æä´Î£¬¾ÍÊÇÒÀÕÕ¹Ù·½µÄ°²×°Ö¸µ¼½øÐа²×°ÁË£¬»ù±¾²½ÖèÈçÏ£º
½â ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ