# Setting Up Samba on Raspberry Pi (Not in Docker)
1. Run `sudo apt install samba samba-common-bin`
2. Put the following into `etc/samba/smb.conf`
```ini
[share]
Comment = Pi shared folder
Path = /share
Browseable = yes
Writeable = Yes
only guest = no
create mask = 0777
directory mask = 0777
Public = yes
Guest ok = yes
````
3. Set a password by calling `sudo smbpasswd -a pi`
4. Restart the service by calling `sudo /etc/init.d/smbd restart`