ubuntu:samba:install_samba
This is an old revision of the document!
Ubuntu - Samba - Install Samba
sudo apt install samba
Configure Samba
mkdir /home/share chmod 777 /home/share 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
systemctl restart smbd
ubuntu/samba/install_samba.1575838589.txt.gz · Last modified: 2020/07/15 09:30 (external edit)