Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 767 Bytes

SambaSetup.md

File metadata and controls

55 lines (39 loc) · 767 Bytes

Samba Setup

Install Samba

sudo apt update && sudo apt install -y samba

Directory to share files from

mkdir ~/sambashare

Config Samba

sudo nano /etc/samba/smb.conf

Edit /etc/samba/smb.conf

[global]

### Browsing/Identification ###

# Change this to the workgroup/NT-domain name Samba server will part of
   workgroup = WORKGROUP
   server min protocol = NT1
[sambashare]
   comment = A Samba share on Ubuntu 24.04LTS
   path = /home/<userneme>/sambashare
   read only = no
   browsable = yes
  • Save and Exit nano
    • To Save: [Ctrl]+[o]
    • To Exit: [Ctrl]+[w]

Set Samba password

sudo smbpasswd -a <username>

Restart Samba

sudo service smbd restart