

This will install LinuxGSM if you don't have it already while also installing the packages necessary for running your Valheim server. Open up a terminal session and input the following command: wget -O linuxgsm.sh & chmod +x linuxgsm.sh & bash linuxgsm.sh vhserver

It is also heavily recommended that you do not run the server as a root user as this may open your system to vulnerabilities should your server become compromised. Make sure that the account that the installation is occurring on has sudo privileges, as this will allow the LinuxGSM installer to detect and install any missing dependencies that may occur during the installation. We will be using LinuxGSM in order to install and run our dedicated server. This article will assume that you will be using Ubuntu 20.04. Luckily, because Shells™are always running and ready to use, we can use a Shell™ in order to host our Valheim server! This poses the problem of playing together with friends through different schedules/timezones as the host may not want to keep their computer on 24/7 in order to keep the server running. Unfortunately, Valheim doesn't have dedicated servers, so in order to play with friends, someone must be the host. The game is an open-world adventure, similar to The Legend of Zelda: Breath of the Wild and Astroneer, in that you gather resources and explore the world around you. Valheim is a recently released early-access game available on Steam, yet it has blown up significantly in popularity, topping the steam charts as the most played game of the year so far.
