So easy a Viking can do it!
Explore the docs »
View Demo
·
How to Update your Server
.
Top 10 Server Issue Fixes
.
Report Bug
·
Request Feature
Using my DigitalOcean Referral Link:
- Unsure you want a dedicated server?
- Using my code gives you 100USD credit for 60 days on DigitalOcean 😄
- This is a great way to test your Valheim server without a commitment!
- I pay for the 40USD a month 4CPU and 8GB RAM Droplet Server
- My Referral Link https://m.do.co/c/9d2217a2725c
Table of Contents
- Added new EASY to use menu system for new and old users of the script - Enjoy
- This Menu will also install your Server and do many many other things! Enjoy!
- How to use: https://github.com/Nimdy/Dedicated_Valheim_Server_Script/wiki/How-to-use-the-Menu-Script
- Old install process works just fine. (Until Loki Kills it)
I started this to help out the community and I did not think for a moment it would have taken off so quickly. Should you need any help troubleshooting your Valheim Server visit me on Twitch or Discord.
-
My production server is 6 days solid as of 18FEB2021)
-
In game time is 430+ days |* Zero issues, zero crashes, zero cases of corrupted data.
-
If you wish to Tip: https://www.patreon.com/zerobandwidth
-
Twitch Channel: https://www.twitch.tv/zerobandwidth | * Discord for Tech Support https://discord.gg/ejgQUfc
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
- Cloud Hosting or Virtualization Service
Digital Ocean (Highly Recommended) AWS Azure Google Cloud Platform
- Ubuntu Install
Ubuntu 18.04 LTS 64bit and Ubuntu 20.04 LTS (tested 10 FEB 2021)
- Putty 64bit for Windows User
https://www.chiark.greenend.org.uk/~sgtatham/putty/
- WinSCP 64bit for Windows User
https://winscp.net/eng/download.php
- SSH into your newly Created VM
From your home computer, connect to your Ubuntu VM via SSH Using putty or another terminal is recommended If you can connect via Putty/Terminal, then you have setup firewall rules correctly
- Verify GIT and Net Tools is installed =
sudo apt-get install -y git net-tools
- Change directory to OPT for installation script =
cd /opt
- Download Easy Installer from Github - Nimdy (Zero Bandwidth) =
git clone https://github.com/Nimdy/Dedicated_Valheim_Server_Script.git
- Change directory to Dedicated_Valheim_Server_Script =
cd Dedicated_Valheim_Server_Script/
- Give the script to execution permissions =
sudo chmod +x build_dedicated_valheim_server.sh
- Edit the build_dedicated_valheim_server.sh file and fill with your choice of information =
sudo vi build_dedicated_valheim_server.sh
# There are 4 things you need to change!
# NOTE: Minimum password length is 5 characters
# NOTE: Unique password and server name is REQUIRED
# NOTE: NO $ ' " in the passwords - you will break the script
userpassword='"user_password"' <---password for the new Linux User it creates
password='"passw0rd"' <---password for the Valheim Server Access
displayname='"server display name"' <---Public display name for server
worldname='"111111111"' <---local inside world name
#Save the file
(press ESC and save/exit by entering)
:wq!
- Execute build_dedicated_valheim_server.sh for installation =
sudo ./build_dedicated_valheim_server.sh
- User prompt for select new version of /boot/grub/menu.lst promotx2 or DHCP - Keep local versions =
Select keep the local version currently installed or No (default)
- 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
- Oh LOKI!!! Did you skip the link above?
- Stop Valheim service =
sudo systemctl stop valheimserver.service
- Reboot Server for the lawls! (Always good to reboot after installing something) =
sudo reboot
- Once your server comes back online wait 1-3 mins and check Valheim service =
sudo systemctl status valheimserver.service
- Did this help you? Please star it!
- Do you want to add to this? Please fork it!
Here is the complete walk through using DigitalOcean Services.
For more examples, please refer to the Documentation
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingIdea
) - Commit your Changes (
git commit -m 'Add some AmazingIdea'
) - Push to the Branch (
git push origin feature/AmazingIdea
) - Open a Pull Request
@zerobandwidth - mrzerobandwidth@gmail.com
Project Link: https://github.com/Nimdy/Dedicated_Valheim_Server_Script