Next Previous Contents

5. ³]¥ß¤º³¡ºô¸ô

µLªk»P¤£¦Pªº¤u§@¥­¥x¤À¨É¸ê·½ªº¸Ü´N¤£¯àºâ¬O¤@­Ó§¹¾ãªº¤º³¡ºô¸ô¤F¡C§A »Ý­n¤ä´©¨ä¥LÀɮרt²Î¡A ¤~¯à¦s¨ú¥L­ÌùØÀY©Ò´£¨Ñªº¸ê®Æ¡C ¥»¤å¥ó´£¨Ñ¤F Linux »P¤U­±¤j®a¦Õ¼ô¯à¸ÔªºÀɮרt²Î³s±µªº¤èªk¡C

¨Ì·Ó Linux ªºª©¥»¤£¦P¡A³o¨ÇÀɮרt²Î³£¥i³Q½sĶ¨ì Linux ®Ö¤ß¤º©Î¬O¥[ ¦¨¼Ò²Õ¡C ¦pªG§A¨Ã¤£¼ô±x½sĶ®Ö¤ß¡A §A¥i¥H°Ñ¦Ò Kernel HOWTO http://sunsite.unc.edu/mdw/HOWTO/Kernel-HOWTO.html ¥H¤Î Module HOWTO http://sunsite.unc.edu/mdw/HOWTO/Module-HOWTO.html ¦³¦pªG§â¼Ò²Õ»P®Ö¤ß¤@°_°µ½sĶ¡C

5.1 NCPFS

­n§â Netware ¦øªA¾¹ªºÀɮפÀ¨É¥X¨Óªº¸Ü¡A§A·|»Ý­n¦³¹ï NCP (ncpfs) ªº ¤ä´©¡C NCPFS »P®Ö¤ß 1.2.x ¤Î 1.3.71 ª© (§t ) ¥H«áªº®Ö¤ß°t¦X¨Ï¥Î¡C ¥LµLªk»P¥ô¦ó¦­´Áªº 1.3.x ®Ö¤ß¬Û°t¦X¨Ï¥Î¡C¥¦¦b Netware 4.x ¤WµLªk¦s ¨ú NDS ¸ê®Æ®w¡A¦ý¥i¨Ï¥Î¥UÄy¡C¦pªG±z¨Ï¥Î Netware 4.x §A¥i¥H¦b¥D±±¥x ¤W¨Ï¥Î Set Bindery Context ©R¥O¨Ó¥´¶}¯S©w®e¾¹¹ï¥UÄyªº¤ä´© :


  set Bindery Context = CORP.MYDOM;WEBUSER.MYDOM
¦b¤W­±ªº¨Ò¤l¤¤¦³¨â­Ó®e¾¹¤w³Q¥´¶}¹ï¥UÂǪº¤ä´©¡C

§A¥i¥H±q Sunsite ¨Ó¤U¸ü NCP Àɮרt²Îªº¤½¥Îµ{¦¡¡A ¨Ï¥Î URL ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/ncpfs.tgz (¥Ø«e¬° ncpfs-2.0.10)¡C

¦w¸Ë

­n¦w¸Ë ncpfs ¤½¥Îµ{¦¡¡A°õ¦æ

   zcat ncpfs.tgz | tar xvf -
¨Ó§â©Ò¦³Àɮ׸Ѩ쥦¦Û¤vªº¥Ø¿ý¤º¡C¦b³o­Ó¨Ò¤lùاA·|±o¨ìncpfs-2.0.10 ¥Ø¿ý¡A ¦bÄ~Äò¦w¸Ë«e§ïÅܥؿý¨ì³o­Ó ncpfs ¥Ø¿ý¤º¡C¦p¦³»Ý­n½Ð¾\Ū README ¨Ã­×§ï Makefile ÀɮסC

¦w¸Ë ncpfs ¨ú¨M©ó§A¨Ï¥Îªº®Ö¤ß¬O­þ­Óª©¥»ªº¡C¦b®Ö¤ß 1.2 ¤W¡A§A¥u»Ý°õ ¦æ 'make'¡C±µµÛ 'make install' ´N·|¦w¸Ë¥i°õ¦æÀÉ¥H¤Î man ­¶¤F¡C

¦pªG§A¨Ï¥Î®Ö¤ß 1.3.71 ©Î¥H«áªºª©¥»¡A§A´N±o­«·s½sĶ§Aªº®Ö¤ß¤F¡C¦b³o ¨Ç®Ö¤ß¤W¡Ancpfs ªº®Ö¤ß³¡¥÷¤w¸g³Q¥]§t¦b¥D­nªº­ì©lµ{¦¡¾ðùØÀY¤F¡C·Q¬Ý ¬Ý¬O§_§Aªº®Ö¤ß»Ý­n­«·s½sĶ¡A½Ð°õ¦æ

   cat /proc/filesystems
¥¦·|Åã¥Ü¥X¤@¦æ»¡®Ö¤ß»{±o ncpfs¡C

¦pªG ncpfs ¨S¦³¥X²{¡A§A¥i¥H­«·s½sĶ®Ö¤ß©Î¬O¥[¤W ncpfs ¼Ò²Õ¡C­Y­n­« ·s½sĶ®Ö¤ß¡A §A¶·°õ¦æ 'make config'¡A·í¥¦°Ý§A

The IPX protocol (CONFIG_IPX) [N/y/?]

²³æ¦^µª 'y'¡C±µ¤U¨Ó§A·|³Q°Ý¨ì¬O§_»Ý­n§¹¾ãªº¤º³¡ºô¸ô¡A§A¤]³\¤£»Ý¡C µ¥¨ì®Ö¤ß¦¨¥\¦a³Q¦w¸Ë¤F¡A­«·s¶}¾÷¡AµM«áÀˬd/proc/filesystems¡C ¦pªG¥þ³¡³£¨S°ÝÃD¡A¦A±µµÛ¦w¸Ë ncpfs ¤½¥Îµ{¦¡¡C §ïÅܥؿý¨ì¸ËµÛ§A¤U¸ü ªº ncpfs Àɮתº¥Ø¿ý¤º¡A °õ¦æ 'make'¡C ¦b½sĶ§¹¦¨«á¦A°õ¦æ 'make install' ¨Ó¦w¸Ë¨ä¥Lªº¤½¥Îµ{¦¡»P man ­¶¡C

±¾¤WNCPFS

Àˬd¦w¸Ë¡A½Ð°õ¦æ

   ipx_configure --auto_interface=on --auto_primary=on

...µ¥­Ó10¬í¦A°õ¦æ

   slist
§AÀ³¸Ó´N¥i¥H¬Ý¨ì Netware ¦øªA¾¹ªº¤@¦ê¦Cªí¡C§Ú­Ì­n¶}©l±q Netware ¦ø ªA¾¹¤W¤À¨ÉÀɮפF¡C

°²³]§Ú­Ì»Ý­n±q¦øªA¾¹ MYDOM_NW ¤ºªººÏºÐ VOL1: ùئs¨ú \home\htmldocs ¥Ø¿ý¤ºªº HTML ÀɮסC§Ú±ÀÂ˧A¦b³o ¥x¦øªA¾¹¤W«Ø¥ß­Ó·s¨Ï¥ÎªÌ (¦p ) 'EXPORT'¡A ±K½X¬° 'EXP123' µ¹¨º¨Ç§A ¤¹³\¥L­Ì¨Ï¥Î SYSCON ©Î NWADMIN ±b¸¹¨Ó¦s¨ú³o­Ó¥Ø¿ýªº¤H¨Ï¥Î¡C

¦b Linux ¾÷¾¹¤W«Ø¥ß­Ó·s /mnt/MYDOM_NW ¥Ø¿ý¡C ²{¦b°õ¦æ

   ncpmount -S MYDOM_NW -U EXPORT -P EXP123 /mnt/MYDOM_NW
­n±¾¤W netware Àɮרt²Î¡C°õ¦æ
   ls /mnt/MYDOM_NW/vol1/home/htmldocs
´N·|¦C¥X¦b MYDOM_NW/VOL1: \HOME\HTMLDOCS ¤º ªº©Ò¦³ÀÉ®× (¨Ï¥Î Netware Àɮתí¥Üªk )¡C ¦pªG§A¦³¥ô¦ó°ÝÃD¡A ½Ð¾\Ū IPX HOWTO ¦b http://sunsite.unc.edu/mdw/HOWTO/IPX-HOWTO.html ·|¦³§ó¦h¸Ô ²Óªº¸ê°T¡C

5.2 SMBFS

­Y­n¤À¨ÉÀɮרì Windows ¦øªA¾¹¤W¡A§A»Ý­n¦³ SMB (smbfs)¤ä´©¤~¦æ¡C

§A»Ý­n±qSunsite¤W¸ü¤JSBMÀɮרt²Î¤½¥Îµ{¦¡ ftp://sunsite.unc.edu/pub/Linux/system/filesystems/smbfs/smbfs.tgz (currently smbfs-2.0.1)¡C

¦w¸Ë

­n¦w¸Ë smbfs ¤½¥Îµ{¦¡¡AÁä¤J

   zcat smbfs.tgz | tar xvf -
±N©Ò¦³ªºÀɮ׸Ѩ쥦¦Û¤vªº¥Ø¿ý¤º¡C¦b³o¨Ò¤lùØ·|²£¥Í¤@­Ó smbfs-2.0.1 ¥Ø¿ý¡A¦b±µµÛ¦w¸Ë«e§â¥Ø¿ý§ï¨ì³o­Ó smbfs ¥Ø¿ý¤W¡C¦³»Ý­n½Ð¾\Ū README ¤Î½s­× Makefile¡C

¦w¸Ë smbfs ¨ú¨M©ó§A¨Ï¥Îªº®Ö¤ß¬O­þ­Óª©¥»ªº¡C¦b®Ö¤ß 1.2 ¤W¡A§A¥u»Ý°õ ¦æ 'make'¡C ±µµÛ 'make install' ´N·|¦w¸Ë¥i°õ¦æÀÉ¥H¤Îman­¶¤F¡C

¦pªG§A¨Ï¥Î®Ö¤ß 2.0 ©Î¥H«áªºª©¥»¡A§A´N±o­«·s½sĶ§Aªº®Ö¤ß¤F¡C ¦b³o¨Ç ®Ö¤ß¤W¡Asmbfs ªº®Ö¤ß³¡¥÷¤w¸g³Q¥]§t¦b¥D­nªº­ì©lµ{¦¡¾ðùØÀY¤F¡C·Q¬Ý¬Ý ¬O§_§Aªº®Ö¤ß»Ý­n­«·s½sĶ¡A½Ð°õ¦æ

   cat /proc/filesystems
¥¦·|Åã¥Ü¥X¤@¦æ»¡®Ö¤ß»{±o smbfs¡C

¦pªG smbfs ¨S¦³¥X²{¡A§A¥i¥H­«·s½sĶ®Ö¤ß©Î¬O¥[¤W smbfs ¼Ò²Õ¡C­Y­n­« ·s½sĶ®Ö¤ß¡A §A¶·°õ¦æ 'make config'¡A·í¥¦°Ý§A­n¥[¤W SMB Àɮרt²Î¤ä ´©®É¦^µª yes¡C µ¥¨ì®Ö¤ß¦¨¥\¦a³Q¦w¸Ë¤F¡A ­«·s¶}¾÷¡A µM«áÀˬd /proc/filesystems¡C ¦pªG¥þ³¡³£¨S°ÝÃD ¡A¦A±µµÛ¦w¸Ësmbfs¤½¥Î µ{¦¡¡C§ïÅܥؿý¨ì¸ËµÛ§A¤U¸üªº smbfs ÀɮפW¡A°õ¦æ 'make'¡C¦b½sĶ§¹¦¨ «á¦A°õ¦æ 'make install' ¨Ó¦w¸Ë¨ä¥Lªº¤½¥Îµ{¦¡»Pman­¶¡C

±¾¤W SMBFS

¦b§Ú­Ìªº¨Ò¤l¤¤¡AÅý§Ú­Ì°²³] WinNT ¦øªA¾¹´N¥s°µ 'MYDOM_NT'¡A¥¦¤À¨É¤F ¥¦ªº¥Ø¿ý C:\PUB\HTMLDOCS ¥H¤@­Ó¨S¦³±K½Xªº¦W¦r¥s 'HTMLDOCS'¡C ¦b Linux ¾÷¾¹¤W«Ø¥ß¤@­Ó·sªº /mnt/MYDOM_NT ¥Ø ¿ý¡A²{¦b°õ¦æ¤U¦C©R¥O

   smbmount //MYDOM_NT/HTMLDOCS /mnt/MYDOM_NT -n

­n±¾¤W SMB (windows ¤À¨Éªº ) Àɮרt²Î¡C ¦pªG³o¼ËµLªk¤u§@½Ð¸Õ¬Ý¬Ý

   smbmount //MYDOM_NT/COMMON /mnt/MYDOM_NT -n -I 172.16.0.3

°õ¦æ¤U­±©R¥O

   ls /mnt/MYDOM_NT
±N·|¦C¥X©Ò¦³¦b bsol;bsol;MYDOM_NT\PUB\HTMLDOCS ¤ºªºÀɮצCªí (¨Ï¥Î Windows Àɮתí¥Üªk)¡C

5.3 NFS

­º¥ý§A»Ý­n¤@­Ó¤w½sĶ¦n¦bùØÀY©Î¦³¥i¥ÎªºNFSÀɮרt²Î¼Ò²Õ¦b®Ö¤ß¤º¡C

°²³]§A¦³­Ó Unix ¥D¾÷°õ¦æµÛ NFS¡A ¦W¦r¥s°µ MYDOM_UNIX¡A IP ¦ì§}¬° 172.16.0.4¡C §A¥i¥H¸g¥Ñ¥´¤J¥H¤U©R¥O¨Ó¿é¥X (¤À¨É ) ³o­Ó¥D¾÷¡A´N¥i¥H Àˬd¥Ø¿ý¤F¡C


   showmount -e 172.16.0.4
¤@¥¹§Ú­Ìª¾¹D¿é¥Xªº¥Ø¿ý¬O¥i¥H¸g¥Ñ¿é¤J¾A·íªº mount ©R¥O§Y¥i§â¥¦­Ìµ¹ ±¾¤W¡C §Ú±ÀÂ˧A¦b '/mnt' ¥Ø¿ý¤U«Ø¥ß¤@­Ó¤l¥Ø¿ý (¦p ) 'MYDOM_UNIX' ¨Ó°µ¬°§Aªº±¾¤WÂI¡C

   mount -o rsize=1024,wsize=1024 172.16.0.4:/pub/htmldocs /mnt/MYDOM_UNIX
³o­Ó rsize ©M wsize ¥i¥H¨Ì¾a§Aªº¨Ï¥ÎÀô¹Ò°µ§ïÅܪº¡C

¦pªG§A¦³¥ô¦ó°ÝÃD½Ð¾\Ū¦b http://sunsite.unc.edu/mdw/HOWTO/NFS-HOWTO.html ¤ºªº NFS HOWTO ¡AùØÀY¦³¹ï NFS ¨t²Îªº²`¤J¤¶²Ð¡C


Next Previous Contents