Commands standardized for Ubuntu, you will have to adjust if you are using another distro.
Starting from ground zero
1). Install dependencies
# As root or with sudo run the following:
apt update
useradd -m steam
apt install software-properties-common -y
add-apt-repository multiverse
dpkg --add-architecture i386
apt update
apt install -y \
lib32gcc1 steamcmd unzip wget curl gosu jq
Running as steam user
1).
gosu steam bash
2). Edit steams .bashrc
3). Add the following to the bashrc:
export PATH="$HOME/.bin:/usr/games/:$PATH"
4). Run the following to download the latest release:
DOWNLOAD_URL="$(curl https://api.github.com/repos/mbround18/valheim-docker/releases/latest | jq -r '.assets[0].browser_download_url')"
wget -O bundle.zip "${DOWNLOAD_URL}"
5). Unzip the bundle unzip bundle.zip
6). Move the files to the .bin
folder
mkdir -p $HOME/.bin
chmod +x {odin,huginn}
mv odin $HOME/.bin
mv huginn $HOME/.bin
7). Navigate to the folder you wish to install the server to.
8). Configure odin with odin configure --password "Your Password"
9). Start the server :) odin start
Top comments (0)