ubuntu:samba:install_samba
Table of Contents
Ubuntu - Samba - Install Samba
Install Samba
sudo apt install samba
Configure Samba
mkdir /home/share chmod 777 /home/share sudo vi /etc/samba/smb.conf
Edit the file as:
- /etc/samba/smb.conf
# line 25: add unix charset = UTF-8 # line 30: change (Windows' default) workgroup = WORKGROUP # line 51: uncomment and change IP address you allow interfaces = 127.0.0.0/8 10.0.0.0/24 # line 58: uncomment and add bind interfaces only = yes map to guest = Bad User # add to the end, any share name you like [Share] # shared directory path = /home/share # writable writable = yes # guest OK guest ok = yes # guest only guest only = yes # fully accessed create mode = 0777 # fully accessed directory mode = 0777
Restart Samba
sudo systemctl restart smbd
ubuntu/samba/install_samba.txt · Last modified: 2023/06/09 16:54 by peter