setup samba on ubuntu
install samba
$ apt update
$ apt install sambaassign ubuntu user a password for samba
$ smbpasswd -a USERNAMEconfig samba and add diretory
# /etc/samba/smb.conf
[data]
comment = Samba Share on Ubuntu
path = /data
read only = no
guest ok = no
browseable = yes
writeable = yes
create mask = 0644
directory mask = 0755
force user = root
restart samba service
$ service smbd restart
# optional
$ ufw allow sambamount hfs+
$ apt update
$ apt install hfsplus
$ mount -t hfsplus -o force,rw /dev/sdx# /media/mntpointInstall and Configure Samba | Ubuntu
Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things.


Member discussion