this post was submitted on 22 Jul 2024
120 points (96.9% liked)

Linux

48681 readers
406 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 50 comments
sorted by: hot top controversial new old
[–] AbidanYre@lemmy.world 32 points 5 months ago

This might be a better question for !selfhosted

[–] eric@lemmy.ca 14 points 5 months ago (3 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
[–] krolden@lemmy.ml 5 points 5 months ago

P330 tiny is so good I just wish there was a ryzen version with a pcie slot. Quicksync is great but I hate Intel.

load more comments (2 replies)
[–] Veraxis@lemmy.world 12 points 5 months ago* (last edited 5 months ago) (5 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.

[–] Crackhappy@lemmy.world 5 points 5 months ago

If it works reliably who cares?

load more comments (4 replies)
[–] chevy9294@monero.town 11 points 5 months ago* (last edited 5 months ago) (2 children)

On my Raspberry Pi 4 4gb with encrypted sd is:

  • pihole
  • wireguard server
  • vaultwarden
  • cloudflare ddns
  • nginx proxy manager
  • my website
  • ntfy server
  • mollysocket
  • findmydevice server
  • watchtower

Pi is overkill for this kind of job. Load average is only 0.7% and ram usage is only 400M

[–] vikingtons@lemmy.world 2 points 5 months ago (1 children)

can you tell us how you got this running with an encrypted SD card?

[–] chevy9294@monero.town 7 points 5 months ago (2 children)

That was really hard to do. I created a note for myself and I will also publish it on my website. You can also decrypt the sd using fido2 hardware key (I have a nitrokey). If you don't need that just skip steps that are for fido2.

The note:

Download the image.

Format SD card to new DOS table:

  • Boot: 512M 0c W95 FAT32 (LBA)
  • Root: 83 Linux

As root:

xz -d 2023-12-11-raspios-bookworm-arm64-lite.img.xz
losetup -fP 2023-12-11-raspios-bookworm-arm64-lite.img
dd if=/dev/loop0p1 of=/dev/mmcblk0p1 bs=1M
cryptsetup luksFormat --type=luks2 --cipher=xchacha20,aes-adiantum-plain64 /dev/mmcblk0p2
systemd-cryptenroll --fido2-device=auto /dev/mmcblk0p2
cryptsetup open /dev/mmcblk0p2 root
dd if=/dev/loop0p2 of=/dev/mapper/root bs=1M
e2fsck -f /dev/mapper/root
resize2fs -f /dev/mapper/root
mount /dev/mapper/root /mnt
mount /dev/mmcblk0p1 /mnt/boot/firmware
arch-chroot /mnt

In chroot:

apt update && apt full-upgrade -y && apt autoremove -y && apt install cryptsetup-initramfs fido2-tools jq debhelper git vim -y
git clone https://github.com/bertogg/fido2luks && cd fido2luks
fakeroot debian/rules binary && sudo apt install ../fido2luks*.deb
cd .. && rm -rf fido2luks*

Edit /etc/crypttab:

root            /dev/mmcblk0p2          none            luks,keyscript=/lib/fido2luks/keyscript.sh

Edit /etc/fstab:

/dev/mmcblk0p1    /boot/firmware  vfat    defaults          0       2
/dev/mapper/root  /               ext4    defaults,noatime  0       1

Change root to /dev/mapper/root and add cryptdevice=/dev/mmcblk0p2:root to /boot/firmware/cmdline.txt.

PATH="$PATH:/sbin"
update-initramfs -u

Exit chroot and finish!

umount -R /mnt
load more comments (2 replies)
[–] perishthethought@lemm.ee 10 points 5 months ago* (last edited 5 months ago) (2 children)

You might like to search this community, and also \c\self_hosted, since this question gets asked a lot.

For me:

  • Audiobookshelf
  • Navidrome
  • FreshRss
  • Jellyfin
  • Forgejo
  • Memos
  • Planka
  • File Storage
  • Immich
  • Pihole
  • Syncthing
  • Dockge

I created two things - CodeNotes (for snippets) and a lil' Weather app myself 'cause I didn't like what I found out there.

load more comments (2 replies)
[–] JustEnoughDucks@feddit.nl 10 points 5 months ago (1 children)

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

[–] m0darn@lemmy.ca 5 points 5 months ago

As a person that actually torrented a Linux iso on Friday, thank you! Lol

[–] wargreymon@sh.itjust.works 9 points 5 months ago* (last edited 5 months ago) (1 children)

countless "read later" pdfs ...and cat pictures

[–] phantomwise@lemmy.ml 5 points 5 months ago

Cat pictures ? Definitely the best possible use of a server 😄

[–] PerogiBoi@lemmy.ca 7 points 5 months ago (3 children)

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

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

[–] Meltrax@lemmy.world 5 points 5 months ago (2 children)

I've been a software engineer for 8 years and I've had my own Jellyfin server (and before that, Plex) set up for 4 years on a server that I built myself.

Despite this, I don't have a damn clue what "virtualized through Proxmox" means any time I read it.

[–] possiblylinux127@lemmy.zip 5 points 5 months ago (1 children)

They are just running things in VMs. They may even have a cluster with some sort of high availability.

1000002710

[–] Analog@lemmy.ml 3 points 5 months ago (2 children)

Or containers, but lxc instead of docker-like. They’re like full VMs in operation but super lightweight. Perfect for some needs.

load more comments (2 replies)
load more comments (1 replies)
load more comments (2 replies)
[–] SpaceNoodle@lemmy.world 6 points 5 months ago

Plex, transmission, home assistant, some SSH tunnels, some custom home automation endpoints.

[–] vk6flab@lemmy.radio 5 points 5 months ago

I use Docker and (currently) VMware and host whatever I need for as long (or short) as I need it.

This allows me to keep everything separate and isolated and prevents incompatible stuff interacting with each other. In addition, after I'm done with a test, I can dispose of the experiment without needing to track down spurious files or impacting another project.

I also use this to run desktop software by only giving a container access to the specific files I want it to access.

I'm in the process of moving this to AWS, so I have less hardware in my office whilst gaining more flexibility and accessibility from alternative locations.

The ultimate aim is a minimal laptop with a terminal and a browser to access what I need from wherever I am.

One side effect of this will be the opportunity to make some of my stuff public if I want to without needing to start from scratch, just updating permissions will achieve that.

One step at a time :)

[–] not_amm@lemmy.ml 5 points 5 months ago (4 children)

For local use only I use Docker Rootless hosting:

  • SearXNG (with some modifications, like not using Redis nor Caddy)
  • FreshRSS
  • Jellyfin (for my small collection of series and movies)
  • Gotify
  • Stirling-PDF
  • PiHole (more as an experiment, rather than looking for a complete DNS solution since I can't change my router's DNS)
  • Paperless-NGX (I don't use it much, it's more as an experiment)
  • Homer
  • DokuWiki

I've found problems using Docker Rootless and Tumbleweed as my server's OS, since some configurations are different and some containers don't even work, but I've also learned a lot :)

load more comments (4 replies)
[–] atocci@lemmy.world 5 points 5 months ago* (last edited 5 months ago)

Just Jellyfin and modded Minecraft right now. Nothing super interesting, but great fun.

I'm using SSH to interact with the Minecraft server in tmux, and the web interface for Jellyfin.

[–] Discover5164@lemm.ee 5 points 5 months ago (3 children)
load more comments (3 replies)
[–] therealjcdenton@lemmy.zip 4 points 5 months ago

Nice try fed won't get my ssh keys that easily

[–] drwho@beehaw.org 4 points 5 months ago

I've got servers all over the place. A sample of what I have running on all of them:

  • YaCy
  • SearxNG
  • Kodi
  • Shaarli
  • Huginn
  • Part-DB-server
  • Bookstack
  • Cyberchef
  • Efflux
[–] spirinolas@lemmy.world 4 points 5 months ago* (last edited 5 months 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.

[–] gpstarman@lemmy.today 4 points 5 months ago

Homework worth of TBs

[–] vithigar@lemmy.ca 4 points 5 months ago

Headless server accessed via SSH. Hosting Jellyfin, FoundryVTT, a Discord bot that I just mess around with, and also use it to run an IRC client inside screen.

[–] toastal@lemmy.ml 4 points 5 months ago* (last edited 5 months ago)
  • Prosody XMPP server (might move to ejabberd) with Movim front-end
  • Murmur VoIP server
  • Miniflux feed reader
  • Nix remote builder & substitutor
  • Upterm terminal sharing
  • Some small static sites on Nginx
  • Darcs, Pijul, Git hosting (no forge, basic SSH + HTTPS)
[–] BlueEther@no.lastname.nz 4 points 5 months ago (2 children)

ATM I have the following running:

  • Caddy
  • NextCloud
  • Webpress
  • Plex
  • Actual Budget
  • Portainer
  • Vaultwarden
  • Grafana
  • Stable Diffusion
  • QBT
  • *arr stack
  • 4 Debian instances with differing bits and bobs on
  • MIT Scratch
  • Neon KDE (Drives lounge TV)
  • Win10 and 11 vms
  • TrueNAS
  • OpnSense
  • Homepage
  • Navidrome
  • SoulSeek
load more comments (2 replies)
[–] phantomwise@lemmy.ml 4 points 5 months ago (1 children)

Nothing yet, I'm still trying to figure out how to get my orange pi working... not much progress yet because I am just starting and making a server is very intimidating 😅 For now I'd like to just get it working so I can access a hard drive, and if I manage that and feel very daring, then pihole, jellyfin and home assistant.

load more comments (1 replies)
[–] featured@lemmygrad.ml 4 points 5 months ago

I use my home server for everything. It’s an i5-13500 system, 48GB of RAM, an RX6650XT, and currently 14 drives all packed into a 4U case.

I virtualize my desktop on it, just passing through the GPU, P-Cores, and 16GB of RAM. That’s my primary dev workstation at home, and also my gaming machine (which runs sunshine for streaming games). I also have a Mac VM set up with OSX-KVM and minimal resources for Bluebubbles.

My drives are set up in several pools. I have two SSD pools: a boot pool running ZFS for the host server system (Debian), and a VM/Container ZFS pool for docker container images and configs as well as the Mac VM. I also have a whole NVMe SSD dedicated to the workstation VM. Finally, I have two large HDD pools: A mergerfs/snapraid setup for media storage (4 drives) and a large ZFS pool (5 drives) for important personal data like pictures and documents.

Services I run:

  • Ente
  • Jellyfin
  • Navidrome
  • Kavita
  • Bluebubbles
  • HomeAssistant
  • MollySocket
  • Searxng
  • Piped
  • Cockpit
  • Samba
  • Prometheus/grafana
  • qBitTorrent
  • Homarr

Always looking for new self hosted stuff to try! I’m thinking of getting into the *arr stuff soon but I’m a bit intimidated by it. Also I’ve got a Raspberry Pi 5 on the way that I’m gonna use for Jellyfin, moonlight, and music streaming to my living room TV

[–] sundaylab@lemmy.ml 4 points 5 months ago

I settled on a Fujitsu Q920 with 16 GB of RAM and a 1 TB SSD. Runs FreeBSD 14.1 and each service has its own Jail.

Services:

DNSmasq - local DNS and adblocker Wireguard Navidrome MPD - Media server Vaultwarden - password save Radicale - cardav and caldav server TinyRSS - RSS aggregator Zabbix - server and service monitoring Postgresql Gitea - git repository Emby - jellyfin alternative Mariadb Bhyve VM with Debian running 2 apps (invoiceplane and leantime) which use a quite old php version and I never had time to port to Freebsd.

A second machine that starts daily and creates a backup of machine 1 by using ZFS autobackup.

Nothing fancy but it does what I need.

[–] thayer@lemmy.ca 4 points 5 months ago

NUC 8i5, 32GB, 500GB NVMe (host), 8TB SSD (data), Akasa Turing fanless case, running Proxmox:

  • samba
  • syncthing
  • pihole
  • radicale
  • jellyfin
  • minidnla

I also have a Pi 4 running LibreElec for Kodi on the home theater. Nothing fancy yet and it more than meets our current needs. Most maintenance done over SSH.

Would like to eventually get a proper web and email server going (yes, I know).

[–] digdilem@lemmy.ml 4 points 5 months ago* (last edited 5 months ago)
  • HomeAssistant and a bunch of scripts and helpers.
  • A number of websites, some that I agreed to host for someone who was dying.
  • Jellyfin and a bunch of media
  • A lot of docker containers (Adguard, *arrs)
  • Zoneminder
  • Some routing and failover to provide this between main main server and a much smaller secondary (keepalived, haproxy, some of the docker containers)
  • Some development environments for my own stuff.
  • A personal diary that I wrote and keep track of personal stats for 15 years
  • Backup server for a couple of laptops and a desktop (plus automated backup archiving)

Main server is a ML110 G9 running Debian. 48G/ram. 256 ssd x2 in raid1 as root. 4tb backup drive. 4tb cctv drive. 4x4tb raid 10 data drive. (Separating cctv and backup to separate drives lowers overall iowait a lot). 2nd server is a baby thinkcentre. 2gb ram, 1x 128gb ssd.

Edit: Also traccar, tracking family phones. Really nice bit of software and entirely free and private. Replaced Life360 who have a dubious privacy history.

Edit2: Syncthing - a recent addition to replace GDrive. Bunch of files shared between various desktops/laptops and phones.

[–] 30p87@feddit.org 4 points 5 months ago* (last edited 5 months ago)

Current setup:
Main server (HP ProDesk 600 G3 MT):

  • 2fauth (not finished)
  • Some stuff for the local breweries website
  • Nextcloud (includes KeePass.kdbx)
  • Some stuff for a flea market event in the near future
  • Gitlab
  • Gotify (notification sevice to notify of failed systemd services)
  • Jellyfin
  • Lemmy
  • AbuseIPDB contributor badge (for more API calls)
  • Piped
  • Some stuff for my dad
  • Synapse (Matrix)
  • Uptime-kuma (not finished)
  • WebODM (Drone mapping)
  • Postfix
  • Dovecot
  • Self written DynDNS

Workstation (HP Z440):

  • Gitlab runner
  • NodeODM (Webodm processing node)
  • pict-rs
  • Service to archive+compress+encrypt backups (uploaded to the workstation by the other devices hourly) daily and upload them to google drive + Hetzner

Soon I'll move to a setup where the Workstation runs all services, and there are two servers (HP ProDesk 600 G3 MT) whose only purpose is to run a DHCP+DNS server (one authoritative) as well as a Wireguard bridge to connect the two servers, located at two different networks (and cities), together. I'll also set up Jellyseerr, Vencloud (settings sync for the Discord Client Vencord), revamp the backup system and introduce my Laptop to the ecosystem.

[–] daniskarma@lemmy.dbzer0.com 3 points 5 months ago* (last edited 5 months 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.

[–] tamagotchicowboy@hexbear.net 3 points 5 months ago

Self hosted retro private EQemu, I also use the server for Jellyfin, just for music.

I used to use it to control my window AC from work too, but sadly the smart plug I use for that died over the winter, was nice to pair with those tuya-alternative through http since my cheapo phone needs to save all the storage it can. Its on a very old rig, so I'm always impressed that it still works.

[–] yogthos@lemmy.ml 3 points 5 months ago

I've been running my own nextcloud for around a decade now. I use it for my calendar, contacts, and file storage. It's basically replaced all the google services for me, and has been effectively zero maintenance. It just works.

[–] retrieval4558@mander.xyz 3 points 5 months ago

On an orangepi5, managed via webUIs and SSH: -Home Assistant and associated programs (notably zigbee2mqtt and nodered) -Pihole

8TB Unraid NAS managed via Unraid's webui -Whooole *arr stack -Jellyfin -Mealie

Thinking about nextcloud for the next one.

[–] feef@lemmy.world 3 points 5 months ago

Pi-hole DNS and dhcp + home assistant and a bunch of other related containers.

[–] GadgeteerZA@fedia.io 2 points 5 months ago

@sebastiancarlos@lemmy.sdf.org my home one runs:

  • Nginix PM
  • DuckDNS
  • Glances
  • Home Assistant
  • Jellyfin
  • AdGuard Home
  • Syncthing
  • Paperless-Ngx with Tika and Gotenberg
  • OpenMediaVault
  • Heimdall
[–] Mikina@programming.dev 2 points 5 months ago
  • OrangePi with HomeAssistant and PiHole.
  • Old gaming PC turned 24/7 server with Jellyfin, V-Rising server
  • Hetzner cloud with Matrix server for Messenger and Discord bridging.
  • Synology NAS for SMB and sharing stuff with others through Synology Drive, which also serves as a seedbox for Redacted.ch, with Headphones and Transmission.
[–] remram@lemmy.ml 2 points 5 months ago

Nextcloud, Syncthing, PeerTube, Vaultwarden, Gitea (+drone, drone-qemu, gitea-pages), Wireguard, FreshRSS

load more comments
view more: next ›