ÔõÑùÔÚ÷è÷ë²Ù×÷ϵͳÉϾÙÐÐϵͳµÄÍøÂçÅþÁ¬ºÍ¹²Ïí£¿
ÔõÑùÔÚ÷è÷ë²Ù×÷ϵͳÉϾÙÐÐϵͳµÄÍøÂçÅþÁ¬ºÍ¹²Ïí£¿
Ëæ×Å»¥ÁªÍøµÄÆÕ±éÆÕ¼°£¬ÍøÂçÅþÁ¬ºÍ¹²ÏíÒѾ³ÉΪÏÖ´úÅÌËã»úµÄ»ù±¾ÐèÇóÖ®Ò»¡£ÔÚ÷è÷ë²Ù×÷ϵͳÉÏ£¬Äú¿ÉÒÔÇáËɵؾÙÐÐϵͳµÄÍøÂçÅþÁ¬ºÍ¹²Ïí¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃǽ«ÏÈÈÝÔõÑùÔÚ÷è÷ë²Ù×÷ϵͳÉÏÉèÖÃÍøÂçÅþÁ¬ºÍ¹²Ïí£¬²¢ÌṩÏà¹ØµÄ´úÂëʾÀý¡£
ÍøÂçÅþÁ¬
Ê×ÏÈ£¬ÎÒÃÇÐèҪȷ±£ÏµÍ³ÒѾ׼ȷÅþÁ¬µ½ÍøÂç¡£ÔÚ÷è÷ë²Ù×÷ϵͳÉÏ£¬Äú¿ÉÒÔͨ¹ýÒÔÏ°취Íê³ÉÍøÂçÅþÁ¬ÉèÖãº
°ì·¨ 1£º·¿ª¡°ÏµÍ³ÉèÖᱡ£
°ì·¨ 2£ºÑ¡Ôñ¡°ÍøÂçºÍ»¥ÁªÍø¡±Ñ¡Ïî¡£
°ì·¨ 3£ºµ¥»÷¡°ÍøÂ硱ѡÏ¡£
°ì·¨ 4£ºÔÚ¡°ÓÐÏß¡±»ò¡°ÎÞÏß¡±Ñ¡ÏÖУ¬µã»÷¡°+¡±°´Å¥À´Ìí¼ÓеÄÍøÂçÅþÁ¬¡£
°ì·¨ 5£ºÑ¡ÔñÄúµÄÍøÂçÀàÐÍ£¬ÈçEthernet»òWi-Fi£¬²¢Æ¾Ö¤ÆÁÄ»ÌáÐѾÙÐÐÉèÖá£
Çë×¢ÖØ£¬ÕâÖ»ÊÇÒ»¸ö»ù±¾µÄÍøÂçÅþÁ¬ÉèÖÃʾÀý¡£Æ¾Ö¤ÄúµÄÍøÂçÇéÐκÍÐèÇ󣬿ÉÄÜ»áÓÐÆäËûÉèÖúÍÉèÖÃÑ¡Ïî¿É¹©Ñ¡Ôñ£¬ÀýÈçÉèÖþ²Ì¬IPµØµã»òÉèÖÃÊðÀíЧÀÍÆ÷µÈ¡£
ÍøÂç¹²Ïí
ÔÚ÷è÷ë²Ù×÷ϵͳÉÏ£¬Äú¿ÉÒÔʹÓÃSambaЧÀÍÆ÷À´¾ÙÐÐÎļþºÍ´òÓ¡»úµÄÍøÂç¹²Ïí¡£ÒÔÏÂÊÇÉèÖÃSambaЧÀÍÆ÷µÄ¼òÆÓʾÀý´úÂ룺
°ì·¨ 1£º×°ÖÃSambaЧÀÍÆ÷Èí¼þ¡£
·¿ªÖնˣ¬²¢ÊäÈëÒÔÏÂÏÂÁîÀ´×°ÖÃSambaЧÀÍÆ÷£º
sudo apt-get install samba
µÇ¼ºó¸´ÖÆ
°ì·¨ 2£ºÉèÖÃSambaЧÀÍÆ÷¡£
±à¼SambaÉèÖÃÎļþ£¬ÊäÈëÒÔÏÂÏÂÁ
sudo nano /etc/samba/smb.conf
µÇ¼ºó¸´ÖÆ
ÔÚÎļþµÄĩ⣬Ìí¼ÓÒÔÏÂʾÀýÉèÖãº
[¹²Ïí] path = /path/to/share # ¹²ÏíÎļþ¼ÐµÄ·¾¶ browseable = yes read only = no guest ok = yes create mask = 0777 directory mask = 0777
µÇ¼ºó¸´ÖÆ
Çë×¢ÖØ£¬ÄúÐèÒª½«¡°/path/to/share¡±Ì滻ΪÄúÒª¹²ÏíµÄÎļþ¼ÐµÄÏÖʵ·¾¶¡£
°ì·¨ 3£ºÖØÆôSambaЧÀÍ¡£
ÊäÈëÒÔÏÂÏÂÁîÀ´ÖØÆôSambaЧÀÍ£º
sudo service smbd restart
µÇ¼ºó¸´ÖÆ
°ì·¨ 4£º»á¼û¹²ÏíÎļþ¼Ð¡£
ÏÖÔÚ£¬Äú¿ÉÒÔÔÚÆäËûÅÌËã»úÉÏͨ¹ýÍøÂç»á¼ûÄú¹²ÏíµÄÎļþ¼ÐÁË¡£Äú¿ÉÒÔʹÓÃWindows×ÊÔ´ÖÎÀíÆ÷»òÆäËûÎļþÖÎÀí¹¤¾ß£¬ÊäÈëÒÔÏÂÏÂÁîÀ´»á¼û¹²ÏíÎļþ¼Ð£º
\<÷è÷ëϵͳIPµØµã>¹²Ïí
µÇ¼ºó¸´ÖÆ
ÇëÈ·±£½«¡°¡±Ì滻ΪÄú÷è÷ëϵͳµÄÏÖʵIPµØµã¡£
³ýÁËÎļþ¹²Ïí£¬Äú»¹¿ÉÒÔͨ¹ýÀàËƵķ½·¨ÉèÖÃÍøÂç´òÓ¡»ú¹²Ïí¡£¹²Ïí´òÓ¡»ú¿ÉÒÔÈöą̀ÅÌËã»ú¹²Ïíͳһ¸ö´òÓ¡»ú×ÊÔ´£¬Ìá¸ßÊÂÇéЧÂÊ¡£
×ܽ᣺
ÔÚ±¾ÎÄÖУ¬ÎÒÃÇÏÈÈÝÁËÔõÑùÔÚ÷è÷ë²Ù×÷ϵͳÉϾÙÐÐϵͳµÄÍøÂçÅþÁ¬ºÍ¹²Ïí¡£Í¨¹ý׼ȷÉèÖÃÍøÂçÅþÁ¬£¬Äú¿ÉÒÔÈÃϵͳ˳³©µØÅþÁ¬µ½»¥ÁªÍø¡£Ê¹ÓÃSambaЧÀÍÆ÷£¬Äú¿ÉÒÔÇáËɵØʵÏÖÎļþºÍ´òÓ¡»úµÄÍøÂç¹²Ïí£¬Àû±ã²î±ð×°±¸Ö®¼äµÄÊý¾Ý½»»¥ºÍ×ÊÔ´¹²Ïí¡£Ï£Íû±¾ÎÄÄܹ»×ÊÖúµ½Äú£¬ÏíÊܸü±ã½ÝµÄÍøÂçÅþÁ¬ºÍ¹²ÏíÌåÑé¡£
ÒÔÉϾÍÊÇÔõÑùÔÚ÷è÷ë²Ù×÷ϵͳÉϾÙÐÐϵͳµÄÍøÂçÅþÁ¬ºÍ¹²Ïí£¿µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡