I installed Samba to my Ubuntu Server (which is an old ThinkPad laptop that has been gathering dust in my closet for ages):
I have three 3-TB HDDs that I planned to use as my main server storage; one main server, and the other two for backup. All of these HDDs are in ext4 format.
Then I created a new directory under
/media where I will mount my main server storage:
Then I edited the samba config file
/etc/samba/smb.conf. I just scrolled to the very bottom and added these lines (after [print$] section):
Then I tested the config file for syntax errors using the command:
Before I added the mount entry for my server to
/etc/fstab, I took note of my HDD’s UUID from the following command:
in which the output looked something like
Then I edited
/etc/fstab and added the line below:
Lastly, I then rebooted my server.
Accessing my file server from Windows
To access my server, I opened File Explorer and browsed to
If you have any questions or feedback, please reach out @flowerinthenyt.
This work is licensed under a Creative Commons Attribution 4.0 International License.