https://github.com/bostrt/valheim-server
Valheim Dedicated Server for Fedora/RHEL/Centos
https://github.com/bostrt/valheim-server
Last synced: about 1 year ago
JSON representation
Valheim Dedicated Server for Fedora/RHEL/Centos
- Host: GitHub
- URL: https://github.com/bostrt/valheim-server
- Owner: bostrt
- Created: 2021-02-18T18:43:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T22:41:21.000Z (over 4 years ago)
- Last Synced: 2025-03-30T22:03:12.196Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Valheim Dedicated Server for Fedora/RHEL/Centos
# Installation and Initial Setup
### Package
```bash
$ dnf copr enable bostrt/valheim
$ dnf install valheim-server
```
### Configure Your Server
```bash
$ vi /etc/sysconfig/valheim
NAME="my-server"
WORLD="valheim-rocks"
PASSWORD="t0psecret"
# Number of days to keep backups
BACKUP_KEEP_DAYS="5"
```
### Open Ports
```bash
# firewall-cmd --add-port=2456/udp --add-port=2457/udp --add-port=2458/udp --add-port=2456/tcp --add-port=2457/tcp --add-port=2458/tcp --permanent
# firewall-cmd --reload
```
**NOTE**: Remember to forward ports on your router!
### Start the Server
```bash
$ systemctl start valheim
```
🚀 You are done!
See below for more server management tips.
# Server Management
## Services
```bash
$ systemctl start valheim # Start the dedicated game server
$ systemctl stop valheim # Stop it
```
## Backups
Backups will start running automatically after package installation.
```bash
$ systemctl status valheim-backup.timer # Check the backups are active
$ ls -la /valheim/backups # Check backups are present
```
## Steam Updates
Steam update checks are performed each time the service is started.