Share folders on remote Linux PC to your local Windows PC

With samba on Linux PC already installedspa

 

On Linux PC:rest

1. vi /etc/samba/smb.confcmd

add the following text in the end,  NOTE, there are  SPACEs before those options.
it

[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

io

2. restart servicesservice

cmdline: sudo service smbd restart
smbd stop/waiting
smbd start/running, process 7020im


cmdline: sudo service nmbd restart
nmbd stop/waiting
nmbd start/running, process 7036

top

3. on Windows PC to access that Linux PCimg

     and type \\192.168.0.27, then enter
di

 

Done.

相關文章
相關標籤/搜索