sudo apt -y update sudo apt -y upgrade sudo apt -y install samba
$ sudo vim /etc/samba/smb.conf [global] # Configure correct UTP unix charset = UTF-8 # Change this to the workgroup/NT-domain name your Samba server will be part of workgroup = WORKGROUP bind interfaces only = yes # Set share configuration at the end [Docs] path = /dir/to/share writable = yes guest ok = no guest only = no create mode = 0777 directory mode = 0777
sudo mkdir -p /dir/to/share sudo chown user:user /dir/to/share sudo smbpasswd -a user sudo systemctl restart smbd nmbd
Lascia un commento