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

Linux¸ùÎļþϵͳ½á¹¹ÔÙÈÏʶ


INTRO
¾¡¹ÜLinuxµÄ¸ùÎļþϵͳÔÚÐÎʽ±íÏÖÉÏÊÇÒ»ÌåµÄ£¨ËùÓÐÊý¾ÝĿ¼¾ùΪ¸ùĿ¼ÏµÄ×ÓĿ¼£©£¬µ«Êµ¼ÊËüÃÇÊǶà¸ö²»Í¬µÄ¡¾Âß¼­Ö÷Ìå¡¿£¨ÎªÁËʵÏÖ²»Í¬µÄÂß¼­¹¦ÄÜ£©×éºÏÔÚÒ»ÆðµÄ£¬²Î¼ûÏÂͼ¡£ÕâÒ²½âÊÍÁËΪʲôÓÐЩ½Úµã£¨Èç/var£©¿ÉÒÔ¹Ò½Óµ½²»Í¬´ÅÅÌ·ÖÇøÉÏ¡£»®·ÖÕâЩÂß¼­²¿·Ö¶ÔÇåÎú°ÑÎÕ¸ùÎļþϵͳ½á¹¹£¬ÒÔ¼°Õû¸öϵͳµÄÐÐΪ¶¼ÓкܴóµÄºÃ´¦¡£ÔÚ»®·Ö֮ǰ£¬ÏÈ¿´¿´“Îļþϵͳ½á¹¹±ê×¼”¡£
Îļþϵͳ½á¹¹±ê×¼
Îļþϵͳ½á¹¹±ê×¼ £¨Filesystem Hierarchy Standard £¬Ï³ÆFHS£©¶¨Á¢µÄÄ¿±êÖ®Ò»ÊÇ£¬³ÌÐò¿É°´ÓÃ;ÐÔÖʱ»°²×°µ½Ö¸¶¨µÄλÖã¬Óû§Ò²ÄÜÔ¤Öª³ÌÐòµÄ°²×°µÄÎļþºÍĿ¼µÄλÖá£FHSͨ¹ý¶¨ÒåÎļþϵͳ¸÷²¿·ÖµÄº­Òå¡¢ÓÃ;£¬ÔÙ¼ÓÉÏÁоÙËùÓеÄÌØÊâÇé¿ö£¬ÈçÀúÊ·ÒÅÁôÎÊÌ⣬´ïµ½ÁËÕâ¸öÄ¿±ê¡£
LINUXϵͳµÄÊý¾ÝÎļþ¿ÉÒÔ¸ù¾Ý¡¾Ë«Öرê×¼¡¿À´¶ÔËüÃÇ·ÖÀࣺ¹²ÏíµÄÓë¶ÀÏíµÄ£¨shareable vs. unshareable£©¡¢±ä»¯µÄºÍ¾²Ì¬µÄ£¨variable vs. static£©¡£Èç¹ûÊý¾ÝÎļþÎÞ·¨°´ÕÕË«Öرê×¼·ÖÀ࣬ËüÃDZØÐëÁíÆðĿ¼´æ·Å£¬ÕâÑù×öµÄÔ­ÒòÊÇ¿ÉÒ԰Ѳ»Í¬¡¾Ê¹ÓÃÐÔÖÊ¡¿£¨usage characteristics£©µÄÊý¾ÝÎļþ·Ö¿ª²»Í¬Îļþϵͳ£¨´ÅÅÌ·ÖÇø£©´æ·Å¡£
“¹²ÏíµÄ” £¨Shareable£©ÊÇÖ¸Êý¾ÝÓëƽ̨²»Ïà¹ØµÄ£¬Èç/usr£»Ïà·´“¶ÀÏíµÄ”£¨Unshareable£©Ö¸Êý¾ÝÊÇƽ̨Ïà¹ØµÄ£¬ÈçÅäÖÃÊý¾Ý/etc¡£
“¾²Ì¬µÄ”Êý¾ÝÊÇÏà¶Ô·Ç¹ÜÀíÔ±Óû§¶øÑԵģ¬Ã»Óиü±äµÄȨÏÞ£»¶ø“±ä»¯µÄ”ÔòÏà·´¡£·Ö¸ô¾²Ì¬Ó붯̬Êý¾ÝµÄÄ¿µÄÊÇΪÁ˿ɰѾ²Ì¬Êý¾Ý°²×°µ½Ò»¸öµ¥¶ÀµÄÖ»¶ÁµÄ½éÖÊ£¨Îļþϵͳ£©ÖУ¬²»±ØÓ붯̬Êý¾ÝÒ»Æð×öƵ·±µÄÊÂÎñ¹ÜÀí£¬±ÈÈ綨ÆÚ±¸·Ý¡£
ÓëÊý¾ÝµÄ¡¾¾²¶¯Ì¬ÐÔ¡¿ÃæÏò“Óû§”²»Í¬£¬Êý¾ÝµÄ¡¾¹²ÏíרÓÃÐÔ¡¿ÊÇÃæÏò“Ö÷»ú”¶øÑÔ£¬Ò²¾ÍÊÇ˵£¬ÓÐЩÊý¾ÝÊDZ¾»úרÓõģ¬¶øÁíÍâһЩÊǶà¸öÖ÷»ú£¨¿ÉÊDZ¾µØµÄFHS¼æÈÝÖ÷»ú£¬¿ÉÒÔÊÇÔ¶³ÌÖ÷»ú£©¹²ÏíµÄ¡£±ÈÈç¸ùĿ¼·ÖÇøÊDZ¾»úרÓõģ¬¶ø/usrËùÔÚ·ÖÇø¿É¹²Ïí¸ø¶à¸öFHS¼æÈÝÖ÷»ú¡£
Ë«Öرê×¼ÊÇ·¢Õ¹¶øÀ´µÄ£¬±»ÄÉÈëFHS£¬ÎªÁËÖ§³ÖÕâ¸ö±ê×¼£¬¹ýȥĬÈÏ´æ·ÅÔÚ/usr ¡¢/var¡¢ /etc µÈĿ¼µÄÊý¾Ý¶¼×öÁËÏàÓ¦µÄµ÷Õû¡£
Linux¸ùÎļþϵͳÂß¼­×é³É
²ÎÕÕFHS£¬Linuxϵͳ°´ÕÕÂß¼­¹¦ÄÜ´óÖ·ÖΪÒÔÏÂĿ¼£¨ÒÔ¾ßÌåĿ¼±íÏÖÂß¼­¹¦ÄÜ£¬ÓÐÒâ˼£©£º
/
/usr
/var
/opt
/home
P.S. ÒÔÉÏĿ¼¾ù¿Éµ¥¶À°²×°µ½Ò»¸ö·ÖÇøÉÏ£¬×îÖÕ¹Ò½ÓÈë¸ùÏ¡£
/ £¨×¨Óõľ²Ì¬µÄ£©
¸ùĿ¼µÄ¹¦ÄÜÓÉÆäÃû¿ÉÂÔÖª£¬¸ùĿ¼ÊÇϵͳµÄ¸ù±¾ËùÔÚ£¨Essential£©£¬ÊÇϵͳ֮ËùÒÔΪ±¾ÏµÍ³µÄÌØÕ÷


Ïà¹ØÎĵµ£º

½ÌÄãÈçºÎ²é¿´linux°æ±¾


1. ²é¿´Äں˰汾ÃüÁ
1) [root@q1test01 ~]# cat /proc/version
Linux version 2.6.9-22.ELsmp (bhcompile@crowe.devel.redhat.com) (gcc version 3.4.4 20050721 (Red Hat
3.4.4-2)) #1 SMP Mon Sep 19 18:00:54 EDT 2005
2) [root@q1test01 ~]# uname -a
Linux q1test01 2.6.9-22.ELsmp #1 SMP Mon Sep 19 ......

linuxÏÂrar¸ñʽÎļþ½âѹ·½·¨£¨ubuntu9ϲËÄñ¼¶·½·¨£©

×î½ü¸Õ½Ó´¥linux £¬¶ÔÕâ¸öϵͳÊÇÒ»µã¶¼²»Á˽⣬µ«ÊÇÓÉÓÚÍøÉÏÏÂÔصÄ×ÊÔ´¶àÊÇ.rar¸ñʽµÄ£¬ËùÒÔÈçºÎ½âѹÕâ¸öÎļþÊÇÎÒÓöµ½µÄÒ»¸öÄÑÌâ¡£
ÔÚÍøÉÏËÑÁËЩÏà¹Ø·½·¨£¬Ô­ÎÄÈçÏ£º
LinuxϵͳÖÐrar¡¢unrarÃüÁî°²×°ºÍʹÓÃÏê½â
×÷Õß:Van<hexinghe@hotmail.com>
˵Ã÷£ºÓÉÓÚ±¾ÈËˮƽÓÐÏÞ£¬ÄÑÃâÓдíÎóÖ®´¦¡£»¶Ó­×ªÔØ£¬µ«Çë×¢Ã÷×÷ÕßÐ ......

Linux RPM

ÔÚLinux²Ù×÷ϵͳÖУ¬ÓÐÒ»¸öϵͳÈí¼þ°ü£¬ËüµÄ¹¦ÄÜÀàËÆÓÚWindowsÀïÃæµÄ“Ìí¼Ó/ɾ³ý³ÌÐò”£¬µ«Êǹ¦ÄÜÓֱȓÌí¼Ó/ɾ³ý³ÌÐò”Ç¿ºÜ¶à£¬Ëü¾ÍÊÇRed Hat Package Manager(¼ò³ÆRPM)¡£´Ë¹¤¾ß°ü×îÏÈÊÇÓÉRed Hat¹«Ë¾ÍƳöµÄ£¬ºóÀ´±»ÆäËûLinux¿ª·¢ÉÌËù½èÓá£ÓÉÓÚËüΪLinuxʹÓÃÕßÊ¡È¥Á˺ܶàʱ¼ä£¬ËùÒÔ±»¹ã·ºÓ¦ÓÃÓÚÔÚLin ......

linux ²é¿´Îļþ¼Ð´óС

du -sh * ²é¿´µ±Ç°Ä¿Â¼ÏµÄÎļþ¼Ð´óС
du ÃüÁî
ÓÃ;
¸ÅÊö´ÅÅÌʹÓá£
Óï·¨
du [ -a | -s ] [ -k ] [ -m ] [ -g ][ -l ] [ -r ] [ -x ] [ -H | -L ][ File ... ]
ÃèÊö
duÃüÁîÏÔʾÓÃÓÚÎļþµÄ¿éµÄÊýÁ¿¡£
Èç¹ûÖ¸¶¨µÄFile²ÎÊýʵ¼ÊÉÏÊÇÒ»¸öĿ¼£¬¾ÍÒª±¨¸æ¸ÃĿ¼ÄÚµÄËùÓÐÎļþ¡£Èç¹ûûÓÐÌṩ File²ÎÊý£¬duÃüÁîʹÓõ±Ç°Ä¿Â¼ ......

LinuxϵͳϵĶàÏ̱߳à³ÌÈëÃÅÈý

ºÍ½ø³ÌÏà±È£¬Ï̵߳Ä×î´óÓŵãÖ®Ò»ÊÇÊý¾ÝµÄ¹²ÏíÐÔ£¬¸÷¸ö½ø³Ì¹²Ïí¸¸½ø³Ì´¦ÑØÏ®µÄÊý¾Ý¶Î£¬¿ÉÒÔ·½±ãµÄ»ñµÃ¡¢ÐÞ¸ÄÊý¾Ý¡£µ«ÕâÒ²¸ø¶àÏ̱߳à³Ì´øÀ´ÁËÐí¶àÎÊÌâ¡£ÎÒÃDZØÐëµ±ÐÄÓжà¸ö²»Í¬µÄ½ø³Ì·ÃÎÊÏàͬµÄ±äÁ¿¡£Ðí¶àº¯ÊýÊDz»¿ÉÖØÈëµÄ£¬¼´Í¬Ê±²»ÄÜÔËÐÐÒ»¸öº¯ÊýµÄ¶à¸ö¿½±´£¨³ý·ÇʹÓò»Í¬µÄÊý¾Ý¶Î£©¡£ÔÚº¯ÊýÖÐÉùÃ÷µÄ¾²Ì¬±äÁ¿³£³£´øÀ´ÎÊÌ⣬ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ