- sudo apt-get install samba
- Create a new section at the bottom of the file, or uncomment one of the examples, for the directory to be shared:
[share] comment = Ubuntu File Server Share path = /srv/samba/share browsable = yes guest ok = yes read only = no create mask = 0755
- sudo mkdir -p /srv/samba/share
- sudo chown nobody.nogroup /srv/samba/share/
/etc/init.d/smb restart
- sudo restart smbd
沒有留言:
張貼留言