How to share files with Samba

Feed

date: 2022-05-05 14:13:31

categories: linux

firstPublishDate: 2022-05-05 14:13:31

This is my samba setup in which I have a server and the server root is shared with other clients on my local network. I have used this setup in Debian Bullseye and Debian Bookworm/testing.

For other ways transfering files, read

how to transfer files between devices

Server setup:

Edit `/etc/samba/smb.conf` to share the server root:

Restart the samaba server:

Create a samba password for `myusername`:

Client setup

Install `mount.cifs`:

Add the shared drive in `/etc/fstab`:

Mount the shared drive in the client:

hashtags: #linux #samba

Feed

Guestbook

Proxied content from gemini://gmi.noulin.net/2022-05-05-how-to-share-files-with-samba.gmi (external content)

Gemini request details:

Original URL
gemini://gmi.noulin.net/2022-05-05-how-to-share-files-with-samba.gmi
Status code
Success
Meta
text/gemini
Proxied by
kineto

Be advised that no attempt was made to verify the remote SSL certificate.