×ðÁú¿­Ê±¹ÙÍøµÇ¼

ÔõÑùÔÚLinuxÉÏÉèÖÃÍøÂç¹²Ïí

ÔõÑùÔÚlinuxÉÏÉèÖÃÍøÂç¹²Ïí

¼ò½é:

ÔÚLinux²Ù×÷ϵͳÖУ¬ÎÒÃÇ¿ÉÒÔͨ¹ýÉèÖÃÍøÂç¹²ÏíʵÏÖ¶ą̀ÅÌËã»úÖ®¼äµÄÎļþºÍ×ÊÔ´¹²Ïí¡£ÍøÂç¹²Ïí¿ÉÒÔ¼«´óµØÀû±ãÎÒÃǵÄÊÂÇéºÍÉúÑÄ£¬²¢ÇÒ»¹¿ÉÒÔÌá¸ßÊÂÇéЧÂÊ¡£±¾ÎĽ«ÏÈÈÝÔõÑùÔÚlinuxÉÏÉèÖÃÍøÂç¹²Ïí£¬²¢¸ø³öÏìÓ¦µÄ´úÂëʾÀý¡£

°ì·¨Ò»: ×°ÖúÍÉèÖÃSambaЧÀÍÆ÷

·­¿ªÖնˣ¬Ê¹ÓÃrootȨÏ޵Ǽ¡£

×°ÖÃSambaЧÀÍÆ÷:

sudo apt-get update
sudo apt-get install samba

µÇ¼ºó¸´ÖÆ

ÉèÖÃSambaЧÀÍÆ÷:

sudo nano /etc/samba/smb.conf

µÇ¼ºó¸´ÖÆ

·­¿ªsmb.confÎļþ£¬ÔÚÎļþĩβÌí¼ÓÒÔÏÂÄÚÈÝ:

[share]
comment = Shared Directory
path = /path/to/shared/directory
browseable = yes
read only = no
guest ok = yes

µÇ¼ºó¸´ÖÆ

ÆäÖУ¬[share]Êǹ²ÏíµÄÃû³Æ£¬commentÊǹ²ÏíµÄÐÎò£¬pathÊǹ²ÏíµÄĿ¼·¾¶¡£

ÉúÑIJ¢¹Ø±ÕÎļþ(°´Ctrl+X£¬ÔÙ°´Y£¬×îºó°´Enter¼ü)¡£

ÖØÆôSambaЧÀÍ:

sudo systemctl restart smbd

µÇ¼ºó¸´ÖÆ

°ì·¨¶þ: ÉèÖÃSamba¹²ÏíµÄ»á¼ûȨÏÞ

½¨Éè¹²ÏíĿ¼²¢ÉèÖÃȨÏÞ:

sudo mkdir /path/to/shared/directory
sudo chmod -R 777 /path/to/shared/directory

µÇ¼ºó¸´ÖÆ

ÕâÀïʹÓÃÁË777ȨÏÞ£¬¿ÉÒÔƾ֤ÏÖʵÐèÇóÉèÖÃÆäËûȨÏÞ¡£

Ϊ¹²ÏíĿ¼½¨ÉèSambaÓû§:

sudo smbpasswd -a username

µÇ¼ºó¸´ÖÆ

ÆäÖУ¬usernameÊÇÄãΪSambaÓû§ÉèÖõÄÃû³Æ¡£

°ì·¨Èý: »á¼û¹²ÏíÎļþ¼Ð

ÔÚWindows²Ù×÷ϵͳÖУ¬·­¿ª×ÊÔ´ÖÎÀíÆ÷¡£

ÔڵصãÀ¸ÊäÈë: \linux_ip_addressshare£¬ÆäÖÐlinux_ip_addressÊÇLinuxÅÌËã»úµÄIPµØµã£¬shareÊǹ²ÏíµÄÃû³Æ¡£

ÊäÈë֮ǰÉèÖõÄSambaÓû§µÄÓû§ÃûºÍÃÜÂë¡£

µã»÷”È·¶¨”£¬¾Í¿ÉÒÔ»á¼û¹²ÏíÎļþ¼ÐÁË¡£

×ܽá:

ͨ¹ýÒÔÉÏ°ì·¨£¬ÔÚLinux²Ù×÷ϵͳÉÏÉèÖÃÍøÂç¹²ÏíÊÇÏà¶Ô¼òÆӵġ£ÔÚÉèÖÃÀú³ÌÖУ¬ÇëÈ·±£ÍøÂçÅþÁ¬Õý³££¬·À»ðǽÔÊÐíSambaЧÀÍÆ÷µÄ¶Ë¿Úͨ¹ý£¬²¢ÇÒ¹²ÏíĿ¼µÄȨÏÞÉèÖÃ׼ȷ¡£ÕâÑù£¬Äã¾Í¿ÉÒÔÀû±ãµØÔÚ¶ą̀ÅÌËã»úÖ®¼ä¹²ÏíÎļþºÍ×ÊÔ´ÁË¡£

Ï£Íû±¾ÎĶÔÄãÉèÖÃÍøÂç¹²ÏíÓÐËù×ÊÖú¡£ÈôÊÇÄãÓÐÈκÎÎÊÌâ»òÒÉÎÊ£¬½Ó´ýÁôÑÔÌÖÂÛ¡£

ÒÔÉϾÍÊÇÔõÑùÔÚLinuxÉÏÉèÖÃÍøÂç¹²ÏíµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
ÍøÕ¾µØͼ