Linux¸÷¸öÎļþ¼ÐµÄÖ÷Òª×÷ÓÃ
linuxϵÄÎļþ½á¹¹£¬¿´¿´Ã¿¸öÎļþ¼Ð¶¼ÊǸÉÂðÓõÄ
/bin ¶þ½øÖÆ¿ÉÖ´ÐÐÃüÁî
/dev É豸ÌØÊâÎļþ
/etc ϵͳ¹ÜÀíºÍÅäÖÃÎļþ
/etc/rc.d Æô¶¯µÄÅäÖÃÎļþºÍ½Å±¾
/home Óû§Ö÷Ŀ¼µÄ»ùµã£¬±ÈÈçÓû§userµÄÖ÷Ŀ¼¾ÍÊÇ/home/user£¬¿ÉÒÔÓÃ~user±íʾ
/lib ±ê×¼³ÌÐòÉè¼Æ¿â£¬Óֽж¯Ì¬Á´½Ó¹²Ïí¿â£¬×÷ÓÃÀàËÆwindowsÀïµÄ.dllÎļþ
/sbin ϵͳ¹ÜÀíÃüÁÕâÀï´æ·ÅµÄÊÇϵͳ¹ÜÀíԱʹÓõĹÜÀí³ÌÐò
/tmp ¹«ÓõÄÁÙʱÎļþ´æ´¢µã
/root ϵͳ¹ÜÀíÔ±µÄÖ÷Ŀ¼£¨ºÇºÇ£¬ÌØȨ½×¼¶£©
/mnt ϵͳÌṩÕâ¸öĿ¼ÊÇÈÃÓû§ÁÙʱ¹ÒÔØÆäËûµÄÎļþϵͳ¡£
/lost+found Õâ¸öĿ¼ƽʱÊǿյģ¬ÏµÍ³·ÇÕý³£¹Ø»ú¶øÁôÏ“Î޼ҿɹ锵ÄÎļþ£¨windowsϽÐʲô.chk£©¾ÍÔÚÕâÀï
/proc ÐéÄâµÄĿ¼£¬ÊÇϵͳÄÚ´æµÄÓ³Éä¡£¿ÉÖ±½Ó·ÃÎÊÕâ¸öĿ¼À´»ñȡϵͳÐÅÏ¢¡£
/opt ´æ·Å¿ÉÑ¡³ÌÐòµÄĿ¼£¬±ÈÈçÎÒÏë°²×°firefoxµÄ×îÐÂbeta°æ£¬¿ÉÒÔ·ÅÔÚÕâÀжÔصĻ°É¾³ýÄǸöÎļþ¼ÐºÃÁË
/var ijЩ´óÎļþµÄÒç³öÇø£¬±È·½Ëµ¸÷ÖÖ·þÎñµÄÈÕÖ¾Îļþ
/usr ×îÅÓ´óµÄĿ¼£¬ÒªÓõ½µÄÓ¦ÓóÌÐòºÍÎļþ¼¸ºõ¶¼ÔÚÕâ¸öĿ¼¡£ÆäÖаüº¬£º
/usr/x11r6 ´æ·Åx windowµÄĿ¼
/usr/bin ÖÚ¶àµÄÓ¦ÓóÌÐò
/usr/sbin ³¬¼¶Óû§µÄһЩ¹ÜÀí³ÌÐò
/usr/doc linuxÎĵµ
/usr/include linuxÏ¿ª·¢ºÍ±àÒëÓ¦ÓóÌÐòËùÐèÒªµÄÍ·Îļþ
/usr/lib ³£ÓõĶ¯Ì¬Á´½Ó¿âºÍÈí¼þ°üµÄÅäÖÃÎļþ
/usr/man °ïÖúÎĵµ
/usr/src Ô´´úÂ룬linuxÄں˵ÄÔ´´úÂë¾Í·ÅÔÚ/usr/src/linuxÀï
/usr/local/bin ±¾µØÔö¼ÓµÄÃüÁî
/usr/local/lib ±¾µØÔö¼ÓµÄ¿â
ÏÂÃæÊǸ÷¸öÎļþ¼ÐµÄÏêϸ×÷ÓÃ
/etcÎļþϵͳ
/etc Ŀ¼°üº¬¸÷ÖÖϵͳÅäÖÃÎļþ£¬ÏÂÃæ˵Ã÷ÆäÖеÄһЩ¡£ÆäËûµÄÄãÓ¦¸ÃÖªµÀËüÃÇÊôÓÚÄĸö
³ÌÐò£¬²¢ÔĶÁ¸Ã³ÌÐòµÄm a nÒ³¡£Ðí¶àÍøÂçÅäÖÃÎļþÒ²ÔÚ/etc ÖС£
1. /etc/rc»ò/etc/rc.d»ò/etc/rc?.d
Æô¶¯¡¢»ò¸Ä±äÔËÐм¶Ê±ÔËÐеĽű¾»ò½Å±¾µÄĿ¼¡£
2. /etc/passwd
Óû§Êý¾Ý¿â£¬ÆäÖеÄÓò¸ø³öÁËÓû§Ãû¡¢ÕæʵÐÕÃû¡¢Óû§ÆðʼĿ¼¡¢¼ÓÃÜ¿ÚÁîºÍÓû§µÄÆä
ËûÐÅÏ¢¡£
3. /etc/fdprm
ÈíÅ̲ÎÊý±í£¬ÓÃÒÔ˵Ã÷²»Í¬µÄÈíÅ̸ñʽ¡£¿ÉÓÃsetfdprm ½øÐÐÉèÖ᣸ü¶àµÄÐÅÏ¢¼ûs e t f d p r m
µÄ°ïÖúÒ³¡£
4. /etc/fstab
Ö¸¶¨Æô¶¯Ê±ÐèÒª×Ô¶¯°²×°µÄÎļþϵͳÁÐ±í¡£Ò²°üÀ¨ÓÃswapon -aÆôÓõÄs w a pÇøµÄÐÅÏ¢¡£
5. /etc/group
ÀàËÆ/etc/passwd £¬µ«ËµÃ÷µÄ²»ÊÇÓû§ÐÅÏ¢¶øÊÇ×éµÄÐÅÏ¢¡£°üÀ¨×éµÄ¸÷ÖÖÊý¾Ý¡£
6. /etc/inittab
init µÄÅäÖÃÎļþ¡£
7. /etc/issue
°üÀ¨Óû§ÔÚµÇÂ
Ïà¹ØÎĵµ£º
ѧ×öǶÈëʽLinuxϵͳ£¨×ª£©
ת×Ô£ºhttp://www.dzkf.cn/html/qianrushixitong/2006/0731/120.html
×öÒ»¸öǶÈëʽLinuxϵͳ¾¿¾¹Òª×öÄÄЩ¹¤×÷
×öÒ»¸öǶÈëʽLinuxϵͳ¾¿¾¹ÐèÒª×öÄÄЩ¹¤×÷£¿Ò²¾ÍÊDZ¾Îľ¿¾¹Òª½²ÊöÄÄЩÄÚÈÝ£¿ÎÒÏȽéÉÜÒ»¸öÂöÂ磬¿ÉÒÔ×öΪÎÒÃǺóÃ湤×÷µÄÒ»¸ö×ܵÄÌá¸Ù£º
µÚÒ»²½¡¢½¨Á¢½»²æ±àÒë»·¾ ......
Linuxϳ£ÓÃѹËõ¸ñʽµÄѹËõÓë½âѹ·½·¨
½â°ü£ºtar xvf FileName.tar
´ò°ü£ºtar cvf FileName.tar DirName
£¨×¢£ºtarÊÇ´ò°ü£¬²»ÊÇѹËõ£¡£©
---------------------------------------------
.gz
½âѹ1£ºgunzip FileName.gz
½âѹ2£ºgzip -d FileName.gz
ѹËõ£ºgzip FileName
.tar.gz
½âѹ£ºtar zxvf FileName.tar. ......
l
ÔÚ
Linux
ϱàдÆÕͨ¿ÉÖ´ÐÐÎļþµÄÃüÁ
gcc –o
Ä¿±êÎļþÃû
Ô´ÎļþÃû£¨ÁÐ±í£©
Èç¹û¹¤³Ì°üº¬¶à¸ö
.c
ºÍ
.h
ÄÇôÔÚÔ´ÎļþÃûÁбíÖÐÖ»ÁгöËùÓеÄ
.c
Îļþ
Àý£º¹¤³ÌÎļþ¼ÐÀïÓÐ
des.c
hash.c
main.c
des.h
hash ......
×î½üÏëÔÚ·þÎñÆ÷ÉÏÊÔÊÔMySQL5.1µÄ·ÖÇø£¬ÓÚÊǾÍÏë×Å×°¸öMySQL5.1£¬¾¹ýÍ´¿àµÄÒ»¶Î¾Àúºó£¬ÖÕÓÚÕÒ¸öÏÂÃæ×°¸öºÜºÃµÄ½Ì³Ì£¬ÌûÉÏÀ´±¸Íü¡£
1¡¢MySQLÃâ°²×°°æ/¶þ½øÖÆ°æÈí¼þ£¬²»ÓñàÒ룬ÏÂÔصØÖ·£º
http://dev.mysql.com/downloads/
Îļþ¸ñʽ£ºMYSQL-VERSION-OS.tar.gz
2¡¢´ ......
Tuning TCP for Linux 2.4 and 2.6
NB: Recent versions of Linux (version 2.6.17 and later) have full autotuning with 4 MB maximum buffer sizes. Except in some rare cases, manual tuning is unlikely to substantially improve the performance of these kernels over most network paths, and is not generally ......