I want to set up a Linux Mint computer as a basic file server for a few computers at home. What's a practical way to get started, and what configuration details should I watch for?
What's a simple way to share files between computers at home?
Answers
Samba is a reasonable starting point, especially if any of the computers run Windows. Set up one shared folder first, give it a Samba user and password, and test opening and saving a file from another computer before adding more shares.
Pay attention to both the share settings and the Linux folder permissions. A share can be visible on the network but still refuse writes if the underlying folder isn't writable by the user accessing it.
Reply to this answer
If all your computers run Linux, have a look at NFS too. It may be simpler for that setup, though you'll still need to plan who can access the share and how file ownership and permissions work across machines.
Samba is still an option on an all Linux network. The easier choice depends on how you want to manage access.
Reply to this answer
Consider Syncthing if what you really want is a copy of the same folders on each computer. That's a different setup from a central file share, and simultaneous edits can cause conflicts, but it may fit better if you want files available locally.
_t46!brackenpiston.8:
Syncing multiple copies isn't a substitute for backups. An accidental deletion or unwanted change can be synced too.
Reply to this answer
Whatever you choose, make regular backups to separate storage and check that you can restore a file. Keep the server updated too.
For the setup itself, work through the documentation one step at a time. If you're copying commands, use the server computer directly to reduce retyping, and make sure you understand a command before running it. A virtual machine can be a useful place to experiment first.
Reply to this answer
Add your answer
Answers are reviewed before publication.
c.817+fablecrayon:
Keep the share limited to your home network and use a password rather than opening it to guests unless you actually need guest access.