This is a quick tutorial if you want to set up a home server and have files available to anybody who has access to your wifi or home network. This home server can be any computer; it doesn't need to be a dedicated machine.
All of my home computers run Linux (because I'm a nerd), so this tutorial covers how to set up Samba on Ubuntu. All the work is done in the terminal.
Open the terminal:
ctrl + alt + t.
$ sudo apt install samba
There's more output, just go with it.
$ sudo service smbd stop
We're just going to rename the current config file so that if we need it again we still have it, even though you probably won't need it.
$ cd /etc/samba
$ sudo mv smb.conf smb.conf.old
Well, since we renamed the original config file one we're going to create a new one in nano (feel free to use vi if you're a snob).
$ sudo nano smb.conf
server string is just a description of your server.
workgroup is the name of your work group. These two can be whatever you want. The next 3 lines are just for quick easy settings (no passwords needed etc...).
We're still editing
/etc/samba/smb.conf, but I thought this deserved its own step.
You can make as many samba shares as you want. I have a documents directory that I want anybody to have access to. I'll also add the music folder from my plex server. What you put in [Square Brackets] will be the name of the folder/directory everyone sees on the network.
force user must be the user of the server, otherwise you may get a username and password prompt.
path is (obviously) the path to the shared directory.
writable = no that means that nobody can make changes to this directory. Set to
yes if you want others to be able to change it. This gives full CRUD abilities on your server to anyone who can access your wifi or home network.
public = yes so that everyone can see it!
ctrl-O to save (and
ctrl-X to exit nano.
Just like your math teacher used to tell you. (I used to be a math teacher, can you tell?)
What you'll see is a bunch of stuff. If you see what you just typed everything should be ok!
$ sudo service smbd start
Now you can go into your computer's filesystem and check out your cool stuff!