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

linuxѧϰ±Ê¼Ç

linuxĿ¼¼Ü¹¹
/       ¸ùĿ¼
/bin         ³£ÓõÄÃüÁî   binary   file   µÄÄ¿錄
/boot       ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ   (kernel)   ÔÚÄÚ
          /boot/grub/menu.lst       GRUBÉèÖÃ
          /boot/vmlinuz       ÄÚºË
          /boot/initrd           ºËÐĽâ壓縮ËùÐè   RAM   Disk
/dev         ϵͳÖܱßÉ豸          
/etc         ϵͳÏà¹ØÉ趨Îļþ
          /etc/DIR_COLORS       É趨ÑÕÉ«
          /etc/HOSTNAME       É趨Óû§µÄ½ÚµãÃû
          /etc/NETWORKING       Ö»ÓÐYES±êÃ÷ÍøÂç´æÔÚ
          /etc/host.conf   Îļþ˵Ã÷Óû§µÄϵͳÈçºÎ²éѯ½ÚµãÃû
          /etc/hosts   É趨Óû§×ÔÒѵÄIPÓëÃû×ֵĶÔÓ¦±í
          /etc/hosts.allow   ÉèÖÃÔÊÐíʹÓÃinetdµÄ»úÆ÷ʹÓà  
          /etc/hosts.deny   ÉèÖò»ÔÊÐíʹÓÃinetdµÄ»úÆ÷ʹÓÃ
          /etc/hosts.equiv   ÉèÖÃÔ¶¶Ë»ú²»ÓÃÃÜÂë
          /etc/inetd.conf   É趨ϵͳÍøÂçÊØ»¤½ø³ÌinetdµÄÅäÖÃ
          /etc/gateways   É趨·ÓÉÆ÷
          /etc/protocols   É趨ϵͳ֧³ÖµÄЭÒé
          /etc/named.boot   É趨±¾»úΪÃû×Ö·þÎñÆ÷µÄÅäÖÃÎļþ
          /etc/sysconfig/network-scripts/ifcfg-eth0       ÉèÖÃIP
          /etc/resolv.conf         ÉèÖÃDNS    
          /etc/X11     X   WindowµÄÅäÖÃ


Ïà¹ØÎĵµ£º

Linux mysql ·þÎñÆ÷ÂýµÄÔ­Òò

Õ⼸ÌìLinux·þÎñÆ÷ºÜÂý,ºÜ׿±ÕÒ²»µ½½â¾ö°ì·¨!ºó°Ù¶ÈÏà¹Ø×ÖÑÛ,²éÕÒµ½ÊÇMySQLµÄÎÊÌâ,
ÈçÏÂΪ½â¾ö·½°¸
:
Á¬½ÓMySQLËÙ¶ÈÂýµÄ½â¾ö·½·¨.
PHPÔ¶³ÌÁ¬½ÓMYSQLËÙ¶ÈÂý,ÓÐʱԶ³ÌÁ¬½Óµ½MYSQLÓÃʱ4-20Ãë²»µÈ,±¾µØÁ¬½ÓMYSQLÕý³£,³öÏÖÕâÖÖÎÊÌâµÄÖ÷ÒªÔ­ÒòÊÇ,ĬÈÏ°²×°µÄ
MYSQL¿ªÆôÁËDNSµÄ·´Ïò½âÎö,ÔÚMY.CNF(UNIX»òLINUXϵͳÏÂ)»òMY.INI ......

LinuxÏ°²×°jdkºÍTomcat

Ò»¡¢ÏÂÔØjdk1.5
´Óhttp://www.sun.com/ÍøÕ¾ÏÂÔØjdk1.5
 ÏÂÔØ£ºjdk-1_5_0_15-linux-i586-rpm.bin
¶þ¡¢°²×°jdk  
1.
# chmod +x jdk-1_5_0_15-linux-i586-rpm.bin
# ./jdk-1_5_0_15-linux-i586-rpm.bin
°´Ìáʾ°´ÊäÈëyes,ÔÚͬһĿ¼»áµÃµ½Ò»¸öjdk-1_5_0_15-linux-i586-rpm
ͨ¹ý# rpm –ivh jdk-1 ......

Linux ½ø³Ì»¥³âÁ¿

ÍøÉÏÕÒÁËÏÂLinux½ø³Ì¼ä»¥³âµÄʵÏÖ£¬Á½ÖÖ·½·¨£¬semaphore ºÍ ÎļþËø¡£¸Õ¿ªÊ¼Ò²³¢ÊÔÓÃsemaphoreÀ´ÊµÏÖ£¬µ«·¢ÏÖsem_waitºÍsingalÎÞ·¨ÊµÏÖWindowsÏÂCirtSec£¬¶ø²ÉÓÃÁ˺óÕßÎļþËø£»
µ«¶ÔÓÚ¶ÁдËøÀ´ËµÊµÓÃÎļþËøʵÏÖ£¬´æÔÚÒ»¶¨µÄ²»×㣬Ëü·Ö¿ªÁ˶ÁдËø£¬¶øûÓзֿª½â¶ÁдËø£¬ÀûÓÃUnLockÀ´Í³Ò»½â¶ÁдËø£¬¶ÔÓÚÕâ½ø³Ì¼ä¶ÁдËøµÄʵÏÖ£ ......

Linux»ù±¾µÄ¼üÅÌÊäÈë¿ì½Ý¼üºÍһЩ³£ÓÃÃüÁî


<Ctrl><Alt><F1>
Çл»µ½µÚÒ»¸öÎı¾Öնˡ£ÔÚLinuxÏÂÄã¿ÉÒÔÓжà´ïÁù¸ö²»Í¬µÄÖնˡ£Õâ¸öÃüÁîµÄÒâ˼ÊÇ£º“ͬʱ°´×¡<Ctrl>¼üºÍ<Alt>¼ü£¬È»ºó°´<F1>¼ü£¬ÔÙÊÍ·ÅËùÓеļü”¡£
<Ctrl><Alt><Fn> (n=1..6)
Çл»µ½µÚn¸öÎı¾Öնˡ££¨ÄãÒ²¿ÉÒÔʹÓò»ÊǺܾ­³£Óõ½µÄ ......

LinuxÖÐÈçºÎÊÍ·ÅcacheÄÚ´æ free


ÒòΪLINUX
µÄÄÚºË
»úÖÆ£¬Ò»°ãÇé¿öϲ»ÐèÒªÌØÒâÈ¥ÊÍ·ÅÒѾ­Ê¹ÓõÄcache¡£ÕâЩcacheÆðÀ´µÄÄÚÈÝ¿ÉÒÔÔö¼ÓÎļþÒÔ¼°µÄ¶ÁдËٶȡ£
ÏÈ˵ÏÂfreeÃüÁîÔõô¿´ÄÚ´æ
[root@ahsq proc]# free
total used free shared buffers cached
Mem: 515588 295452 220136 0 2060 64040
-/+ buffers/cache: 229352 286236
Swap: 682720 112 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ