ת£ºlinux mount and commpress/release
linux mount and commpress/release
2009-05-23 11:05
mountÃüÁîÏê½â
¹¦ÄÜ£º¼ÓÔØÖ¸¶¨µÄÎļþϵͳ¡£
Óï·¨£ºmount [-afFhnrvVw] [-L<±êÇ©>] [-o<Ñ¡Ïî>] [-t<ÎļþϵͳÀàÐÍ>] [É豸Ãû] [¼ÓÔصã]
Ó÷¨ËµÃ÷£ºmount¿É½«Ö¸¶¨É豸ÖÐÖ¸¶¨µÄÎļþϵͳ¼ÓÔص½LinuxĿ¼Ï£¨Ò²¾ÍÊÇ×°Ôص㣩¡£¿É½«¾³£Ê¹ÓõÄÉ豸дÈëÎļþ/etc/fastab,ÒÔʹϵͳÔÚÿ´ÎÆô¶¯Ê±×Ô¶¯¼ÓÔØ¡£mount¼ÓÔØÉ豸µÄÐÅÏ¢¼Ç¼ÔÚ/etc/mtabÎļþÖС£Ê¹ÓÃumountÃüÁîжÔØÉ豸ʱ£¬¼Ç¼½«±»Çå³ý¡£
³£ÓòÎÊýºÍÑ¡Ï
-a ¼ÓÔØÎļþ/etc/fstabÖÐÉèÖõÄËùÓÐÉ豸¡£
-f ²»Êµ¼Ê¼ÓÔØÉ豸¡£¿ÉÓë-vµÈ²ÎÊýͬʱʹÓÃÒԲ鿴mountµÄÖ´Ðйý³Ì¡£
-F ÐèÓë-a²ÎÊýͬʱʹÓá£ËùÓÐÔÚ/etc/fstabÖÐÉèÖõÄÉ豸»á±»Í¬Ê±¼ÓÔØ£¬¿É¼Ó¿ìÖ´ÐÐËٶȡ£
-h ÏÔʾÔÚÏß°ïÖúÐÅÏ¢¡£
-L<±êÇ©> ¼ÓÔØÎļþϵͳ±êǩΪ<±êÇ©>µÄÉ豸¡£
-n ²»½«¼ÓÔØÐÅÏ¢¼Ç¼ÔÚ/etc/mtabÎļþÖС£
-o<Ñ¡Ïî> Ö¸¶¨¼ÓÔØÎļþϵͳʱµÄÑ¡Ïî¡£ÓÐЩѡÏîÒ²¿ÉÔÚ/etc/fstabÖÐʹÓá£ÕâЩѡÏî°üÀ¨£º
async ÒÔ·Çͬ²½µÄ·½Ê½Ö´ÐÐÎļþϵͳµÄÊäÈëÊä³ö¶¯×÷¡£
atime ÿ´Î´æÈ¡¶¼¸üÐÂinodeµÄ´æȡʱ¼ä£¬Ä¬ÈÏÉèÖã¬È¡ÏûÑ¡ÏîΪnoatime¡£
auto ±ØÐëÔÚ/etc/fstabÎļþÖÐÖ¸¶¨´ËÑ¡Ïî¡£Ö´ÐÐ-a²ÎÊýʱ£¬»á¼ÓÔØÉèÖÃΪautoµÄÉ豸£¬È¡ÏûѡȡΪnoauto¡£
defaults ʹÓÃĬÈϵÄÑ¡ÏĬÈÏÑ¡ÏîΪrw¡¢suid¡¢dev¡¢exec¡¢anto nouserÓëasync¡£
dev ¿É¶ÁÎļþϵͳÉϵÄ×Ö·û»ò¿éÉ豸£¬È¡ÏûÑ¡ÏîΪnodev¡£
exec ¿ÉÖ´Ðжþ½øÖÆÎļþ£¬È¡ÏûÑ¡ÏîΪnoexec¡£
noatime ÿ´Î´æȡʱ²»¸üÐÂinodeµÄ´æȡʱ¼ä¡£
noauto ÎÞ·¨Ê¹ÓÃ-a²ÎÊýÀ´¼ÓÔØ¡£
nodev ²»¶ÁÎļþϵͳÉϵÄ×Ö·û»ò¿éÉ豸¡£
noexec ÎÞ·¨Ö´Ðжþ½øÖÆÎļþ¡£
nosuid ¹Ø±Õset-user-identifier(ÉèÖÃÓû§ID)Óëset-group-identifer(ÉèÖÃ×éID)ÉèÖÃλ¡£
nouser ʹһλÓû§ÎÞ·¨Ö´ÐмÓÔزÙ×÷£¬Ä¬ÈÏÉèÖá£
remount ÖØмÓÔØÉ豸¡£Í¨³£ÓÃÓڸıäÉ豸µÄÉèÖÃ״̬¡£
ro ÒÔÖ»¶Áģʽ¼ÓÔØ¡£
rw ÒԿɶÁдģʽ¼ÓÔØ¡£
suid Æô¶¯set-user-identifier(ÉèÖÃÓû§ID)Óëset-group-identifer(ÉèÖÃ×éID)ÉèÖÃλ£¬È¡ÏûÑ¡ÏîΪnosuid¡£
sync ÒÔͬ²½·½Ê½Ö´ÐÐÎļþϵͳµÄÊäÈëÊä³ö¶¯×÷¡£
user ¿ÉÒÔÈÃÒ»°ãÓû§¼ÓÔØÉ豸¡£
-r ÒÔÖ»¶Á·½Ê½¼ÓÔØÉ豸¡£
-t<ÎļþϵͳÀàÐÍ> Ö¸¶¨É豸µÄÎļþϵͳÀàÐÍ¡£³£ÓõÄÑ¡Ïî˵Ã÷ÓУº
minix Linux×îÔçʹÓõÄÎļþϵͳ¡£
ext2 LinuxÄ¿Ç°µÄ³£ÓÃÎļþϵͳ¡£
msdos MS-DOS µÄ FAT¡£
vfat Win85/98 µÄ VFAT¡£
nfs ÍøÂçÎļþϵͳ¡£
is
Ïà¹ØÎĵµ£º
LINUXϲ鿴Apache²¢·¢ÇëÇóÊý¼°ÆäTCPÁ¬½Ó״̬ ÊÕ²Ø
2007-7-20 18:30 ÕÅÑç
²é¿´httpd½ø³ÌÊý£¨¼´preforkģʽÏÂApacheÄܹ»´¦ÀíµÄ²¢·¢ÇëÇóÊý£©£º
LinuxÃüÁ
ps -ef | grep httpd | wc -l
·µ»Ø½á¹ûʾÀý£º
¡¡¡¡1388
¡¡¡¡±íʾApacheÄܹ»´¦Àí1388¸ö²¢·¢ÇëÇó£¬Õâ¸öÖµApache¿É¸ù¾Ý¸ºÔØÇé¿ö×Ô¶¯µ÷Õû£¬ÎÒÕâ×é·þÎñÆ÷Ö ......
Ìø³ö¹ßÐÔ˼ά½â¾öLinuxÉϲ»ÁËÍøµÄÎÊÌâ
(À´×Ôhttp://hi.baidu.com/zfxwyh1985/blog/item/b3882a1285fa3cc8c3fd78c2.html)
2008-10-29 09:54
һ̨½»»»»ú£¬ һ̨Win2003µÄ»úÆ÷×öΪ¾ÖÓòÍøµÄÍø¹Ø£¨ÆäIPµØÖ·ÉèΪ192.168.0.1£©£¬µçÐŹ«Ë¾¸øÎÒÃÇÒ»¸öÉÏÍøÕʺſÉÒÔ¼¸Ì¨»úÆ÷ͬʱ²¦ºÅ¡£ÆäËü»úÆ÷µÄIP µØÖ·Éè³É192. ......
cpÃüÁî
¸ÃÃüÁîµÄ¹¦ÄÜÊǽ«¸ø³öµÄÎļþ»òĿ¼¿½±´µ½ÁíÒ»Îļþ»òĿ¼ÖУ¬Í¬MSDOSϵÄcopyÃüÁîÒ»Ñù£¬¹¦ÄÜÊ®·ÖÇ¿´ó¡£
Óï·¨£º cp [Ñ¡Ïî] Ô´Îļþ»òĿ¼ Ä¿±êÎļþ»òĿ¼
˵Ã÷£º¸ÃÃüÁî°ÑÖ¸¶¨µÄÔ´Îļþ¸´ÖƵ½Ä¿±êÎļþ»ò°Ñ¶à¸öÔ´Îļþ¸´ÖƵ½Ä¿±êĿ¼ÖС£
¸ÃÃüÁîµÄ¸÷Ñ¡ÏÒåÈçÏ£º
- a ¸ÃÑ¡Ïîͨ³£ÔÚ¿½±´Ä¿Â¼Ê±Ê¹Óá£Ëü±£ÁôÁ´ ......
LinuxÏÂscpµÄÓ÷¨
scp¾ÍÊÇsecure copy£¬Ò»¸öÔÚlinuxÏÂÓÃÀ´½øÐÐÔ¶³Ì¿½±´ÎļþµÄÃüÁî¡£
ÓÐʱÎÒÃÇÐèÒª»ñµÃÔ¶³Ì·þÎñÆ÷ÉϵÄij¸öÎļþ£¬¸Ã·þÎñÆ÷¼ÈûÓÐÅäÖÃftp·þÎñÆ÷£¬Ò²Ã»ÓÐ×ö¹²Ïí£¬ÎÞ·¨Í¨¹ý³£¹æ;¾¶»ñµÃÎļþʱ£¬Ö»ÐèҪͨ¹ý¼òµ¥µÄscpÃüÁî±ã¿É´ïµ½Ä¿µÄ¡£
Ò»¡¢½«±¾»úÎļþ¸´ÖƵ½Ô¶³Ì·þÎñÆ÷ÉÏ
#scp /home/administrator/news ......