Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
It's been a while so I am relying on some janky notes:
Prep:
spoiler
Create a Mount Point:
sudo mkdir /mnt/myhddMount the HDD:
sudo mount /dev/sdb1 /mnt/myhddVerify the Mount:
df -hInstall Samba (if not already installed):
Configure Samba:
sudo nano /etc/samba/smb.confAdd the following at the end of the file:
Set Samba Password:
sudo smbpasswd -a yourusernameRestart Samba:
sudo systemctl restart smbdTo make the HDD mount automatically at boot, add the following line to /etc/fstab:
/dev/sdb1 /mnt/myhdd ext4 defaults 0 2make you replace /dev/sdb1 and /mnt/myhdd with your actual device and mount point.
Compose File:
spoiler
Adjust as necessary or applicable. Maybe this will get you headed in the right direction. It'd be helpful if someone double checked my notes. I get nervous when giving instructions. LOL Also it should go without saying that you should do your due diligence verifying any code copied off the internet. Not responsible for ingrown toenails, loose stool, or blurred vision.