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

linuxºÍUnix

Ò»¡¢Àí½âLinuxµÄµ¥Óû§¶àÈÎÎñ£¬¶àÓû§¶àÈÎÎñ¸ÅÄ
Linux ÊÇÒ»¸ö¶àÓû§¡¢¶àÈÎÎñµÄ²Ù×÷ϵͳ£»ÎÒÃÇÓ¦¸ÃÁ˽ⵥÓû§¶àÈÎÎñºÍ¶àÓû§¶àÈÎÎñµÄ¸ÅÄ
1¡¢Linux µÄµ¥Óû§¶àÈÎÎñ£»
µ¥Óû§¶àÈÎÎñ£»±ÈÈçÎÒÃÇÒÔbeinan µÇ¼ϵͳ£¬½øÈëϵͳºó£¬ÎÒÒª´ò¿ªgedit À´Ð´Îĵµ£¬µ«ÔÚдÎĵµµÄ¹ý³ÌÖУ¬ÎҸоõÉÙµãÒôÀÖ£¬ËùÒÔÓÖ´ò¿ªxmms À´µãÒôÀÖ£»µ±È»ÌýµãÒôÀÖ»¹²»ÐУ¬MSN »¹µÃ´ò¿ª£¬ÏëÖªµÀ¼¸¸öµÜÐÖÏÖÔÚÕýÔÚ×öʲô£¬ÕâÑùÒ»Ñù£¬ÎÒÔÚÓÃbeinan Óû§µÇ¼ʱ£¬Ö´ÐÐÁËgedit ¡¢xmmsÒÔ¼°msnµÈ£¬µ±È»»¹ÓÐÊäÈë·¨fcitx £»ÕâÑù˵À´¾ÍÓеã¼òµ¥ÁË£¬Ò»¸öbeinanÓû§£¬ÎªÁËÍê³É¹¤×÷£¬Ö´ÐÐÁ˼¸¸öÈÎÎñ£»µ±È»beinanÕâ¸öÓû§£¬ÆäËüµÄÈË»¹ÄÜÒÔÔ¶³ÌµÇ¼¹ýÀ´£¬Ò²ÄÜ×öÆäËüµÄ¹¤×÷¡£
2¡¢Linux µÄ¶àÓû§¡¢¶àÈÎÎñ£»
ÓÐʱ¿ÉÄÜÊǺܶàÓû§Í¬Ê±ÓÃͬһ¸öϵͳ£¬µ«²¢²»ËùÓеÄÓû§¶¼Ò»¶¨¶¼Òª×öͬһ¼þÊ£¬ËùÒÔÕâ¾ÍÓжàÓû§¶àÈÎÎñ֮˵£»
¾Ù¸öÀý×Ó£¬±ÈÈçLinuxSir.Org ·þÎñÆ÷£¬ÉÏÃæÓÐFTP Óû§¡¢ÏµÍ³¹ÜÀíÔ±¡¢web Óû§¡¢³£¹æÆÕͨÓû§µÈ£¬ÔÚͬһʱ¿Ì£¬¿ÉÄÜÓеĵÜÐÖÕýÔÚ·ÃÎÊÂÛ̳£»ÓеĿÉÄÜÔÚÉÏ´«Èí¼þ°ü¹ÜÀí×ÓÕ¾£¬±ÈÈçluma »òYuking ÐÖÔÚ¹ÜÀíËûÃǵÄÖ÷ҳϵͳºÍFTP £»ÔÚÓë´Ëͬʱ£¬¿ÉÄÜ»¹»áÓÐϵͳ¹ÜÀíÔ±ÔÚά»¤ÏµÍ³£»ä¯ÀÀÖ÷Ò³µÄÓõÄÊÇnobody Óû§£¬´ó¼Ò¶¼ÓÃͬһ¸ö£¬¶øÉÏ´«Èí¼þ°üÓõÄÊÇFTPÓû§£»¹ÜÀíÔ±µÄ¶ÔϵͳµÄά»¤»ò²é¿´£¬¿ÉÄÜÓõÄÊÇÆÕͨÕʺŻò³¬¼¶È¨ÏÞrootÕʺţ»²»Í¬Óû§Ëù¾ßÓеÄȨÏÞÒ²²»Í¬£¬ÒªÍê³É²»Í¬µÄÈÎÎñµÃÐèÒª²»Í¬µÄÓû§£¬Ò²¿ÉÒÔ˵²»Í¬µÄÓû§£¬¿ÉÄÜÍê³ÉµÄ¹¤×÷Ò²²»Ò»Ñù£»
ÖµµÃ×¢ÒâµÄÊÇ£º¶àÓû§¶àÈÎÎñ²¢²»ÊÇ´ó¼Òͬʱ¼·µ½Ò»½ÓÔÚһ̨»úÆ÷µÄµÄ¼üÅ̺ÍÏÔʾÆ÷Ç°À´²Ù×÷»úÆ÷£¬¶àÓû§¿ÉÄÜͨ¹ýÔ¶³ÌµÇ¼À´½øÐУ¬±ÈÈç¶Ô·þÎñÆ÷µÄÔ¶³Ì¿ØÖÆ£¬Ö»ÒªÓÐÓû§È¨ÏÞÈκÎÈ˶¼ÊÇ¿ÉÒÔÉÏÈ¥²Ù×÷»ò·ÃÎʵģ»
3¡¢Óû§µÄ½ÇÉ«Çø·Ö£»
Óû§ÔÚϵͳÖÐÊÇ·Ö½ÇÉ«µÄ£¬ÔÚLinux ϵͳÖУ¬ÓÉÓÚ½ÇÉ«²»Í¬£¬È¨ÏÞºÍËùÍê³ÉµÄÈÎÎñÒ²²»Í¬£»ÖµµÃ×¢ÒâµÄÊÇÓû§µÄ½ÇÉ«ÊÇͨ¹ýUIDºÍʶ±ðµÄ£¬ÌرðÊÇUID£»ÔÚϵͳ¹ÜÀíÖУ¬ÏµÍ³¹ÜÀíÔ±Ò»¶¨Òª¼áÊØUID ΨһµÄÌØÐÔ£»
root Óû§£ºÏµÍ³Î¨Ò»£¬ÊÇÕæʵµÄ£¬¿ÉÒԵǼϵͳ£¬¿ÉÒÔ²Ù×÷ϵͳÈκÎÎļþºÍÃüÁӵÓÐ×î¸ßȨÏÞ£»
ÐéÄâÓû§£ºÕâÀàÓû§Ò²±»³Æ֮ΪαÓû§»ò¼ÙÓû§£¬ÓëÕæʵÓû§Çø·Ö¿ªÀ´£¬ÕâÀàÓû§²»¾ßÓеǼϵͳµÄÄÜÁ¦£¬µ«È´ÊÇϵͳÔËÐв»¿ÉȱÉÙµÄÓû§£¬±ÈÈçbin¡¢daemon¡¢adm¡¢ftp¡¢mailµÈ£»ÕâÀàÓû§¶¼ÏµÍ³×ÔÉíÓµÓеģ¬¶ø·ÇºóÀ´Ìí¼ÓµÄ£¬µ±È»ÎÒÃÇÒ²¿ÉÒÔÌí¼ÓÐéÄâÓû§£»
ÆÕͨÕæʵÓû§£ºÕâÀàÓû§ÄܵǼϵͳ£¬µ«Ö»ÄܲÙ×÷×Ô¼º¼ÒĿ¼µÄÄÚÈÝ£»È¨ÏÞÓÐÏÞ£


Ïà¹ØÎĵµ£º

LinuxÖÐÈçºÎÈýø³ÌÔÚºǫ́ÔËÐÐ


ÔÚLinuxÖУ¬Èç¹ûÒªÈýø³ÌÔÚºǫ́ÔËÐУ¬Ò»°ãÇé¿öÏ£¬ÎÒÃÇÔÚÃüÁîºóÃæ¼ÓÉÏ&¼´¿É£¬Êµ¼ÊÉÏ£¬ÕâÑùÊǽ«ÃüÁî·ÅÈëµ½Ò»¸ö×÷Òµ¶ÓÁÐÖÐÁË£º
$ ./test.sh &
[1] 17208
$ jobs -l
[1]+ 17208 Running ./test.sh &
¶ÔÓÚÒѾ­ÔÚǰִ̨ÐеÄÃüÁҲ¿ÉÒÔÖØзŵ½ºǫִ́ÐУ¬Ê×ÏÈ°´ctrl+zÔÝÍ£ÒѾ­ÔËÐеĽø³Ì£¬È ......

LinuxÏÂApacheÓëJboss·þÎñÆ÷ÅäÖÃÕûºÏʵÏÖ·½°¸

Ŀ¼
1 ÒýÑÔ... 3
1.1 ±³¾°... 3
1.2 ±àдĿµÄ... 3
1.3 ¶¨Òå... 3
1.4 ²Î¿¼×ÊÁÏ... 3
2. ApacheÓëJBoss·þÎñÆ÷¼ò½é... 3
2.1 Apache·þÎñÆ÷... 3
2.2 JBoss·þÎñÆ÷... 3
3. ApacheÓëJBoss·þÎñÆ÷ÅäÖÃÕûºÏ... 3
3.1 ÈÃApacheÓëJBossÒ»Æð¹¤×÷... 3
3.1.1 ¼ò½é... 3
3.1.2 »·¾³... 3
3.1.3 °²×°... 4
3.1.4 ÅäÖÃ... ......

linux file lock

linux file lock
linuxµÄÎļþËø·ÖΪÁ½ÖÖ£º
Ò»ÖÖÊÇadvasory lock£¬Ö»Äܱ£Ö¤½ø³ÌÄÚ¶Ôͬһ¸öÎļþËøµÄ»¥³âÓÐЧ£¬µ«ÊǶà¸ö½ø³Ì¿ÉÒÔͬʱ¶ÔÒ»¸öÎļþ¼Ó»¥³âµÄËø£¬ËùÒÔÕâÖÖËøÊǼÓÔÚfile ½á¹¹ÉÏ;Ò»ÖÖÊÇmandatory lock£¬ÕâÖÖËø¿ÉÒÔ±£Ö¤¶à¸ö½ø³ÌÎÞ·¨¶Ôͬһ¸öÎļþ¶¼¼ÓÉÏ»¥³âËø£¬ËùÒÔÕâÖÖËøÊǼÓÔÚinode ½á¹¹Éϵġ£
µ±¼Ómandatroy lockÊ ......

Linux ÎļþºÍĿ¼µÄÊôÐÔ


Linux ÎļþºÍĿ¼µÄÊôÐÔ
×÷Õߣº±±ÄÏÄϱ±
À´×Ô£ºhttp://www.linuxsir.org/main/?q=node/196
ÕªÒª£º±¾ÎĽ²ÊöµÄÊÇÎļþ»òĿ¼µÄÊôÐÔ£¬±ÈÈç½Úµãinode¡¢ÎļþÀàÐÍ¡¢ÎļþȨÏÞ¼°¹éÊô£»»¹¶Ôsetuid¡¢setgid¼°Õ³Ìùλ½øÐÐÁËÒ»°ãÐԵĽ²½â¡£¶Ôln
¡¢chmod¡¢umask¡¢chown¡¢chgrp ¡¢touch µÄÓ÷¨Ò²½øÐÐÁ˱ȽÏÏêϸµÄ˵Ã÷ºÍ¾ÙÀý£»
Ŀ¼ ......

Linux½ø³Ì¼äͨѶËùʹÓõÄϵͳµ÷Óú¯Êý


´°Ì嶥¶Ë
Ë÷Òý£º
1.fork¡¢execºÍexit¶ÔIPC¶ÔÏóµÄÓ°Ïì
2.fcntl¼Ç¼Ëø
3.¹ÜµÀºÍFIFOµÄÊôÐÔ
4.¹ÜµÀºÍFIFOµÄÏÞÖÆ
5.pipeº¯Êý
6.popenºÍpclose
7.mkfifoº¯Êý
8.System V IPC¹²ÐÔÃèÊö
9.msqid_ds½á¹¹
10.msggetº¯Êý
11.msgsndº¯Êý
12.msgrcvº¯Êý
13.msgctlº¯Êý
14.ÔÚSystem VÏûÏ¢¶ÓÁÐÉÏʹÓÃselectºÍpoll
15.sem ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ