Help setting up new server
from Hezaethos@piefed.zip to selfhosted@lemmy.world on 06 Apr 21:14
https://piefed.zip/c/selfhosted/p/1351697/help-setting-up-new-server

Hello! I’m new to self hosting and networking stuff. I do use only Linux and have experience with Debian, Ubuntu, Mint, and have settled with Fedora and Bazzite on KDE on the home computers/laptops.

I got a GMKtec NucBox G9 Mini PC Intel® Twin Lake N150 recently and wireless keyboard with touchpad, installed Fedora Kiinoite on it and have so far only added VacuumTube. I don’t have much experience with the terminal and I’m not sure what step to do next or how.

What I want to do is set up an Arrstack, and I know I need to put Docker and maybe Portainer? I have no experience with Docker though. I also want to put some basic things I and others can access remotely like a shopping list program, photo backups, period tracker, and DnD software. But I’m very afraid of exposing the server to the internet and it being hacked or such. I know there’s something called Tailscale but I’m not sure if that’s what I need. And I don’t know what order I’m supposed to put any of this.

I’ve tried searching the internet for guides but haven’t really found anything except one that’s for Yunohost and it’s not really self hosting because they set it up on a cloud. All advice is appreciated. Thank you!

edit: I wanted to add I also want to use this as a htpc and it’s connected to the TV, so that’s why I want a GUI mostly - because it makes it easier to control from the couch

#selfhosted

threaded - newest

frongt@lemmy.zip on 06 Apr 21:38 next collapse

Yeah running all the services in docker is good. A lot easier than managing stuff installed directly.

I recommend not exposing anything to the Internet except your VPN, to minimize risk. I recently set up Netbird and found it very simple.

UntimedDiffusion@piefed.zip on 07 Apr 00:09 collapse

Did you mean to say you recommend against exposing services?

frongt@lemmy.zip on 07 Apr 00:41 collapse

Oops, yes. I think halfway through the sentence I forgot where I was putting the negative.

merde@sh.itjust.works on 06 Apr 21:43 next collapse

you can selfHost Yuno.

you don’t need cloud for it unless you want to.

Hezaethos@piefed.zip on 07 Apr 08:07 collapse

I know, but the guide I found only covered for hosting on the cloud, and apparently there’s extra steps for doing it locally I didn’t understand. also apparently I need to buy a domain to self host locally as well? I’m unsure - the guide on Yunohost itself seems outdated, since the set up looked different my screen than what their example showed.

Stitch0815@feddit.org on 06 Apr 21:55 next collapse

Hi and welcome to the club.

First of all a disclosure I am not an IT guy and or programmer and barely know what I am doing myself :D

My first question is: Is your Nuc dedicated hosting hardware?

If so i would maybe suggest an OS that is more hosting focused, I personally use unraid, a friend of mine already used it at the time and helped me set everything up so I just went with it. TrueNAS is the real og and workhorse of the selfhosting world and also big in the professional space. Unraid is pretty simple but more heavy on sytem useage while truenas is more light weight but needs a bit more work beeing done manually. TrueNAS is free, undraid you pay a one time license. Those are the big 2 I know about.

Both of these options have an insane ammount of documentation. And ready to go docker for basically anything you could want.

There is of course much more, for example Debian server comes to mind. If this is not dedicated hosting hardware and you need a normal desktop environment I can’t help much there.

As far as I understand: Never expose anything directly to the internet. Tailscale is a good option, I personally use nginx proxy manager as reverse proxy. Both should be fine but Tailscale is more secure tho. I also only have 3 things exposed: Nextcloud, Immich and foundry vtt. And keep your shit up to date :D

Hope this helps for now. If you have any additional questions or I missed an important part for you just ask :)

dan@upvote.au on 06 Apr 22:32 next collapse

Unraid is pretty beginner-friendly, so it’s what I’d recommend too.

I use it too. I have over 20 years experience running Debian servers and can write a docker-compose.yml file and Nginx config from scratch, but sometimes it’s nice to have a decent web UI that mostly “just works”.

Hezaethos@piefed.zip on 07 Apr 08:11 collapse

But with unRAID do I have to pay for updates as well? Also confused on what it is exactly - is it a whole OS, or something you run on an OS? If so, how would I run services on it that I can also watch locally, like on the TV?

Stitch0815@feddit.org on 07 Apr 10:21 collapse

Unraid is a full os You install it on a usb, plug it in and it should just run. Then you get a ui you can access locally over the network.

I just saw they changed their licences :(

Apparently you only get one year of updates EXCEPT you buy the most expensive license (I would actually recomend that) then it’s unlimited updates

Essentially how it works on unraid: You install a docker, the docker gets a local IP and you can access any service on your network by entering the IP of the docker. This will be yourserverIP:dockerIP

I run jellyfin locally I just installed the jellyfin app on my tv and entered the jellyfin IP when connecting to a server. That’s it

When connecting from outside your network stuff gets a bit more complicated but all doable.

SpaceinvaderOne on youtube has great videos on how to set up a reverse proxy and tailscale if you want to get an idea what both does and how much work it is. He also uses Unraid.

Since Unraid got so dam expensive I feel like it’s worth mentioning hexOS. It’s around the same pricepoint like unraid and is essentially a wrapper over true nas. So you get all the documentation and power of trunas but also a nice and easy to use UI. Never used it my self tho.

harsh3466@lemmy.ml on 06 Apr 23:26 next collapse

Welcome to the club! Gates are open. Come on in!!

FWIW, if you want to learn how to use the command line, docker, and how to manage and secure your services, I’d recommend installing Ubuntu server or Fedora server on the NucBox; and then install docker and learn how to get your services stood up using the docker cli.

This is the route I went specifically because I wanted to learn more about Linux, and how to manage a server and services.

The tools being offered as suggestions (unraid, truenas, yunohost) are abstraction layers meant to make hosting easier. And to be clear, there is nothing at all wrong with these tools or using them. What they’ll do is give you a GUI to manage your system and services, making using the command line mostly unnecessary. Again, nothing at all wrong with that. Just depends on what you want.

Regarding exposing the services, it’s good to be cautious. I went with Pangolin, which is like a self hosted version of tailscale/cloudflare tunnels (I’m simplifying a bit).

Pangolin allows you to access your services over a VPN tunnel, and, to set your desired level of authorization needed to access that service. I really like it and have found it to be very reliable.

Also, FWIW, I’m not in IT or an expert. Just a person who wanted to learn about Linux and self hosting to take back control from big tech.

Hezaethos@piefed.zip on 07 Apr 08:04 collapse

I do want to learn the command line more, but was having bad luck on it. At first I tried Fedora server but couldn’t get Bluetooth to work on it properly. Then I tried installing postmarket is but it never installed and always would fail. Next I tried dietpi but the GUI wasn’t TV friendly and Bluetooth also had issues - the keyboard/mouse combo would connect, but the mousepad didn’t work properly, with inverted controls and always drag dropping.

that’s when I finally decided to just do Fedora Kiinoite and it just worked. I can even control the tv brightness and sound from the keyboard

Profligate_Parasite@lemmy.today on 07 Apr 12:31 collapse

Ubuntu server is old as dirt and stable af. I use that, and run CasaOS as a beginner-friendly GUI interface. There is lots of trial and error, learning and some frustration, but it’s so rewarding! The Arr apps, jelly seer and qbittorret and jellyfin are all nearly out of the box ready with casaos app store. It’s a great place to start.

Decronym@lemmy.decronym.xyz on 06 Apr 23:30 next collapse

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

Fewer Letters More Letters
HTTP Hypertext Transfer Protocol, the Web
IP Internet Protocol
VPN Virtual Private Network
nginx Popular HTTP server

3 acronyms in this thread; the most compressed thread commented on today has 5 acronyms.

[Thread #218 for this comm, first seen 6th Apr 2026, 23:30] [FAQ] [Full list] [Contact] [Source code]

electric_nan@lemmy.ml on 07 Apr 02:01 next collapse

You can install Yunohost on your home server. I’ve been running it that way on various machines for years. It’s just built on Debian Linux. I love it, and find it way easier than Docker. That said, you will be limited to the apps available (have a look at their catalog) in comparison to Docker. If you vibe with Docker then power to you. It has some good features. One more option I’d like to mention, specifically for the *arr stack/media server is Swizzin Community Edition. It’s another non-Docker, super easy setup. Also, don’t be fooled: you can install it locally too :)

zewm@lemmy.world on 07 Apr 03:55 collapse

I tried to install tipi.io but the arrs wouldn’t talk to each other and I couldn’t figure out docker networking. Does yunohost work mostly ootb?

electric_nan@lemmy.ml on 07 Apr 04:28 collapse

I don’t run my *arr stack on Yunohost, but I’m sure it will make them all accessible ootb. You will probably need to point them to one another where necessary from within their web config. For example, sonarr will need to know where your torrent client is. So in your sonarr config you’ll tell it that qbittorrent (or whatever) is at localhost:1243 (or whatever port qbittorrent is running on.

phanto@lemmy.ca on 07 Apr 04:41 next collapse

Nobody is addressing tailscale so far, so I’ll throw my two cents in: I have tailscale on my phone and my laptop, and I have a bunch of stuff running at home, and they all act like they’re on the same network as long as I’m logged in. There are a lot of alternatives out there, but I find it quite useful. I have immich for my pictures and pihole for ad blocking using docker. The basic docker tutorials are worth following. All I really use is docker ps, docker image docker compose up (-d), docker pull. Nano to edit the yaml files I find online. Unhacked so far!

Hezaethos@piefed.zip on 07 Apr 08:08 collapse

So is Tailscale the first thing I should set up next? or do I figure out the Arr stack and other software first and then set up Tailscale?

phanto@lemmy.ca on 07 Apr 13:50 collapse

I don’t actually use the arr stack, but if you set up Tailscale it won’t hurt anything else by being set up. I just know that it’s pretty straightforward to use, so I thought I’d throw in a good word for it.

BruisedMoose@piefed.social on 07 Apr 10:31 next collapse

I will suggest CasaOS. It installs easily, then essentially has an app store (you can add other store sources too). For me it was a gentle way of getting used to the ideas around Docker and how to work with containers. After a bit, you’ll get to where you can set up containers for apps not in the store. Then you might create a whole stack for your Arrs suite. And then maybe you outgrow it entirely. It’s just an app, unlike Yuno, which is a whole distro if I recall correctly.

For public exposure, I use Cloudflare tunnels. Pretty easy to set up (there is a CasaOS package for cloudflared), though the Cloudflare side can get confusing depending on what you want to do.

jimmy90@lemmy.world on 07 Apr 11:38 next collapse

give NixOS a go if you’re cool with configuration files

it has a GUI installer and can install gnome or whatever if you’re not comfortable with ssh only

lukaro@lemmy.zip on 07 Apr 13:01 next collapse

I know everyone hates ai but Claude helpped me setup my homelab a few weeks back. A full arr stack, pihole, immich and tailscale. I was a fun weekend project that I would have take months on my own.

captcha_incorrect@lemmy.world on 07 Apr 13:46 next collapse

I used Kimi K2 to start learning the Nix language. It really cut down time when trying to understand what I did wrong when switching configurations threw errors.

reptar@lemmy.world on 07 Apr 14:10 collapse

Man, that’s the kind of AI usage of really want to do locally

lukaro@lemmy.zip on 07 Apr 14:14 collapse

If my server was capable of running ai locally I would be doing so.

captcha_incorrect@lemmy.world on 07 Apr 13:56 collapse

I suggest giving NixOS a try. I recommend it because it makes it easy to add or remove stuff. Changing names on containers, removing installed application etc is just changing your configuration. And if you mess something up and it does not boot, you can just boot from the last working configuration.

Containers are also really easy to manage. Convert a docker run command with www.composerize.com and then use github.com/aksiksi/compose2nix to convert the yaml file to a nix file. Configure as needed.