How To Install Valheim Dedicated Server to Centos Stream 9

Other Distros

Although not tested, any distro with tmux => 1.6 and glibc => 2.15 should also be compatible with Valheim servers. For distros not listed above LinuxGSM does not check dependencies and should be manually checked.

Game Server Binary

Only 64-Bit game server binary is available.



SteamCMD by Valve is used to install and update this game server.


Steam uses appid 896660.
Update history is available from SteamDB.


dnf install -y curl wget tar bzip2 gzip unzip python3 binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686 glibc-devel


From the command-line do the following. Ensuring you have also installed the required dependencies.

1. Create a user and login.
adduser vhserver && passwd vhserver
su - vhserver
2. Download
wget -O && chmod +x && bash vhserver
3. Run the installer following the on-screen instructions.
./vhserver install

Basic Usage

./vhserver start
Usage: ./vhserver [option]

LinuxGSM — Valheim — Version v23.1.0

start st | Start the server.
stop sp | Stop the server.
restart r | Restart the server.
monitor m | Check server status and restart if crashed.
test-alert ta | Send a test alert.
details dt | Display server information.
postdetails pd | Post details to (removing passwords).
skeleton sk | Create a skeleton directory.
update-lgsm ul | Check and apply any LinuxGSM updates.
update u | Check and apply any server updates.
force-update fu | Apply server updates bypassing check.
validate v | Validate server files with SteamCMD.
check-update cu | Check if a gameserver update is available
backup b | Create backup archives of the server.
console c | Access server console.
debug d | Start server directly in your terminal.
mods-install mi | View and install available mods/addons.
mods-remove mr | View and remove an installed mod/addon.
mods-update mu | Update installed mods/addons.
install i | Install the server.
auto-install ai | Install the server without prompts.
developer dev | Enable developer Mode.
donate do | Donation options.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *