💾 Archived View for darknesscode.xyz › linux › setup-samba.gmi captured on 2023-05-24 at 18:03:54. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-05)
-=-=-=-=-=-=-
Make sure you system is update
sudo apt update && sudo apt dist-upgrade
Now install samba:
sudo apt-get install samba samba-common-bin
Set a password for your user in Samba:
sudo smbpasswd -a user_name
When is done, open smb.conf:
sudo nano /etc/samba/smb.conf
At the end of the file add this configuration with path of your folder:
[share] (Name to show in your network) Comment = Shared folder (Short description of your folder) Path = /share (Path of your folder /XXX/XXX/XXX) Browseable = yes Writeable = Yes Only guest = no Create mask = 0777 Directory mask = 0777 Public = yes Guest ok = yes Valid users = user_name Read only = no
Save all you changes and restart samba:
sudo service smbd restart
----------
----------
© DarknessCode