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

LinuxϵͳÈÕÖ¾¹¦Äܼ°Æä¹ÜÀíÏê½â

 ±ÈÌØÍøתÔØ£ºhttp://datacenter.chinabyte.com/308/11039308.shtml
        ÈÕÖ¾¶ÔÓÚ°²È«À´Ëµ£¬·Ç³£ÖØÒª£¬Ëû¼Ç¼ÁËϵͳÿÌì·¢ÉúµÄ¸÷ÖÖ¸÷ÑùµÄÊÂÇ飬Äã¿ÉÒÔͨ¹ýËûÀ´¼ì²é´íÎó·¢ÉúµÄÔ­Òò£¬»òÕßÊܵ½¹¥»÷ʱ¹¥»÷ÕßÁôϵĺۼ£¡£ÈÕÖ¾Ö÷ÒªµÄ¹¦ÄÜÓУºÉó¼ÆºÍ¼à²â¡£Ëû»¹¿ÉÒÔʵʱµÄ¼à²âϵͳ״̬£¬¼à²âºÍ×·×ÙÇÖÈëÕߵȵȡ£
¡¡¡¡ÔÚLinuxϵͳÖУ¬ÓÐÈý¸öÖ÷ÒªµÄÈÕÖ¾×Óϵͳ£º
¡¡¡¡Á¬½Óʱ¼äÈÕÖ¾--Óɶà¸ö³ÌÐòÖ´ÐУ¬°Ñ¼Í¼дÈëµ½/var/log/wtmpºÍ/var/run/utmp£¬loginµÈ³ÌÐò¸üÐÂwtmpºÍutmpÎļþ£¬Ê¹ÏµÍ³¹ÜÀíÔ±Äܹ»¸ú×ÙË­ÔÚºÎʱµÇ¼µ½ÏµÍ³¡£
¡¡¡¡½ø³Ìͳ¼Æ--ÓÉϵͳÄÚºËÖ´ÐС£µ±Ò»¸ö½ø³ÌÖÕֹʱ£¬ÎªÃ¿¸ö½ø³ÌÍù½ø³Ìͳ¼ÆÎļþ£¨pacct»òacct£©ÖÐдһ¸ö¼Í¼¡£½ø³Ìͳ¼ÆµÄÄ¿µÄÊÇΪϵͳÖеĻù±¾·þÎñÌṩÃüÁîʹÓÃͳ¼Æ¡£
¡¡¡¡´íÎóÈÕÖ¾--ÓÉsyslogd£¨8£©Ö´ÐС£¸÷ÖÖϵͳÊØ»¤½ø³Ì¡¢Óû§³ÌÐòºÍÄÚºËͨ¹ýsyslog£¨3£©ÏòÎļþ/var/log/messages±¨¸æÖµµÃ×¢ÒâµÄʼþ¡£ÁíÍâÓÐÐí¶àUNIX³ÌÐò´´½¨ÈÕÖ¾¡£ÏñHTTPºÍFTPÕâÑùÌṩÍøÂç·þÎñµÄ·þÎñÆ÷Ò²±£³ÖÏêϸµÄÈÕÖ¾¡£
¡¡¡¡³£ÓõÄÈÕÖ¾ÎļþÈçÏ£º
¡¡¡¡access-log¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ ¼Í¼HTTP/webµÄ´«Êä
¡¡¡¡acct/pacct¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ ¼Í¼Óû§ÃüÁî
¡¡¡¡aculog¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ ¼Í¼MODEMµÄ»î¶¯
¡¡¡¡btmp¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¼Í¼ʧ°ÜµÄ¼Í¼
¡¡¡¡lastlog¡¡¡¡¼Í¼×î½ü¼¸´Î³É¹¦µÇ¼µÄʼþºÍ×îºóÒ»´Î²»³É¹¦µÄµÇ¼
¡¡¡¡messages¡¡¡¡¡¡¡¡´ÓsyslogÖмǼÐÅÏ¢£¨ÓеÄÁ´½Óµ½syslogÎļþ£©
¡¡¡¡sudolog¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ ¼Í¼ʹÓÃsudo·¢³öµÄÃüÁî
¡¡¡¡sulog¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ ¼Í¼ʹÓÃsuÃüÁîµÄʹÓÃ
¡¡¡¡syslog¡¡¡¡¡¡¡¡ ´ÓsyslogÖмǼÐÅÏ¢£¨Í¨³£Á´½Óµ½messagesÎļþ£©
¡¡¡¡utmp¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¼Í¼µ±Ç°µÇ¼µÄÿ¸öÓû§
¡¡¡¡wtmp¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Ò»¸öÓû§Ã¿´ÎµÇ¼½øÈëºÍÍ˳öʱ¼äµÄÓÀ¾Ã¼Í¼
¡¡¡¡xferlog¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ ¼Í¼FTP»á»°
¡¡¡¡utmp¡¢wtmpºÍlastlogÈÕÖ¾ÎļþÊǶàÊýÖØÓÃUNIXÈÕÖ¾×ÓϵͳµÄ¹Ø¼ü--±£³ÖÓû§µÇ¼½øÈëºÍÍ˳öµÄ¼Í¼¡£Óйص±Ç°µÇ¼Óû§µÄÐÅÏ¢¼Ç¼ÔÚÎļþutmpÖУ»µÇ¼½øÈëºÍÍ˳ö¼Í¼ÔÚÎļþwtmpÖУ»×îºóÒ»´ÎµÇ¼Îļþ¿ÉÒÔÓÃlastlogÃüÁî²ì¿´¡£Êý¾Ý½»»»¡¢¹Ø»úºÍÖØÆðÒ²¼Ç¼ÔÚwtmpÎļþÖС£ËùÓеļͼ¶¼°üº¬Ê±¼ä´Á¡£ÕâЩÎļþ£¨lastlogͨ³£²»´ó£©ÔÚ¾ßÓдóÁ¿Óû§µÄϵͳÖÐÔö³¤Ê®·ÖѸËÙ¡£ÀýÈçwtmpÎļþ¿ÉÒÔÎÞÏÞÔö³¤£¬³ý·Ç¶¨ÆÚ½ØÈ¡¡£Ðí¶àϵͳÒÔÒ»Ìì»òÕßÒ»ÖÜΪµ¥Î»°ÑwtmpÅäÖóÉÑ


Ïà¹ØÎĵµ£º

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

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

linuxÏ°²×°gd¿â²¢ÇÒÖ§³Ösocket

Ò»¡¢ÏÂÔØ
gd-2.0.33.tar.gz http://www.boutell.com/gd/
jpegsrc.v6b.tar.gz http://www.ijg.org/
libpng-1.2.7.tar.tar http://sourceforge.net/projects/libpng/
zlib-1.2.2.tar.gz http://sourceforge.net/projects/zlib/
freetype-2.1.9.tar.gz http://sourceforge.net/projects/freetype/
php-4.3.9.tar.g ......

linuxÏÂfile descriptoerÏÞÖÆ


linuxÏÂfile descriptoerÏÞÖÆ
ĬÈÏ·ÖÀà   2009-11-21 14:47   ÔĶÁ0   ÆÀÂÛ0  
×ֺţº ´ó´ó  ÖÐÖР СС
Tuning file descriptor limits on Linux
Linux limits the number of file descriptors that any one process may open; the default limits are 1024 p ......

¡¾×ª¡¿linux socket()µ÷ÓÃÓëarp±¨ÎÄ·¢ËÍ

 LinuxÌṩ×î³£ÓõÄÍøÂçͨÐÅÓ¦ÓóÌÐò¿ª·¢½Ó¿Ú--BerkerleyÌ×½Ó×Ö(Socket)£®Ëü¼ÈÊÊÓÃÓÚͬһÖ÷»úÉϽø³Ì¼äͨÐÅ(IPC)£¬ÓÖÊÊÓÃÓÚ²»Í¬Ö÷»úÉϵĽø³Ì¼äͨÐÅ¡£Ì×½Ó×ÖµÄÉèÖÃͨ¹ýsocketµ÷ÓÃÍê³É£º
int socket(int family,int type,int protocol);
ÆäÖÐfamilyָͨÐÅÓò»òЭÒé×壬Linuxϵͳ֧³ÖµÄÍøÂçЭÒé×åÓÐPF_UNIX£¬PF_IPX£¬PF_P ......

Linux Æô¶¯Ë³Ðò

 Linux Æô¶¯Ë³Ðò£º
1¡¢ BIOS×Ô¼ì
2¡¢ ÔËÐÐϵͳÄں˲¢¼ì²âÓ²¼þ
3¡¢ ÔËÐÐϵͳµÄµÚÒ»¸ö½ø³Ìinit
4¡¢ init¶ÁȡϵͳÒýµ¼ÅäÖÃÎļþ/etc/inittabÖеÄÐÅÏ¢½øÐгõʼ»¯
             /etc/rc.d/rc.sysinit------ϵͳ³õʼ»¯½Å±¾
      ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ