Valheim Server Setup Tutorial | Linux Guide
HTML-код
- Опубликовано: 20 авг 2024
- Embark on an epic Viking journey with your very own Valheim server on Linux! In this comprehensive tutorial, I'll walk you through the process of setting up a dedicated server for this beloved survival game. From installing SteamCMD to configuring server settings and integrating mods, you'll learn all the essential steps to create an immersive multiplayer world for you and your fellow adventurers. Join me as we venture through the mystical realms of Valheim on Linux and forge a legendary realm to conquer the challenges that await!
My Gaming Network
• Decimation Games - www.DecimationGames.com
• Twitter: DecimationGames
• Facebook: DecimationGameServer
Personal
• Twitter: / luciandevtv
Tags:
Valheim, Valheim server setup, Valheim Linux server, Valheim server tutorial, Valheim dedicated server, Valheim server hosting, Valheim multiplayer, Gaming server setup, Valheim server configuration, Valheim server installation, Linux server setup, Viking survival game, Linux gaming, Multiplayer gaming, Valheim gameplay, Valheim server guide, Valheim server management, Norse mythology game, Valheim mods, Linux gaming.
Wow it really was that simple! Previously spent 6 hours trying to figure it out when I could have solved in less than 10 minutes with this video! Great Guide!
This is such a good Valhiem Linux install tutorial. Short, sweet and even includes the UFW commands. Thank you, sir :]
Great tutorial, Thank you so much. UFW commands were great, and this works perfectly.
With the newer updates of Valheim
If you run into the playfab error and it spits out something like
"Server 'My Server' begin PlayFab create and join network for server
xxxxxxxx: PlayFab disconnect server 'My Server' from network"
to fix this just run this command to get the crossplay/playfab to work (or atleast not just give you errors)
apt-get install libpulse-dev libatomic1 libc6
Hope this helps.
Well it work for the first time. And after one month this error appeared again.
How does this video only have 46 likes???? Its literally the best guide from start to finish. Thank you so much!
I just gave it a thumbs up because you're absolutely right lol
For some reason your guides are the ones that just work flawlessly if i follow them to the letter. Helped with Zomboid but then I saw you had a Valheim one and got excited
Awesome, I'm glad my tutorials have helped you.
Straight up amazing tutorial, you make linux so much easier to understand for noobs like me
FYI: I wasn't able to connect to my server following this tutorial. I got it all setup on a VM in Proxmox and it just wouldn't connect. Couldn't figure out why and then ran across a forum post with someone with my exact issue. There were missing dependencies. So install these and you should be golden:
sudo apt install libpulse-dev libatomic1 libc6
Your a life saver. I was having the same issue!
Someone make this comment fixed please, it solved my problem
You sir are a LEGEND!
Thank you
Failed for me. Just get a 'Failed to Connect' error and back to start screen in game. This is local connection. Server running ubuntu 22.04 recent install and updated. any suggestions?
Oh...now that's a good tutorial video ( ͡ᵔ ͜ʖ ͡ᵔ )
Couldn't find any package from the dependencys when using apt update
Thank you!
cant connect to server from in game. I don't understand what im doing wrong. tried the 7 days to die tutorial and it would just time out. ive set up port forwarding on the router and the server always shows up in the game i just can't seem to connect
The does the console say? Should show up in logs. Did you open the ports in the firewall as well?
There was something I needed to install because I'm running it on proxmox. Seems to be working now. Gonna try the other tutorials now thank you!
I see that ^C will successfully shutdown the server in screen, but what do I type to save the world? I do not feel comfortable with the world saving only when the server is shutdown.
to my knowledge the world auto saves every 30 minutes automatically.
Hi Lucian - what are your recommendations on updating the server? I believe when you stop the server and restart it, it auto updates, but recently with the big update with the different biomes it seemed to destroy my server.
For the last big update it didn’t work to just stop the server and start it up again so I did the ‘app_update 896660’ and everything went to shambles with some ‘NullReferenceException’ errors.
Any thoughts?
I'm unaware of this error off the top of my head. However unless your startup script is scripted to start your server & update it, it doesn't do this normally unless it's scripted to do so.
The normal way of updating your server reading what you did would be correct. Shutdown the server open up steamCMD, set the install directory, login anonymous and then do the app_update command. You can add this step before your startup script for it to do this automatically every time you start the server.
Updating the server shouldn't delete anything like your world I've never had that happen to me before, though I'm not entirely sure what you mean by it went to shambles but I've never had an issue updating a server.
@@luciandev thanks. this is helpful information.
That's setup work on crossplay? Xbox and PC?
when you edit your startup file add -crossplay to it if it isn't there already.
Awesome video! When I do ctrl a and then k to kill the server. Nothing happens. Any recommendations?
Are you inside the screen when you do it?
@@luciandev I actually got it working, thanks. Great tutorial. How would I go about updating the server when the release a new version? Thanks!
@@neilpatel8050 basically going back to first steps where you login to steamCMD and do app_update all that stuff again and that will update the server
Would you use the same ports 22, 2456, and 2457 in the port forwarding on your router?
Yes the same ports you open using the UFW command you would open those same ports in your router as well.
@@luciandev Thank you!
Why would you do a port forwarding of port 22 (SSH)?
SSH is needed only in the local network.
Sorry I'm new to Linux.
@@lucasqwert1 You only need to portforward 22 if you plan on accessing your server outside of your own network or if you want to have someone else access the server outside the network. For Example if you want your friend to access the server if it crashes to be able to turn it back on or something then the port would need to be open for that person to access it.
the first command you say to run " sudo apt add-apt-repository multiverse" leads to this error E: Invalid operation add-apt-repository any idea what's wrong?
Try executing all that into a single command so copy the following and put it in.
sudo add-apt-repository multiverse && sudo apt install software-properties-common && sudo dpkg --add-architecture i386 && sudo apt update && sudo apt install lib32gcc-s1 steamcmd
@@luciandev I got it, but I am doing in on a raspberry pi and now I can't install multiverse. It gives me an error. of Error: 'multiverse' invalid
@@Skeeters_Lint Ooooh The "multiverse" repository is specific to Ubuntu-based distributions and is not available for Raspberry Pi's default operating system, Raspbian. Raspberry Pi uses its own package repositories.
You should be able to skip that one but continue with the other ones
sudo apt install software-properties-common
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install lib32gcc-s1 steamcmd
Everything else worked except the gcc one but I already had a running server when I can across your video.
My issue ended up being with the box86 emulator and it not liking the newest version so I had to switch to an older version.
Will it work on Fedora 40?
Unlike Ubuntu fedora isn't Debian based, some of the commands might be the same but it's possible for you to run into issues. I'm not familiar with Fedora I've heard of them but never used them.
Do you think it works in raspberry pi?
Well, the Raspberry Pi community is pretty amazing, so I'm sure they've found a way to make it work. Those little Pi's can do some pretty impressive things!
@@luciandev Do you think your tutorial works for Raspberry pi ? With 8Go memory ?
@@gegetlse This tutorial, probably not you need to use ARM to setup the server on a pi.