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
service smbd restart
service nmbd restart
3. on Windows PC
\\192.168.0.27 to access that Linux PC
Done.
时间: 2024-10-01 02:30:32