win and linux 透過 samba 共用檔案
環境:Debian 5.0 and winXP and VMware
1. 安裝:
aptitude install samba
2. vim /etc/samba/smb.conf 如下:
[global]
unix charset = utf8
display charset = utf8
dos charset = cp950
security = user
[sharefiles]
comment = Share Files
path = /home/username
browseable = yes
read only = no
create mask = 0644
directory mask = 0755
public = yes
3. 設定samba帳號密碼:
smbpasswd -a <帳號>
4. restart:
/etc/init.d/samba restart
這樣應該就能用了,
在xp下test:
\\ip-ip-ip-ip-ip-ip
沒有留言:
張貼留言