Raspberry Pi Samba Server

From West Side Of Dawn
Revision as of 19:39, 11 July 2019 by Blksun813 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Install Buster

sudo apt update 
sudo apt upgrade

sudo apt install samba exfat-fuse ntfs-3g fail2ban git
sudo mkdir -m 1777 /nas


sudo nano /etc/samba/smb.conf
[NAS]
Comment = Pi Network Attached Storage
Path = /nas
Browseable = yes
Writeable = Yes
only guest = no
create mask = 0777
directory mask = 0777
Public = yes
Guest ok = no
sudo adduser kodi
sudo smbpasswd -a kodi
sudo /etc/init.d/smbd restart


Edit fstab and add:

UUID=1CA057FDA057DBB8 /nas      ntfs-3g defaults,noatime 0 2