Valheim
39 évaluations
Valheim Dedicated Server in Linux for Ubuntu - Easy Installer
De zerobandwidth
Single installation script for setting up Valheim on a dedicated Linux server with steamcmd.
Tested on: AWS, Azure and DigitalOcean
OS - Ubuntu 18.06 LTS 64bit and Ubuntu 20.04 LTS
Recommended server settings: CPU: 4 (2 will work but meh) RAM: 8GB+ Harddrive: 250GB+
4
2
3
2
2
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Install walkthrough
Never run any script on a production server, unless you know what you are doing.
Supports French, German, Spanish and English currently, more to come!

Video:

Run as root(if brave enough) or sudo current user

How to update your Valheim Server

https://github.com/Nimdy/Dedicated_Valheim_Server_Script/issues/22

Added new Menu system for folks if you want to use that and not the script listed below.


1. Verify GIT and Net Tools is installed
  • sudo apt install -y git net-tools
2. Change directory to OPT for installation script (Advance User do what you wish)
  • cd /opt
3. Download Easy Installer from Github - Nimdy (Zero Bandwidth)
4. Change directory to Dedicated_Valheim_Server_Script
  • cd Dedicated_Valheim_Server_Script
5. Give the script to execution permissions
  • sudo chmod +x njordmenu.sh
    Launch the Njord Menu
  • sudo ./njordmenu.sh
6. Select Option 4 - Install Valheim Server

7. Confirm you want to continue with the Valheim Install

8. Accept Default Action on Resolv Update. (Advanced users do what you wish)

9. Enter a Password for the newly created NONROOT local Steam account (This is not your Steam account, just a local account to run the Valheim Server)

10. Enter what you wish your Public Valheim Server display will be called

11. Enter your local world name. This is the name your map data files will be called and what your World is called for those who play in it.

12. Enter the password required to connect to your server. This is required.

13. Your information is now saved for you later. A lot of people seem to forget this, so we added a little reminder. Keep this safe.

14. That's it for the install! Now you need to setup your firewall rules.



15. Now configure your firewalls to allow the game to connect. Click the wiki link listed below.
Allow ports 2456,2457,2458 (TCP/UDP) on your server. This might take you a while, if you never done it before. Don't worry, members in my discord and myself can help troubleshoot later
**(DO NOT OVER LOOK THIS STEP)**

If running in a Cloud Server, please check the WIKI for configuration steps.
* [CLICK - Port Configuration WIKI](https://github.com/Nimdy/Dedicated_Valheim_Server_Script/wiki/AWS-Azure-GCP-and-DigitalOcean-Valheim-Port-Configuration)
* Oh LOKI!!! Did you skip the link above?
16 commentaires
Filusch 3 janv. 2024 à 13h41 
so zerobandwidth, you said you may make a new video? I know some time passed, but if you want to make one, I´m asking for a friend :-)
Filusch 3 janv. 2024 à 13h38 
the normal version works for me, but valheim +, nope no chance
zerobandwidth  [créateur] 25 oct. 2023 à 17h07 
Strange... I just tested it and it works. Maybe I need to make a new video?
Baklor 2 oct. 2023 à 19h09 
Necro post... Anyone try to use thie recently? I thought it was a godsend but couldn't get it working on Ubuntu 20.04 or 22.04. Seems to install fine but won't start the server. Anyone point me in the right direction of where an updated version or similar tool could be?
dgn 23 févr. 2021 à 8h46 
@zerobandwidth great guide thx to you I'm up 'n running ubuntu VM @ azure
zerobandwidth  [créateur] 23 févr. 2021 à 8h40 
@masgioo it could be a bunch of things. Jump into discord. We can help.

Normally, firewalls...proxies... passwords jacked up... very simple fixes...

https://github.com/Nimdy/Dedicated_Valheim_Server_Script/wiki/Top-10-Reason-your-Server-is-not-working-and-how-to-fix
Ji a i yo u 22 févr. 2021 à 14h16 
hello zerobandwidth,

i have a problems when try to joining my server.. did i miss somthing like port forwarding ?
already doing the valheim launch option but still goes to main menu not go tru the character menu (after launch it)

● valheimserver.service - Valheim Server
Loaded: loaded (/lib/systemd/system/valheimserver.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-02-22 21:36:08 UTC; 35min ago

it should be good right ? if its active and running ?

Thanks.
PoorUglyPeasant 17 févr. 2021 à 15h11 
Thanks, I will run one in GCP to see how that goes and if it can handle 10 people at the same time
YagoAmani 17 févr. 2021 à 14h33 
I find the problem, I'm trying to do it in a raspberry with an arm architecture how is not supported for steamcmd
zerobandwidth  [créateur] 17 févr. 2021 à 3h36 
@YagoAmani - You missed a step... or did not sudo or a few other things. Folks in Discord can help you out.