How to Create a Valheim Dedicated Server



How to make a dedicated server for Valheim
Create VPS in Vultur – https://www.vultr.com/?ref=8769206-6G
Download Putty
Install Dependencies

sudo dpkg –add-architecture i386; sudo apt update; sudo apt install curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux netcat lib32gcc1 lib32stdc++6 steamcmd

sudo dpkg –add-architecture i386; sudo apt update; sudo apt install libsdl2-2.0-0:i386

Create a user and logic

adduser vhserver
su – vhserver

Download linuxgsm.sh

wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh vhserver

Run the installer following the on-screen instructions.

./vhserver install

Change back to root user

su

Change Directory to config file

cd /home/vhserver/lgsm/config-lgsm/vhserver

Edit Config file

rm common.cfg

Cp _default.cfg common.cfg

Nano common.cfg

Change back to vhserver user

su vhserver

Go back to home dir

cd /home/vhserver

./vhserver start

Source

Categories N4G

22 thoughts on “How to Create a Valheim Dedicated Server”

  1. Does this automatically keep Valheim updated? If not how would you go about updating the game on the dedicated server?

    Great video, super detailed and easy to follow, just curious about how game updates will affect this?

    Reply
  2. I've been running it on Digital Ocean with Ubuntu 20.04 and it worked fine, but I think Vultur might be cheaper

    Edit: I wasn't using and am not familiar with LinuxGSM. I just customized the script included.

    Reply
  3. My LGSM is not letting me install steamCMD because it doesn't recognize that lib32gcc1 has been replaced by lib32gcc-s1, even though the file has the code for it. Does anyone have any suggestions?

    Reply
  4. Hey thanks for the guide. I seem to be doing everything correct and my server comes up in the steam list but when I connect I just get a disconnected popup and no password prompt. Maybe its something to do with my server? I used digitalocean instead but I checked my firewall and it shouldn't be blocking anything

    Reply

Leave a Comment