this post was submitted on 22 Jul 2024
6 points (100.0% liked)

Linux

47237 readers
3343 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Either self-hosted or cloud, I assume many of you keep a server around for personal things. And I'm curious about the cool stuff you've got running on your personal servers.

What services do you host? Any unique stuff? Do you interact with it through ssh, termux, web server?

top 21 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

Self-hosted machine. It was basically my old computer I bought back in '09. It's a i5-750 on a Asus P5P77. It started with the 4 GB RAM I hadn't sold until I upgrade to 8. I used a borrowed Nvidia GT730 and a 1 TB HDD at first until I upgrade my main PC GPU and bought a new HDD for the server so now it runs in a 4 TB HDD and my old GTX 1060 3 Gb. It's a beast for my needs.

  • Jellyfin is the main reason I started my server. Initially it was so my mother could easily watch shows I would never illegally download. Until a realized it would be great for me too and friends. To not watch them...I mean, because that would be ilegal!

  • Qbittorrent...shit...oh well :)

  • Nginx, when I realized I could host my own development server and personal website

  • Komga, when I realized I could have the same benefits of Jellyfin with books and comics.

  • Tailscale, allows me to, among other things, use it as an online or LAN hard drive for me and people I like.

  • Samba, see above. It also works to keep a nice share folder between my main PC and my laptop

The more time passes the more I realize self-hosting is the best idea ever. I get new ideias every day.

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

-Jellyfin: for playing media that I totally own and surely did no obtain by any obscure way.

-Qbittorrent: for reasons completely unrelated to the previous one.

-Amule: see above.

-Synapse (matrix server): overly complex way to send myself notifications from the server to my phone.

-FreshRSS: to have a self hosted RSS feed server. Could I use an android app for the same thing? Sure. But it's more fun and headache inducing this way.

-TubeArchivist: Because I want to offload some of that cost inducing bandwidth that is making those poor YouTube executives to keep pushing more aggressive ads on their platform. I'm just that nice.

-Caddy: because I'm just lazy.

-Crowdsec: Because I'm just paranoid.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

Media server: Jellyfin, qBittorrent, Radarr/Sonarr/Lidarr/Prowlarr, and OpenVPN/Traefik/WireGuard

Misc: PiHole, Vaultwarden, HashiCorp Vault, and FreeIPA

VMware ESXi for the VMs, but I'll be switching to Proxmox soon.

All running in Docker or Podman containers on their own VMs. I'm trying to automate the deployment and configuration of each of these services via pipelines in GitLab CI using Ansible and Terraform right now. I also have a couple of Kubernetes clusters for testing and dev stuff on this server.

Accessed via SSH or an NGINX reverse proxy. I'm using certificates where possible, but a lot of the traffic between VMs is still unencrypted. I'll eventually force everything local to use Traefik, but for now, only a few services are using it.

There are a lot of projects on awesome-selfhosted and selfhosted that I've been meaning to get around to installing. Home Assistant and AdGuard Home are two of them.

OpenStack has a really good Ansible hardening project for securing servers that I try to always use. I also have a Red Hat developer license, so I try to use their OS when possible because of their FIPS and other security profiles. Some services just don't work with any of the newer RHEL versions though, and I usually fall back to CentOS Stream or Ubuntu whenever that happens.

[–] [email protected] 1 points 1 month ago

Minetest server, arr suite, plex, Pihole, calibre, homesssistant, Nextcloud.

Interact with it through a Homarr webpage and all of it is virtualized through proxmox.

[–] [email protected] 1 points 1 month ago (1 children)

Lenovo ThinkStation P330 Tiny. Debian + Podman systemd quadlets, running these services:

  • Jellyfin
  • Sonarr
  • Radarr
  • Qbittorrent w/ VPN
  • Linkwarden
  • Calibre Web
  • Immich
  • Lidare
  • Postgres
  • Prowlarr
  • Vaultwarden
[–] [email protected] 0 points 1 month ago (1 children)

Do you have any tips (or examples) using quadlets? I tried using them but I couldn't wrap my head around them.

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

I used this guide https://www.redhat.com/sysadmin/quadlet-podman

I have a folder on my in my home folder called containers symlinked to /etc/containers/systemd with my .container files. This is my jellyfin.container for using the Nvidia Quadro on my server.

[Unit]
Description=Podman - Jellyfin
Wants=network-online.target
After=network-online.target
Requires=nvidia-ctk-generate.service
After=nvidia-ctk-generate.service

[Container]
Image=lscr.io/linuxserver/jellyfin:latest
AutoUpdate=registry
ContainerName=jellyfin
Environment=PUID=1000
Environment=PGID=100
Environment=TZ=America/St_Johns
Environment=DOCKER_MODS=ghcr.io/gilbn/theme.park:jellyfin
Environment=TP_THEME=dracula
Volume=/home/eric/services/jellyfin:/config
Volume=/home/eric/movies:/movies
Volume=/home/eric/tv:/tv
Volume=/home/eric/music:/music
PublishPort=8096:8096
PublishPort=8920:8920
PublishPort=7359:7359/udp
PublishPort=1900:1900/udp
AddDevice=nvidia.com/gpu=all
SecurityLabelDisable=true

[Service]
Restart=always
TimeoutStartSec=900

[Install]
WantedBy=default.target

I use sudo podman auto-update to update the images to utilize the AutoUpdate=registry option.

[–] [email protected] 1 points 1 month ago

Pi-hole on an ancient pi zero w.

I've got a little MSI box with 16GB of RAM, 500GB SSD, and a quad core i3 running Proxmox. Home Assistant is in its own VM, I have a VM for a bastion host/jump box of sorts for a client's network (yes, I know VPNs exist), and then a VM running a few Docker containers: CheckMK, Dozzle, Uptime Kuma, and The TP-Link Omada Controller software. I intend to migrate those to Podman eventually.

On my desktop in Podman, I'm running Dashy, Redlib, and Dozzle regularly. Sometimes I run other services but those are pretty persistent. I use Podman on my local machine for my development work and it's just handy to have Redlib and Dashy right here.

I tend to interact with things via SSH unless it's a webshit.

[–] [email protected] 1 points 1 month ago

I have an orangepi zero 3 with pihole

Then an ITX PC with

  • mealie (meal planner, recipe parser, grocery list maker with a bunch of features and tools)

  • immich for self hosting a google photos alternative

  • *arr stack for torrenting Linux ISOs

  • Jellyfin for LAN media playing

  • home assistant for my VW car, our main hanging renovation lights, smoke and CO monitors, and in the future, all of the KNX smart systems in our house

  • Syncthing for syncing photo backup and music library with phone

  • Bookstack for a wiki, todos, journal, etc... (Because I didn't want to install better services for journals when I don't use it much)

  • paperless-ngx for documents

  • leantime for managing my personal projects, tasks, and timing

  • Valheim game server

  • Calibre-web for my eBook library backup

  • I had nextcloud but it completely broke on an update and I can't even see the login fields anymore, it just loads forever until it takes down my network and server, so I ditched it since I never used it anyway

  • crowdsec for much better (preemptive) security than fail2ban

  • traefik for reverse proxy

[–] [email protected] 1 points 1 month ago

Multiple hosts. Win2024/hyperv and proxmox

  • domain/dns/dhcp/ncp 2x
  • pihole
  • iobroker (smarthome)
  • sonarr/radarr/orowlarr
  • emby
  • sabnzbd
  • vpn-vm for torrent/soulseek
  • searxng
  • dav for calendar
  • caddy (for emby/dav from outside)
  • firefly (banking)

And some minor, less important ones.

All backup to a central server, which does a daily backup of the backup onto another nas. In case of emergency,just grab nas.

[–] [email protected] 1 points 1 month ago

This might be a better question for !selfhosted

[–] [email protected] 1 points 1 month ago

Some vegetables

[–] [email protected] 0 points 1 month ago (1 children)
[–] [email protected] 0 points 1 month ago (1 children)

Are you using Kavita for your books as well? I have my books on Calibre, but I'm seriously considering putting it all under Kavita.

[–] [email protected] 0 points 1 month ago (1 children)

yes i use kavita, i have a couple hundred books.

[–] [email protected] 1 points 1 month ago

I guess that's going to be the way. I'm moving all the services I have under UnRaid to ProxMox, and wanted to lower the app count. Thanks for the tip.

[–] [email protected] 0 points 1 month ago* (last edited 1 month ago) (1 children)

Two old HP thin client PCs configured as 4TB SFTP file servers using vsftpd on Debian. Each one uses software RAID 1 with both an NVMe and SATA SSD internally, and are in two separate locations with a cron job which syncs one to the other every 24 hours.

People who actually know what they are doing will probably find this silly, but I had fun and learned a lot setting it up.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (1 children)

tell me about the cron thing. im thinking of doing just that on mine for backup.

are you scping them together?

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (1 children)

I am using lftp and mirror. One server functions as the "main" server, which mirrors the backup server to itself once per day at a specific time (they both run 24/7 so I set it to run very early in the morning when it is unlikely to be accessed).

In my crontab I have:

# # * * * /usr/bin/lftp -e "mirror -eRv [folder path on main server] [folder path on backup server]; quit;" sftp://[user]@[address of backup server]:[port number]

[–] [email protected] 2 points 1 month ago (1 children)

til about lftp. i'm gonna be testing that one out thanks

[–] [email protected] 2 points 1 month ago

No problem! Glad I could be of help, and best of luck on your project.