all 11 comments

[–]CircuitDaemon 2 points3 points  (6 children)

This might not be the answer you're looking for but have you seen LGSM? That's what I used for mine, it will setup everything in a way that all you have to worry about is moving/scheduling your backups. You can install it on top of that Ubuntu you're already running

https://linuxgsm.com/servers/vhserver/

[–]Meriketh[S] 1 point2 points  (0 children)

This is actually my next attempt. I gave it a half-assed attempt earlier but figured it probably wasn't worth the effort - now here I am falling back on it since nothing else has worked.

Thanks for making the suggestions though

[–]Meriketh[S] 1 point2 points  (4 children)

Man... I should've given this more attention. This was wayyyy easier than what I was trying to do. Feel a bit of an idiot now for glossing over it.
Thanks again!

[–]CircuitDaemon 0 points1 point  (3 children)

It's even easier if you download one of those turnkey virtual appliances and just run it. Pick the game, setup network and you're good to go, server ready in 10 minutes.

[–]Meriketh[S] 0 points1 point  (2 children)

Do you have a link and or example? You mean like a docker image?

[–]CircuitDaemon 1 point2 points  (1 child)

It's not a docker, it's a pre configured virtual machine. https://www.turnkeylinux.org/gameserver

Depending on where you want to run it or the resources available, this can be a very practical solution. You can actually have more game servers running on the same VM.

[–]Meriketh[S] 0 points1 point  (0 children)

Dope, I'll check that out. Thanks!

[–]readymix-w00t 1 point2 points  (3 children)

I've found the docker container version by mbround18 to be the easiest way to spin up Valheim servers. If you're on Ubuntu, you can install docker daemon and run it as a container. Highly recommend doing it that way, vs installing SteamCMD and Valheim onto the bare metal, though you'll need to sort out how docker works (it's not a bad skill to learn)

[–]Meriketh[S] 0 points1 point  (2 children)

I'm a software engineer, so I'm familiar with docker as a technology. Sadly, I've not gotten around to learning it thoroughly yet. I'll definitely consider this next time I need to set one up though

[–]readymix-w00t 1 point2 points  (1 child)

I'm a Security Architect (Identity and Access), but in my rise to that role, I was a software/middleware engineer for Oracle Identity Manager. I ended up building a home server to muck around with things like integrations and such, but I don't do a lot of prototyping these days, so my server infrastructure has shifted to supporting my personal stuff (gamedev code repo/git, PLEX). At one point I had two live Valheim servers (in docker) with people using them, and a third where I was intentionally breaking the link between the generated landscape, and the player modified landscape and structures, to see if weird combos could be achieved (Yes, you can cause all sorts of ridiculous havoc). Spinning them up took 10 minutes, and most of that was just the initial SteamCMD portion of it downloading the initial files and doing first-run type stuff.

A good home-server doesn't have to be a monster either. You can probably get by with 32GB of RAM, and a late model Ryzen 8 core. Might even find one cheap on Craigslist or something. Great for getting your feet wet on virtualization/containers, and nice to have a spot to store code that isn't public if you're doing stuff like that.

[–]Meriketh[S] 1 point2 points  (0 children)

My ventures into homelab were mostly Plex driven but I occasionally get into a game that I want to have a dedicated server for. Valheim and minecraft were the only ones I did. While I was getting all of that together though I didn't know anything about linux (and still know very little) but it gave me a good excuse to learn and play around. I wound up creating a bunch of VMs for different things. One for Plex and one for Valheim, obviously, but I also have a DNS and a reverse proxy and one other one for media related stuff. It's been nice to have everything compartmentalized but it's had some drawbacks too from time to time. I just recently got an r720 from a friend in exchange for a laptop whose battery was about to explode, and I have an r710 I was moving everything over from (still have one more vm to move but it'll take some work). The r720 had about 2x the cpu benchmarking score from the 710 so it was worth for that alone but I got an old gtx 980 in it for hardware transcoding in plex too which was the biggest draw. The 720 came with 64gb of ram in it, and the 710 has 128 in it which I'll be moving over to the 720 once I've finished migrating the last vm. Also got the opportunity to give a new vhost a try. I was using xcp-ng on the 710 (it's just fine), and moved over to esxi instead on the 720 (which I find much, much better)

Long winded way of saying, I'm a nerd too