Jan 13, 2021

HowTo Samba


$ sudo apt-get install samba samba-common-bin

$ sudo vim /etc/samba/smb.conf

[samba]
path = /media/2tb 
writeable=Yes 
create mask=0777 
directory mask=0777 
public=no

$ sudo smbpasswd -a pi

$ sudo systemctl restart smbd

How to mount it in Windows:

“Computer” -> “Map network drive”

Disk: Z
Path: \\raspberrypi\samba

How to mount it in Mac OS X:

???


No comments:

Post a Comment

Kubernetes

kubectl installation $ curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl...