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.

你可能感兴趣的:(Share folders on remote Linux PC to your local Windows PC)