• 3 Posts
  • 57 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle



  • Take the time to properly understand Linux file ownership and permission. Permission will be the cause of many issues you will encounter in you self-hosting journey on Linux. Make sure you know the basics of chmod (change permission) and chown (change ownership), Linux users and groups. This will save you some head-scratching, but don’t worry, you will learn by doing !

    Remember that, if you setup everything right, especially with docker, running as root / with sudo is not required for any of the services you may want to run.


  • I use 2 VPN with my setup:

    1. The private one, hosted on a VPS (OVHcloud). I set it up my self. It’s a bit of work, as you need to take care of properly setting up firewall and reasonably security this server as it is directly facing the Internet. OVH provids some good guides on their website and you can find other resources. You can rent the lowest tire VPS and deploy Debian and Wireguard and you’re all set ! This VPN is for connecting to my NAS at home from outside, and also for secure Internet browsing from public WiFi. This is my own VPN for me and myself (plus my family to a lesser extent).
    2. The one for Torrenting exclusively Linux ISO of course. This one is a Nord on subscription, and the benefits is not really privacy IMO but rather to be drown into the traffic of thousands of other users.












  • why not btrfs send | btrfs receive? is there some advantage to rsync?

    I didn’t think of this. I am familiar with rsync, I went with it without searching for alternatives.

    did you hotswap the drives after each btrfs replace or shutdown and then swap?

    I did the swap with the system powered down. I don’t know if my the NanoPi + SATA hat support hotswap.

    what’s your host OS and do the drives spin down if inactive?

    The NAS runs Armbian. The disks are configured to spin down, yes. I don’t know if this caused me the issue while replacing disk 2. I suppose not, since during replace the disks are all reading continuously. But I don’t know for sure.

    Edit: fixed copy-past mistake with quoted sentences





  • I self-Host Vaultwarden at home, this way I have a convenient password manager for myself and my SO, it’s easy to setup and maintain. East to access from the phone, Firefox, etc. Bitwarden app keeps a local cache so even when disconnected from the server I have access to my passwords and it will synchronize at the next connections. I otherwise have a Wireguard VPN setup in case I need to connect to my home server from outside my home.

    Before I used KeePass+syncthing but it was to much configuration to convince my SO to use it. Bitwarden/Vaultwarden was more successful in that regard.