Share folders on remote Linux PC to your local Windows PC
With samba on Linux PC already installed
On Linux PC:
1. vi /etc/samba/smb.conf
add the following text in the end, NOTE, there are SPACEs before those options.
[192.168.0.27.home]
comment = Linux Server 192.168.0.27 home
path = /home/xxxxx/
writeable = yes
; browseable = yes
create mask = 0777
directory mask = 0777
guest ok = yes
force user = xxxxx
2. restart services
cmdline: sudo service smbd restart
smbd stop/waiting
smbd start/running, process 7020
cmdline: sudo service nmbd restart
nmbd stop/waiting
nmbd start/running, process 7036
3. on Windows PC to access that Linux PC
and type \\192.168.0.27, then enter
Done.
posted on 2015-01-08 10:29 Shawn X.Y. Bai 阅读(1051) 评论(0) 编辑 收藏 举报