Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : linux

linuxÄÚ´æÕ¼ÓÃÂÊ£¹£¹£¥

ϵͳ£ºdebian
ÏÖÏ󣺸ÕÆô¶¯µÄʱºòÄÚ´æÕ¼Ó㶣¥×óÓÒ£¬Ö÷³ÌÐòÒ»ÅÜÆðÀ´ÔÚ°ë¸öСʱ¾ÍÉýµ½£¹£¹£¥¡£²¢ÇÒÒ»Ö±²»ÏÂÀ´£¬Ö÷³ÌÐòÍ£ÁËÒ²²»ÐС£

ÎÒµ½ÍøÉÏËÑË÷Ï£¬ËµÊǣ̣ɣΣգؾÍÊÇÕâÑù£¬°ÑËùÓеÄ×ÊÔ´Õ¼µ½×î´ó£¬ÕâÑù²»ÀË·Ñ¡£²»ÖªµÀÊDz»ÊÇÕâÑù£¬»¹ÓÐÎÒÕâ¸öÇé¿ö»áÊÇÄÚ´æй¶Âð£¿
Ö÷³ÌÐòÍ£ÁËÒ²²»ÐУ¿Ëƺõ¸úÄãµÄ³ÌÐò¹Øϵ²»´ó°É£¿ ......

linux»·¾³±äÁ¿ÎÊÌâ

ÔÚtest.sh½Å±¾ÖнøÐÐÁËÈçϲÙ×÷£º

echo "ulimit -n 2048" >> /etc/bash.bashrc
ulimit -a


Ö´Ðиýű¾£¬¿´µ½µÄopen files ÊÇ2048£¬µ«ÊÇÍ˳ö¸Ã½Å±¾£¬ÔÚÍâÃæÔËÐÐulimit -a£¬open filesÏÔʾµÄÈ´ÊÇ֮ǰµÄ1024

ÇëÎÊÊÇΪʲôÄØ
ҪеÄÅäÖÃÉúЧ£¬ÄãÏÈÒªÖØеǼ¡£


ÅäÖÃÍêÁË µÃÖØ ......

linuxÔõôÆƽâÃÜÂë?

ÎÒÏÖÔÚÖªµÀÒ»¸öIP,ÏëÔ¶³ÌµÇ½½øÈ¥,²»¹ýûÓÐÃÜÂë.
ÊÇÔ¶³Ì·ÃÎÊÍâÍøµÄlinux·þÎñÆ÷

ÎÒÔÚÍøÉÏÕÒÁ˺ܾÃ,²»ÒªÔÚgoogleËÑË÷¸øÎÒ.ÄãÒªÖªµÀ,ÎÒÊÇÔ¶³Ì·ÃÎÊ,²»¿ÉÄÜÖØÆôÄÇ̨µçÄÔ.
¸ü²»¿ÉÄÜÔÚsingleģʽϵǽ

Ï£Íû¸÷·¸ßÊÖ°ïæ½â¾ö...·Ö²»¹»¿ÉÒÔÔÙ¼Ó...Ï£Íû´ó¼Ò¿ÉÒÔ°ï°ïæ
ÕÒ©¶´?

±©Á¦ÃÜÂë?

Ô¶³Ì·ÃÎʵģ ......

ÔÚlinuxϵÄÎļþº¯Êý²ÎÊý

O_EXCl;
Èç¹ûO_CREATÒ²±»ÉèÖÃ,´ËÖ¸Áî»ØÈ¥¼ì²éÎļþÊÇ·ñ´æÔÚ,Èô´æÔÚ´¬½¢¸ÃÎļþ,Èç¹ûÎļþ´æÔÚ½«µ¼ÖÂÎļþ´ò¿ª´íÎó..
O_CREATÊÇ´´½¨Ò»¸öÎļþ..ÄÇΪʲô»¹ÒªÓÃO_EXCLÀ´´´½¨ÎļþÄØ..¶øÇÒÔÚÎļþ´æÔÚµÄʱºò´ò¿ªÊ§°Ü.ÕâÓÐʲô×÷ÓÃ
....»¹ÓÐopen("abc.c",O_CREAL|O_EXCL,S_IRUSR|S_IWUSR) O_CREAL|O_EXCLÊÇʲôÒâ˼ ......

linuxÖÐconfigureµÄ²ÎÊýÎÊÌâ

±¾ÈËС²ËÒ»¸ö£¬¸Õ¸Õ½Ó´¥linux²»¾Ã£¬ºÜ¶àÎÊÌⶼ²»Àí½â

ÔÚqtopia°²×°Ö®Ç°£¬ÓиöÖ´ÐÐ./configureµÄ¹ý³Ì£¬ÀïÃæÓкܶàÀàËÆ--helpµÄ²ÎÊý£¬ÎÒÓõÄÊÇÓÑÉƵıàÒë½Å±¾½øÐбàÒ룬¿´ÀïÃæµÄ²ÎÊýÓÐЩÓõ¥ÒýºÅ¡®Î§ÆðÀ´£¬ÓÐЩûÓУ¬ÎÒÏëÖªµÀÕâÑùÓÐʲôÇø±ðÂ𣿻¹ÍûÇ°±²ÃǶà¶àÖ¸½Ì£¬Ð¡µÜÕâÀïÏÈл¹ýÁË
C/C++ code:
configure -qte ......

LINUXϾÖÓòÍøͨÐŵÄÎÊÌâ

ÎÒ×î½üÔÚ×öÒ»¸öLINUXϾÖÓòÍøͨÐŵÄÎÊÌ⣬ÎÒÓõÄÊÇÐéÄâ»úÏÂÔËÐеÄLINUX¡£ÔÚ¾ÖÓòÍøÄÚÓÐÁ½Ì¨µçÄÔAºÍB£¬Á½Ì¨µçÄÔµÄIPºÍDNS¾ùΪ×Ô¶¯»ñÈ¡£¬AµÄIPÊÇ59.68.181.31£¬AÐéÄâ»úϵÄLINUXµÄIPÒ²ÊÇ×Ô¶¯»ñÈ¡£¬Îª192.168.43.128£¬BµÄIPÊÇ59.68.181.95£¬BÐéÄâ»úϵÄLINUXµÄIPÒ²ÊÇ×Ô¶¯»ñÈ¡£¬Îª192.168.49.128£¬ÏÖÔÚÎÒÏëA»úµÄLINUXϵͳÓëB»úµÄ ......
×ܼǼÊý:1408; ×ÜÒ³Êý:235; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [211] [212] [213] [214] 215 [216] [217] [218] [219] [220]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ