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

Linuxϵͳ¹ÜÀíʵ¼ù(5)£ºSambaÎļþ¹²ÏíÅäÖÃ

     SambaÊÇÒ»¸öÍøÂç·þÎñÆ÷£¬ÓÃÓÚLinuxºÍWindows¹²ÏíÎļþÖ®Óã»Samba ¼´¿ÉÒÔÓÃÓÚWindowsºÍLinuxÖ®¼äµÄ¹²ÏíÎļþ£¬Ò²Ò»ÑùÓÃÓÚLinuxºÍLinuxÖ®¼äµÄ¹²ÏíÎļþ£»²»¹ý¶ÔÓÚLinuxºÍLinuxÖ®¼ä¹²ÏíÎļþÓиüºÃµÄÍøÂçÎļþϵͳNFS£¨NFSÒ²ÊÇÐèÒª¼ÜÉè·þÎñÆ÷µÄ£©¡£Samba¿ÉÒÔ¶¨Î»ÎªÒ»Ì×¹¦Äܼ«ÎªÇ¿´óµÄÎļþ·þÎñÆ÷Èí¼þ£¬ËùνÎļþ·þÎñÆ÷¾ÍÊǽ«Îļþ·þÎñÖ÷»úÉϵÄĿ¼·ÖÏí³öÀ´£¬ÈÃÄú¿ÉÒÔ͸¹ýÍøÂç¶Ô·ÖÏí³öÀ´µÄĿ¼ÀïµÄÎļþ£¬×öÖ´ÐС¢¶ÁÈ¡¡¢Ð´ÈëµÈ¶¯×÷¡£»ù±¾ÉÏNT/2000µÄÍøÓòÊÇʹÓÃNetBEUI×ö¼ÆËã»úÃüÃû·þÎñ£¬Ê¹Óù㲥·â°üÀ´Õì²âÍøÂçÉÏÓÐÄÄЩ¼ÆËã»ú¡¢ÄÄЩĿ¼Ìṩ×ÊÔ´¹²Ïí£¬¶øSambaÓëUNIXÖ÷»ú¼äµÄ¹µÍ¨£¨ÈçĿ¼¡¢Îļþ·ÖÏí£©ÊÇ͸¹ýTCP/IPЭÒé´ï³ÉÈÎÎñ£¬SambaÈôÒªÓëNTÍøÓò×ö¹µÍ¨£¬Í¸¹ýTCP/IPµ±È»ÊÇÐв»Í¨µÄ£¬Ö»ºÃʹÓÃNetBIOS¶ÔNTÍøÓò×ö¹ã²¥£¬ÈÃWindows»úÆ÷Äܹ»ÈÏʶËü£¬½ø¶ø³ÉΪNTÍøÓò³ÉÔ±£»Òò´ËSambaÊÇʹÓÃsmbdÊØ»¤½ø³Ì͸¹ýTCP/IPÁªÏµUnixÖ÷»ú£¬¶øʹÓÃnmbdÊØ»¤½ø³Ì͸¹ýNetBIOS¶ÔNT/2000ÍøÓò×öÁªÏµ£¬Ò²¾ÍÊÇ˵SambaʹÓÃÁ½ÖÖ»úÖÆ´ï³É×ÊÔ´¹²ÏíµÄÄ¿µÄ¡£
    ÈôûÓа²×°Samba£¬ÔÚUbuntuÖпÉÒÔÓÃsudo apt-get installÀ´°²×°sambaºÍsmbfs£¨sambaµÄÎļþϵͳ£©¡£smbÊÇSambaµÄÖ÷ÒªÆô¶¯·þÎñÆ÷£¬ÈÃÆäËü»úÆ÷ÄÜÖªµÀ´Ë»úÆ÷¹²ÏíÁËʲô£»Èç¹û²»´ò¿ªnmb·þÎñÆ÷µÄ»°£¬Ö»ÄÜͨ¹ýIPÀ´·ÃÎÊ£¬±ÈÈçÔÚWindowsµÄIEä¯ÀÀÆ÷ÉϼüÈëÏÂÃæµÄÒ»ÌõÀ´·ÃÎÊ£º\\192.168.1.5\¹²ÏíĿ¼¡£Samba·þÎñµÄÆô¶¯¡¢ÖØÆôºÍÍ£Ö¹ÓÃ"sudo /etc/samba/smb"ºó¸ústart¡¢restart»òstop¡£
    1¡¢Ö÷ÒªµÄSamba¹¤¾ß£¨·þÎñÆ÷¶ËºÍ¿Í»§¶Ë£©£º
smbcacls    smbcontrol  smbencrypt  smbmount    smbprint    smbstatus   smbtree
smbclient   smbcquotas  smbpasswd   smbspool    smbtar      smbumount   testparm
testprns    swat        smbd        nmbd    
    smbclient£ºÀûÓÃÕâ¸ö¹¤¾ß¿ÉÁ¬½ÓÆäËü Unix like µÄ Samba Server£¬»òÊÇÁ¬½Ó Windows »úÆ÷£¬ÒÔÈ¡µÃµµ°¸·ÖÏí·þÎñ¡£
    testparm £ºÕâ¸ö¹¤¾ß¿ÉÈÃÄú²âÊÔsmb.confµµ¶¨ÒåÊÇ·ñÕýÈ·¡£
    smbstatus£ºÕâ¸ö¹¤¾ß¿ÉÓÃÀ´


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

Linux϶¯Ì¬¿âµÄÉú³É¼°Á´½Ó·½·¨(1)

               Linux϶¯Ì¬¿âµÄÉú³É¼°Á´½Ó·½·¨ £¨1£©
      Linux ϶¯Ì¬¿âÎļþµÄÀ©Õ¹ÃûΪ".so"£¨Shared Object£©¡£°´ÕÕÔ¼¶¨£¬ËùÓж¯Ì¬¿âÎļþÃûµÄÐÎʽÊÇlibname.so£¨¿ÉÄÜÔÚÃû×ÖÖмÓÈë°æ±¾ºÅ£©¡£ÕâÑù£¬Ï̺߳¯Êý¿â±»³Æ×÷ ......

viviÓëLinux kernelµÄ²ÎÊý´«µÝÇé¾°·ÖÎö £¨×ª£©

ÔÚÉÏÒ»²¿·ÖÌáµ½¹ýÁË£¬vivi×÷Ϊbootloader£¬ÏòÄں˴«µÝÆô¶¯²ÎÊýÊÇÆä±¾Ö°¹¤×÷Ö®Ò»¡£Òª°ÑÕâ¸öÇé¾°·ÖÎöÇå³þ£¬²»½ö½öÐèÒª·ÖÎöviviµÄ²ÎÊý»ú ÖÆ£¬¶øÇÒÒª·ÖÎöLinux kernelµÄ½ÓÊÕ»úÖÆ¡£ÒòΪÕâÊÇÒ»¸ö¼òµ¥µÄͨÐŹý³Ì£¬±ÈÆ𱾿ÆËùѧϰµÄTCP/IPÀ´¼òµ¥µÄ¶à£¬µ«ÊÇÒòΪ¼òµ¥£¬ËùÒÔÔÚЭÒéÉϲ¢²»¹æ·¶£¬Àí½âÉÏ·´¶ø²»Èç TCP/IPЭÒé¡£ÏÂÃæ¾Í·ÖΪÁ½ ......

Unix/Linux ÃüÁî²Î¿¼

ÎļþÃüÁî
ls – ÁгöĿ¼
ls -al – ʹÓøñʽ»¯ÁгöÒþ²ØÎļþ
cd dir - ¸ü¸ÄĿ¼µ½ dir
cd – ¸ü¸Äµ½ home Ŀ¼
pwd – ÏÔʾµ±Ç°Ä¿Â¼
mkdir dir – ´´½¨Ä¿Â¼ dir
rm file – ɾ³ý file
rm -r dir – ɾ³ýĿ¼ dir
rm -f file – Ç¿ÖÆɾ³ý file
rm -rf dir – Ç¿ÖÆɾ ......

linuxÆô¶¯ÐÅÏ¢ÍêÈ«Ïê½â Àý×Ó

 ÕªÒª
ÎÒÃÇÔÚÕâÀïÌÖÂÛµÄÊǶÔǶÈëʽlinuxϵͳµÄÆô¶¯¹ý³ÌµÄÊä³öÐÅÏ¢µÄ×¢ÊÍ£¬Í¨¹ýÎÒÃǵÄÌÖÂÛ£¬´ó¼Ò»á¶ÔǶÈëʽlinuxÆô¶¯¹ý³ÌÖгöÏֵġ¢ÒÔÇ°¸Ð¾õÊìϤµÄ¡¢µ«È´ÓÖËÆÊǶø·ÇµÄ¶«Î÷ÓÐÒ»¸öÈ·ÇеÄÁ˽⣬²¢ÇÒÄÜÁ˽⵽ÕâЩÊä³öÐÅÏ¢µÄÀ´ÁúÈ¥Âö¡£
ǶÈëʽlinuxµÄÆô¶¯ÐÅÏ¢ÊÇÒ»¸öºÜÖµµÃÎÒÃÇÈ¥ºÃºÃÑо¿µÄ¶«Î÷£¬ËüÄܽ«Ò»·ùËõӰͼ³ÊÏÖÔÚÎÒà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ