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

LinuxÆô¶¯È«ÏßÌáËÙ·¨

×¼±¸¹¤×÷
Èç¹ûÏë²ÉÓñ¾ÎĽéÉܵķ½·¨¶ÔLinuxϵͳ½øÐÐÉèÖã¬Ê×ÏÈÒªÊìϤLinuxϵͳµÄÉèÖÃÓïÑÔ¡£¶ÔϵͳµÄÆô¶¯¹ý³Ì½øÐÐÉèÖÃÊÇÒ»Ïî±È½ÏΣÏÕµÄÐÐΪ£¬ÈÝÒ×Ôì³Éϵͳ ÎÞ·¨Æô¶¯¡£Ò»µ©·¢ÉúÕâÖÖÇé¿ö£¬×îºÃÖØÐÂÆô¶¯ÏµÍ³ºóÑ¡Ôñµ¥Ò»Óû§Ä£Ê½£¬½«ÏµÍ³»¹Ô­²¢ÖØÆô¡£µ±È»£¬×îÖØÒªµÄÊÇÔÚÉèÖÃÇ°±¸·ÝÖØÒªÊý¾Ý¡£
Æä´Î£¬½¨ÒéÓû§×îºÃÔÚ¶Ô±¾»úϵͳ½øÐÐÐÞ¸ÄÇ°£¬ÏȽøÐÐÐ޸IJâÊÔ¡£Èç¹ûÓû§Ö»ÓÐһ̨¼ÆËã»ú£¬ÄÇôÕâÀィÒéʹÓÃÓû§Ä£Ê½Linuxϵͳ£¨UML£©½øÐвâÊÔ¡£ UMLÊÇÒ»¸öÄں˲¹¶¡£¬Ëü¿ÉÒÔ½«LinuxϵͳµÄÄÚºËתÒë³ÉΪ¶þ½øÖÆ£¬ÒÔ±ãÓû§¿ÉÒÔÏñʹÓÃÆÕͨÈí¼þÄÇÑùÔËÐÐLinuxϵͳ¡£Ò»µ©³öÏÖÒâÍâÇé¿ö£¬ËðʧµÄÖ»ÊÇ UML£¬¶øԭϵͳȴ¿É°²È»ÎÞí¦¡£
LinuxϵͳµÄÆô¶¯Ë³ÐòºÍrunlevel
LinuxϵͳµÄÆô¶¯°üÀ¨¶à¸ö²½Ö裬ÕâÀïÖ÷Òª½éÉÜÒ»ÏÂÄں˼ÓÔغóµÄϵͳÆô¶¯²½Öè¡£Óû§¿ÉÒÔͨ¹ýÔËÐÐ/sbin/runlevelÃüÁîÀ´²é¿´ÏµÍ³Ä¿Ç°µÄ runlevel¡£runlevelÊÇLinuxϵͳÓÃÀ´Çø±ðϵͳ¸ß¼¶Æô¶¯ÉèÖÃÀàÐ͵ÄÊý×Ö¡£ÕâЩÊý×ÖÊ®·Ö³£¼û£¬ËüÃÇÖеľø´ó¶àÊý¶¼ÓÐ×ÅÃ÷È·µÄº¬Òå¡£ÒÔ Red Hat LinuxϵͳΪÀý£¬ËüµÄrunlevelÖ÷ÒªÓÐÒÔϼ¸ÖÖ£¨¼û±í1£©£º
initÈçºÎ³õʼ»¯ÏµÍ³
init¿ÉÒÔͨ¹ýÒ»¸öASC¢òÉèÖÃÎļþµÃÖªÈçºÎ¸Ä±äϵͳµÄrunlevel¡£Í¨³£Çé¿öϸÃÉèÖÃÎļþ¿ÉÒÔÖ¸ÒýinitÀ´Ö´ÐÐ/etc/rc.d/rcÃüÁ´Ó¶ø»ñµÃrunlevelµÄÏà¹ØÐÅÏ¢¡£
ϵͳ·þÎñ
Óû§ËùÐèÒªµÄ¸÷ÖÖϵͳ·þÎñ¶¼ÊÇÓÉrcÖ¸Áî³ÌÐòÀ´Æô¶¯µÄ¡£ÏµÍ³Ç±ÔڵķþÎñ·×·±¸´ÔÓ¡£´ó¶àÊýLinuxϵͳͨ³£Ö»Ìṩsshd(SecureShell·þÎñ)¡¢syslog(ϵͳÈÕÖ¾¹¤¾ß)ºÍlpd(´òÓ¡·þÎñ)µÈ¹¦ÄÜ¡£
Óû§¿ÉÒÔ´Ó/etc/rc.d/Ŀ¼ÖÐÕÒµ½ËùÓеķþÎñ¡£Èç¹û´ò¿ªÕâ¸öĿ¼£¬»á·¢ÏÖÐí¶à·þÎñÖ»ÊÇÒ»ÖÖÍâ¿Ç³ÌÐò£¬ËüÖ»ÊÇÒýµ¼ÆäËü³ÌÐòÀ´Íê³É¹¤×÷¡£Ò²ÐíÓÐÈË»á ÎÊ£¬rc³ÌÐòÊÇÈçºÎÖªµÀÿ¸örunlevelÒªÔËÐÐÄÄЩ³ÌÐòÄØ£¿´ð°¸ÊÇÔÚ/etc/rc.d/Ŀ¼ÏÂÃæÓëinit.d/Ŀ¼²¢ÁеĻ¹ÓÐһЩĿ¼£¬ËüÃǸ÷×Ô ¶ÔÓ¦×Å×Ô¼ºµÄrunlevel¡£ËüÃǵÄÃû³ÆΪrc*.d/£¬ÀýÈçrunlevel 5¾ÍÊÇ/etc/rc.d/rc5.d/¡£Ã¿¸örc*.d/Ŀ¼Öаüº¬×ÅÁ½¸ö·ûºÅÁ´½Ó£¬ÕâЩÁ´½Ó¿ÉÒÔÁ¬½Óµ½/etc/init.d/Ŀ¼ÖеÄÖ¸¶¨·þÎñ³Ì Ðò¡£
¶¯ÊÖ¸ÄÔì
·þÎñµÄÆô¶¯ºÍÖÕÖ¹
Èç¹ûÓû§¾ö¶¨ÒªÆô¶¯Linuxϵͳ²¢½øÈëͼÐÎģʽ£¨runlevel 5£©£¬ÄÇôµ±initÒýµ¼rcÖ¸Áî³ÌÐòÔËÐв¢½«runlevelµÄ¼¶Êý¸æÖªËüʱ£¬rcÖ¸Áî³ÌÐò½«¶Ô/etc/rc.d/rc5.d/½øÐв鿴£¬½Ó×ÅËü½«Ö´ ÐдӸÃĿ¼ÖÐÕÒµ½ËùÓÐÁ´½Ó¡£rcÖ¸Áî³ÌÐòÖ´ÐÐÁ´½ÓµÄ¹ý³Ì¿É·ÖΪÁ½²¿·Ö£¬Ê×ÏÈËü½«Ö´ÐÐËùÓÐÃû³ÆÒÔ“K”´òÍ·µÄÁ´½Ó£¬½«“stop”²ÎÊý´«µ


Ïà¹ØÎĵµ£º

[תÌû]LinuxÇý¶¯¿ª·¢Ñ§Ï°µÄһЩ±ØÒª²½Öè

 1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......

Linux SVNµÄ°²×°Ê¹ÓÃ


Linux SVNµÄ°²×°Ê¹ÓÃ
The goal of the Subversion project is to build a version control system that is a compelling replacement for CVS in the open source community. The software is released under an Apache/BSD-style open source license.
SVNÊÇÒ»¸ö°æ±¾¿ØÖÆÈí¼þ£¬ÀàËÆCVS£¬µ«ÊÇSVNµÄµÄÓеãÊÇ¿ªÔ´µÄ£¬¶øÇÒ ......

Linux/CentOS ʹÓà iptables·âip¶Î

 linuxÏÂʵÓÃiptables·âip¶ÎµÄһЩ³£¼ûÃüÁ
·âµ¥¸öIPµÄÃüÁîÊÇ£º
iptables -I INPUT -s 211.1.0.0 -j DROP
·âIP¶ÎµÄÃüÁîÊÇ£º
iptables -I INPUT -s 211.1.0.0/16 -j DROP
iptables -I INPUT -s 211.2.0.0/16 -j DROP
iptables -I INPUT -s 211.3.0.0/16 -j DROP
·âÕû¸ö¶ÎµÄÃüÁîÊÇ£º
iptables -I INPU ......

linux viÃüÁîʹÓÃ

 linuxÏÂvi±à¼­Æ÷ÃüÁî
Îı¾±à¼­Æ÷ÊÇËùÓмÆËã»úϵͳÖÐ×î³£ÓõÄÒ»ÖÖ¹¤¾ß¡£UNIXϵı༭Æ÷ÓÐex,sedºÍviµÈ£¬ÆäÖУ¬Ê¹ÓÃ×îΪ¹ã·ºµÄÊÇvi£¬¶øviÃüÁî·±¶à£¬ÂÛ̳ÀïºÃÏñÕâ·½ÃæµÄ×ܽ᲻¶à£¬ÒÔÏÂÉÔ×ö×ܽᣬÒÔ×ʹ²Ïí!¿ÊÍû¸üÕýºÍ²¹³ä!
¡¡¡¡½øÈëviµÄÃüÁî
¡¡¡¡vi filename :´ò¿ª»òн¨Îļþ£¬²¢½«¹â±êÖÃÓÚµÚÒ»ÐÐÊ×
¡¡¡¡vi +n filena ......

linux Óëwindows netstatÃüÁî²é¿´¶Ë¿ÚÊÇ·ñÕ¼ÓÃ

 netstatÃüÁîÊÇÒ»¸ö¼à¿ØTCP/IPÍøÂçµÄ·Ç³£ÓÐÓõŤ¾ß£¬Ëü¿ÉÒÔÏÔʾ·ÓÉ±í¡¢Êµ¼ÊµÄÍøÂçÁ¬½ÓÒÔ¼°Ã¿Ò»¸öÍøÂç½Ó¿ÚÉ豸µÄ״̬ÐÅÏ¢£¬ÕâÀïÎÒÖ»Óõ½ÆäÖеIJ¿·Ö¹¦ÄÜ.
netstat µÄ³£ÓòÎÊý: - t¡¢- u¡¢- wºÍ- x·Ö±ð±íʾTCP¡¢UDP¡¢RAWºÍUNIXÌ×½Ó×ÖÁ¬½Ó¡£-a±ê¼Ç£¬»¹»áÏÔʾ³öµÈ´ýÁ¬½Ó£¨Ò²¾ÍÊÇ˵´¦ÓÚ¼àÌýģʽ£©µÄÌ×½Ó×Ö¡£-l ÏÔʾÕýÔÚ±» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ