-
Notifications
You must be signed in to change notification settings - Fork 0
Shares
Jay Ovalle edited this page Dec 13, 2020
·
1 revision
apt install -y nfs-kernel-server
Setup NFS share in /etc/exports
/var/lib/media *(rw,sync,no_subtree_check,no_root_squash)
Update config
exportfs
cerberus.techn.is:/var/lib/media /var/lib/media nfs4 vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,timeo=600,retrans=2,sec=sys 0 0
Setup SMB shares in /etc/samba/smb.conf
[global]
workgroup = TECHNIS
server string = Watchtower Samba Server %v
security = user
map to guest = bad user
[media]
comment = Curated collection of everything
path = /var/lib/media
browseable = yes
writeable = yes
create mask = 0644
directory mask = 0755
valid users = jay
guest ok = no
Create a user
smbpasswd -a jay
Restart smbd
systemctl restart smbd