sudo pacman -S samba
È»ºóÔÙÅäÖà sudo cp /etc/samba/smb.conf.default /etc/samba/smb.conf
sudo vi /etc/samba/smb.conf
ÈçÏÂ
[global]
workgroup = WORKGROUP
server string = Samba Server
security = share£¨¹Ø¼üÊÇÕâÀĬÈÏÊÇuser£¬ÕâÑùWINÏ·ÃÎÊLINUXÒªÃÜÂ룬ËùÒԸijÉshare¾Í²»ÓÃÃÜÂëÁË£©
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
wins support = no
[My Music]
path = /media/Documents/My Music
available = yes
browsable = yes
public = yes
writable = no
¹Ø¼üÊÇÈçºÎÔÚLINUXÏ·ÃÎÊWINϹ²Ïí£¿nautilusÖÐsmb://192.168.1.5ºÙºÙ¾Í¿ÉÒÔ¿´µ½ÁË¡£µ±È»ÒªÖªµÀ¶Ô·½µÄ¾ÖÓòÍøÖÐIPµØַŶ¡£