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£ºÕâ¸ö¹¤¾ß¿ÉÓÃÀ´
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
½ñÌìÔÚ¼Ò°²×°oracle£¬°²×°Ö®Ç°ÒѾ¼ì²é¹ýһЩ±ØÒªµÄ°ü£¬¶øÇÒÎʹýͬÊ£¬ËµÒѾ°²×°µÄÕâЩ°üÒѾ¿ÉÒÔÂú×ãÒªÇóÁË¡£ÓÚÊǺõ¿ªÊ¼oracleµÄ°²×°¡£oracle×Ô¼º½øÐаücheckʱ±¨libaioÕâ¸ö°üûÓУ¬ÓÚÊÇÉÏÍøÕÒÁËÒ»¸örpmµÄ£¬»¹ÊÇsrc.rpmµÄ¡£ÓÉÓÚСµÜ³õÉælinux£¬ºÜ¶àÃüÁ²»ÖªµÀ£¬ËùÒÔÉÏÍøËÑÑ°ÁËһϣ¬·¢ÏÖ´ËÌù¡£×ªÔØ£¬ÒÔ·ÀÍü¼Ç¡£
......
Ò»¡¢NFS·þÎñÆ÷µÄ°²×°
¼ì²élinuxϵͳÖÐÊÇ·ñ°²×°ÁËnfs-utilsºÍportmapÁ½¸öÈí¼þ°ü£¨RHEL4ϵͳĬÈÏÒѾ°²×°ÁËÕâÁ½¸öÈí¼þ°ü£©
ÃüÁî#rpm –q nfs-utils portmap
¶þ¡¢²é¿´NFS·þÎñÆ÷ÊÇ·ñÆô¶¯
ÃüÁî#service nfs starus
......
linuxµÄÈȲå°ÎÊÇGreg Kroah-Hartmanά»¤£¬ËùÒÔÕâÊÇƪ¾µäÎÄÕ¡£Èç¹ûÄãÓÐUSB»òÕßPCIÉ豸Çý¶¯¿ª·¢»ù´¡£¬Ò»¶Á¾Í¿ÉÒÔÀí½â¡£
Hot-pluggable devices have been created to solve a number of user needs. On laptop computers, PCMCIA devices were designed to allow the user to swap cards while the computer was sti ......
ÕªÒª
ÎÒÃÇÔÚÕâÀïÌÖÂÛµÄÊǶÔǶÈëʽlinuxϵͳµÄÆô¶¯¹ý³ÌµÄÊä³öÐÅÏ¢µÄ×¢ÊÍ£¬Í¨¹ýÎÒÃǵÄÌÖÂÛ£¬´ó¼Ò»á¶ÔǶÈëʽlinuxÆô¶¯¹ý³ÌÖгöÏֵġ¢ÒÔÇ°¸Ð¾õÊìϤµÄ¡¢µ«È´ÓÖËÆÊǶø·ÇµÄ¶«Î÷ÓÐÒ»¸öÈ·ÇеÄÁ˽⣬²¢ÇÒÄÜÁ˽⵽ÕâЩÊä³öÐÅÏ¢µÄÀ´ÁúÈ¥Âö¡£
ǶÈëʽlinuxµÄÆô¶¯ÐÅÏ¢ÊÇÒ»¸öºÜÖµµÃÎÒÃÇÈ¥ºÃºÃÑо¿µÄ¶«Î÷£¬ËüÄܽ«Ò»·ùËõӰͼ³ÊÏÖÔÚÎÒà ......