linuxϵͳÆô¶¯½Å±¾
Fedora ÏÂÊÇÓÐ/etc/inittabÎļþµÄ£¬¶øÔÚUbuntuÖÐÊÇûÓÐÕâÒ»¸öÎļþµÄ£¬ÒòΪÔÚubuntuÖУ¬inittabÈí¼þ°üÒѾ±»upstartÈí¼þ°üÌæ»»ÁË£¬ËùÓеÄÅäÖÃÐÅÏ¢¶¼ÔÚ/etc/event.d/Ŀ¼Ï¡£inittabÎļþÔÚinittabÀïÃæÕâÑùÃèÊöµÄ£¬This inittab file describes how the INIT process should set up the system in a certain run-level.¼´ÔÚlinuxÆô¶¯Ê±£¬»áÔËÐÐÒ»¸öinit³ÌÐò£¬È»ºóÓÉËüÆô¶¯ºóÃæµÄÈÎÎñ£¬°üÀ¨Óû§»·¾³£¬ÍøÂçµÈ¡£µ½µ×ʲôÊÇÔËÐм¶ÄØ£¿¼òµ¥µÄ˵£¬ÔËÐм¶¾ÍÊDzÙ×÷ϵͳµ±Ç°ÕýÔÚÔËÐеŦÄܼ¶±ð¡£Õâ¸ö¼¶±ð´Ó1 µ½6 £¬¾ßÓв»Í¬µÄ¹¦ÄÜ¡£ÕâЩ¼¶±ðÔÚ/etc/inittab(ÔÚFedoraÏÂÊÇÕâÑù,±ðµÄ·¢ÐаæÖв»¿ÉÄÜ´æÔÚÕâ¸öÎļþ) ÎļþÀïÖ¸¶¨¡£Õâ¸öÎļþÊÇinit³ÌÐòÑ°ÕÒµÄÖ÷ÒªÎļþ£¬×îÏÈÔËÐеķþÎñÊÇÄÇЩ·ÅÔÚ/etc/rc.d(FedoraÏÂÓÐÕâ¸öĿ¼,ÆäËûLinux·¢ÐаæÖв»Ò»¶¨ÓÐЩĿ¼) Ŀ¼ÏµÄÎļþ¡£
Fedora£¨8.0£©ÔÚ/etcĿ¼ÏÂÓÐÒ»¸örc.dĿ¼£¬ÀïÃæÓÐrcn.dĿ¼(n´ú±í´Ó1£6µÄÊý×Ö)£¬init.dĿ¼£¬»¹ÓÐÈý¸ö½Å±¾rc.local,rc,rc.sysinit.
¶ø/etcĿ¼Ï嵀 rc£¬rc0.d/£¬rc1.d/£¬rc2.d/£¬rc3.d/£¬rc4.d/£¬rc5.d/£¬rc6.d/£¬rc.local£¬rc.sysinit ¾ùÊǵ½/etc/rc.dĿ¼ÏµÄÈíÁ´½Ó¡£
Ubuntu(7.10)ÏÂ/etcĿ¼ÏÂûÓÐrc.dĿ¼,/etcĿ¼ÏÂÖ±½Ó´æ·Å×Årc0.d/£¬rc1.d/£¬rc2.d/£¬rc3.d/£¬rc4.d/£¬rc5.d/£¬rc6.d/£¬rc.local£¬rcS.d/£¬init.d/
ÆäÖУ¬ÔÚinit.dĿ¼Ï´æ·Å×ÅһЩϵͳÆô¶¯½Å±¾¡£rc*.dĿ¼Ï¶¼ÊÇһЩµ½/etc/init.dĿ¼ÏµÄÈíÁ´½Ó¡£
rcºóÃæµÄÊý×Ö£¬²»ÑÔ¶øÃ÷£¬ÆäʵÊÇ´ú±íϵͳµÄrunlevel,ÓÉÓÚLinuxµÄ·¢Ðа汾Öڶ࣬ËùÒÔÊý×Ö¼¶±ðÔÚ²»Í¬µÄ·¢ÐаæÀïËù´ú±íº¬Òå²»Ò»Ñù£¬ÈçÐè¸ü¸ÄÄãµÄlinux·¢Ðа棬Îñ±ØÏÈ×ÐϸÔĶÁ×Ô¼ºËùÓÃlinux°æ±¾µÄ·¢ÐÐÎĵµ¡£±ÈÈ磬Fedora µÄrunlevel 3ÊÇÎÞGUIµÄ¶àÓû§Ä£Ê½£¬¶øUBUNTUµÄ2²ÅÊǶàÓû§Ä£Ê½£¬ÇÒÔÚServer°æ±¾Àï2ÊÇĬÈÏÆô¶¯¼¶±ð¡£
rc.localÖ»ÔËÐÐÒ»´Î£¬½öÔÚϵͳÆô¶¯Ê±.ËüÊÇÔÚϵͳÀïÆäËû½Å±¾ÒѾÔËÐÐÍê±Ï,ÔڵǼÌáʾ·û³öÏÖÇ°ÔËÐÐ.ÔÚDebianÀïÊDz»ÓÃrc.localÀï×÷Æô¶¯½Å±¾µÄ.UbuntuÖеÄrc3.dĿ¼ÏµÄS99rc.localÊǵ½/etc/init.d/rc.localµÄÈíÁ´½Ó.¶ø/etc/ϵÄrc.localÎļþÊÇÒ»¸ö¿ÕÎļþ.FedoraϵÄ/etc/rc3.d/SSlocalÊǵ½/etc/rc.localÎļþµÄÁ´½Ó.
¸Ä±äÔËÐ춱ð(runlevel)ºÍϵͳÆô¶¯Ê²Ã´·þÎñ,¸ü¸Ärc.localÕâÑùµÄ½Å±¾,ÊÖ¶¯¸ü¸ÄÅäÖÃÎļþÊÇ¿ÉÒÔµÄ,µ«ÊÖ¶¯¸Äд²»ÊDZØÒªµÄ.ÔÚFedoraÖÐÓÐchkconfigÃ
Ïà¹ØÎĵµ£º
2009 Äê 4 ÔÂ 23 ÈÕ
±¾ÎÄÖÐÎÒÃÇÕë¶Ô Linux É϶àÏ̱߳à³ÌµÄÖ÷ÒªÌØÐÔ×ܽá³ö 5 Ìõ¾Ñ飬ÓÃÒÔ¸ÄÉÆ Linux ¶àÏ̱߳à³ÌµÄÏ°¹ßºÍ±ÜÃâÆäÖеĿª·¢ÏÝÚå¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃÇ´©²åһЩ Windows µÄ±à³ÌÓÃÀýÓÃÒÔ¶Ô±È Linux ÌØÐÔ£¬ÒÔ¼ÓÉî¶ÁÕßÓ¡Ïó¡£
±³¾°
Linux ƽ̨ÉϵĶàÏ̳߳ÌÐò¿ª·¢Ïà¶ÔÓ¦ÆäËûƽ̨£¨±ÈÈç Windows£©µÄ¶àÏß³Ì API ÓÐһЩϸ΢ ......
È·¶¨Òª±¸·ÝµÄÄÚÈÝ
ÔÚ±¸·ÝºÍ»¹Ôϵͳʱ£¬Linux »ùÓÚÎļþµÄÐÔÖʳÉÁËÒ»¸ö¼«´óµÄÓŵ㡣ÔÚ Windows ϵͳÖУ¬×¢²á±íÓëϵͳÊǷdz£Ïà¹ØµÄ¡£ÅäÖúÍÈí¼þ°²×°²»½ö½öÊǽ«Îļþ·Åµ½ÏµÍ³ÉÏ¡£Òò´Ë£¬»¹Ôϵͳ¾ÍÐèÒªÓÐÄܹ»´¦Àí Windows ÕâÖÖÌØÐÔµÄÈí¼þ¡£ÔÚ Linux ÖУ¬Çé¿ö¾Í²»Ò»ÑùÁË¡£ÅäÖÃÎļþÊÇ»ùÓÚÎı¾µÄ£¬²¢ÇÒ³ýÁËÖ±½Ó´¦À ......
£¨1£©Òì³£µÄ¸ÅÄî
ÖжÏÐźÅÊÇÒ»¸öͳ³Æ£¬Í³³ÆÄÇЩ¸Ä±äCPUÖ¸ÁîÖ´ÐÐÐòÁеÄʼþ¡£µ«ËüÓÖ·ÖΪÁ½ÖÖ£º
Ò»ÖÖÊÇͬ²½µÄ£¬Ã»ÄÇôͻȻ£¬ÒòΪËüÖ»ÔÚÒ»¸öÖ¸ÁîµÄÖ´ÐÐÖÕÖ¹Ö®ºó²Å·¢Éú£¬ÊéÖÐÒÀ´ÓIntelµÄ¹ßÀý£¬³ÆΪÒì³££¨Exception£©¡£Ò»°ãÊDZà³Ì´íÎó£¨Ò»°ãµÄ´¦ÀíÊÇ·¢Ðźţ©»òÕßÄں˱ØÐë´¦ÀíµÄÒì³£Çé¿ö£¨Äں˻ ......
1.Ê×ÏÈÒªÖªµÀʲôÊÇORACLEµÄ¿Í»§¶Ë£º
Oracle Instant client ÊÇoracleÌṩµÄ¼ò±ã¿Í»§¶Ë, Ö§³Ö¶àÖÖƽ̨. ¿É´ÓoracleÍøÕ¾ÏÂÔØ, ÏÂÔصØַΪ
http://www.oracle.com/technology/tech/oci/instantclient/index.html
ÕâʱÄã°´¸ölibaioµÄ¿â¾Í¿ÉÒÔÁË¡£
2. [root@localhost sdk]# ./occidml
./occidml: error while loading sh ......
¡¢LinuxÀï²é¿´ËùÓÐÓû§
¡¡¡¡linuxÀï,²¢Ã»ÓÐÏñwindowsµÄnet user,net localgroupÕâЩ·½±ãµÄÃüÁîÀ´ÖÎÀíÓû§.
¡¡¡¡Xwindows½çÃæµÄ¾Í²»ËµÁË.
¡¡¡¡£¨1£©ÔÚÖÕ¶ËÀï.ÆäʵֻÐèÒª²é¿´ /etc/passwdÎļþ¾ÍÐÐÁË.
¡¡¡¡£¨2£©¿´µÚÈý¸ö²ÎÊý:500ÒÔÉϵÄ,¾ÍÊǺóÃ潨µÄÓû§ÁË.ÆäËüÔòΪϵͳµÄÓû§.
¡¡¡¡»òÕßÓÃcat /etc/passwd |cut -f 1 -d : ......