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.

Комментарии • 53

  • @qudratshamsudinov3760
    @qudratshamsudinov3760 Год назад +7

    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!

  • @chrisstevens6672
    @chrisstevens6672 Год назад +9

    This is such a good Valhiem Linux install tutorial. Short, sweet and even includes the UFW commands. Thank you, sir :]

  • @CP-pt7tn
    @CP-pt7tn Год назад +11

    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.

    • @eleftherioskenanidis9093
      @eleftherioskenanidis9093 3 месяца назад

      Well it work for the first time. And after one month this error appeared again.

  • @Abadion12
    @Abadion12 Год назад +4

    How does this video only have 46 likes???? Its literally the best guide from start to finish. Thank you so much!

    • @JoseMorales-qq6kb
      @JoseMorales-qq6kb Год назад

      I just gave it a thumbs up because you're absolutely right lol

  • @sarge2115
    @sarge2115 Год назад +3

    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

    • @luciandev
      @luciandev  Год назад +1

      Awesome, I'm glad my tutorials have helped you.

  • @Ninjarelish
    @Ninjarelish 6 месяцев назад

    Straight up amazing tutorial, you make linux so much easier to understand for noobs like me

  • @jacobkirkpatrick1791
    @jacobkirkpatrick1791 8 месяцев назад +5

    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

    • @darkshane3529
      @darkshane3529 2 месяца назад +1

      Your a life saver. I was having the same issue!

    • @Gatuxos123
      @Gatuxos123 Месяц назад +1

      Someone make this comment fixed please, it solved my problem

  • @Smudger006
    @Smudger006 Год назад +1

    You sir are a LEGEND!
    Thank you

  • @swamitheamazing683
    @swamitheamazing683 6 месяцев назад +2

    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?

  • @justinmann29
    @justinmann29 Год назад +2

    Oh...now that's a good tutorial video ( ͡ᵔ ͜ʖ ͡ᵔ )

  • @HauntedTheTruth
    @HauntedTheTruth 9 месяцев назад

    Couldn't find any package from the dependencys when using apt update

  • @elmerblanksvard
    @elmerblanksvard Год назад

    Thank you!

  • @darkshane3529
    @darkshane3529 2 месяца назад

    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

    • @luciandev
      @luciandev  2 месяца назад +1

      The does the console say? Should show up in logs. Did you open the ports in the firewall as well?

    • @darkshane3529
      @darkshane3529 2 месяца назад

      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!

  • @steamyiron6005
    @steamyiron6005 2 месяца назад

    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.

    • @luciandev
      @luciandev  2 месяца назад

      to my knowledge the world auto saves every 30 minutes automatically.

  • @simmyg1000
    @simmyg1000 3 месяца назад

    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?

    • @luciandev
      @luciandev  3 месяца назад

      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.

    • @simmyg1000
      @simmyg1000 3 месяца назад

      @@luciandev thanks. this is helpful information.

  • @michaeljanik2888
    @michaeljanik2888 Год назад +1

    That's setup work on crossplay? Xbox and PC?

    • @luciandev
      @luciandev  Год назад +1

      when you edit your startup file add -crossplay to it if it isn't there already.

  • @neilpatel8050
    @neilpatel8050 Год назад

    Awesome video! When I do ctrl a and then k to kill the server. Nothing happens. Any recommendations?

    • @luciandev
      @luciandev  Год назад +1

      Are you inside the screen when you do it?

    • @neilpatel8050
      @neilpatel8050 Год назад

      @@luciandev I actually got it working, thanks. Great tutorial. How would I go about updating the server when the release a new version? Thanks!

    • @luciandev
      @luciandev  Год назад

      @@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

  • @vilebooey308
    @vilebooey308 Год назад

    Would you use the same ports 22, 2456, and 2457 in the port forwarding on your router?

    • @luciandev
      @luciandev  Год назад +2

      Yes the same ports you open using the UFW command you would open those same ports in your router as well.

    • @vilebooey308
      @vilebooey308 Год назад

      @@luciandev Thank you!

    • @lucasqwert1
      @lucasqwert1 Год назад

      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.

    • @luciandev
      @luciandev  Год назад

      @@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.

  • @Skeeters_Lint
    @Skeeters_Lint Год назад

    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?

    • @luciandev
      @luciandev  Год назад +1

      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

    • @Skeeters_Lint
      @Skeeters_Lint Год назад +1

      @@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

    • @luciandev
      @luciandev  Год назад +2

      @@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

    • @Skeeters_Lint
      @Skeeters_Lint Год назад

      Everything else worked except the gcc one but I already had a running server when I can across your video.

    • @Skeeters_Lint
      @Skeeters_Lint Год назад

      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.

  • @hossenberrg5175
    @hossenberrg5175 2 месяца назад

    Will it work on Fedora 40?

    • @luciandev
      @luciandev  2 месяца назад +1

      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.

  • @metatronmen2431
    @metatronmen2431 7 месяцев назад

    Do you think it works in raspberry pi?

    • @luciandev
      @luciandev  7 месяцев назад +1

      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!

    • @gegetlse
      @gegetlse 7 месяцев назад

      @@luciandev Do you think your tutorial works for Raspberry pi ? With 8Go memory ?

    • @luciandev
      @luciandev  7 месяцев назад +1

      @@gegetlse This tutorial, probably not you need to use ARM to setup the server on a pi.