NickLabs

Nick Labs
技術測試&軟件安裝記錄
  1. 首頁
  2. Linux
  3. Debian
  4. 正文

Debian Linux 手動搭建 7 Days to Die 服務器

2021-05-18 3356點熱度 0人按讚 0則留言

下面將在Debian 10手動搭建7 Days to Die (七日殺) Linux服務器。
搭建方法和之前的Valheim Linux服務器差不多。

配置Debian環境

我們稍後將透過SteamCMD下載7 Days to Die Linux Server,由於SteamCMD在Debian packages屬於non-free軟件,所以需要在APT SourcesList添加non-free選項。
修改 /etc/apt/sources.list 在deb和deb-src段落的結尾加上 non-free

另外SteamCMD只有i386版本,需要啟用APT的i386 architecture軟件

dpkg --add-architecture i386

完成配置後需要刷新APT的軟件包資訊

apt update

安裝SteamCMD和其他需要的軟件包

apt install steamcmd libsdl2-2.0-0 libsdl2-2.0-0:i386 curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux netcat lib32gcc1 lib32stdc++6

下載7 Days to Die Linux Server

由於安全風險不建議使用root運行7 Days to Die,新增一個普通用戶例如sevendaystodie-server

adduser sevendaystodie-server

登錄用戶sevendaystodie-server,使用SteamCMD下載7 Days to Die Linux Server

steamcmd +login anonymous +force_install_dir /home/sevendaystodie-server/7daystodie +app_update 294420 validate +exit

7 Days to Die Linux Server已下載到/home/sevendaystodie-server/7daystodie

配置7 Days to Die Linux Server

編輯serverconfig.xml:

<property name="ServerName" value="My Game Host"/>
<property name="ServerDescription" value="A 7 Days to Die server"/>
<property name="ServerWebsiteURL" value=""/>
<property name="ServerPassword" value="Nick-secret"/>
<property name="ServerLoginConfirmationText" value="" />

<property name="ServerPort" value="26900"/>
<property name="ServerVisibility" value="1"/>
<property name="ServerDisabledNetworkProtocols" value="SteamNetworking"/>
<property name="ServerMaxWorldTransferSpeedKiBs" value="512"/>

啟動7 Days to Die Linux Server

使用startserver.sh啟用7 Days to Die Linux Server

/home/sevendaystodie-server/7daystodie/startserver.sh -configfile=serverconfig.xml

生成地圖需要一些時間 (即顯示Setting breakpad minidump AppID = 251570)
生成完成後可以在遊戲使用IP直接連線

遊戲的存檔位置在/home/sevendaystodie-server/.local/share/7DaysToDie/Saves

標籤: 7 Days to Die CentOS debian linux ubuntu 七日殺
最後更新:2021-05-18

Nick

技術測試&軟件安裝記錄

按讚
< 上一篇
下一篇 >

文章留言

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回覆

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料。

Nick

技術測試&軟件安裝記錄

最新 熱度 隨機
最新 熱度 隨機
Windows Server 2025 手動搭建 Abiotic Factor 服務器 Windows Server 2025 手動搭建 ARK Survival Ascended 服務器 Ubuntu Linux 手動搭建 Killing Floor 2 服務器 Ubuntu Linux 手動搭建 Palworld 服務器 Debian Linux 手動搭建 ARK: Survival Evolved 服務器 Debian Linux 手動搭建 Project Zomboid 服務器
Debian Linux 手動搭建 7 Days to Die 服務器 Debian Linux 手動搭建 Project Zomboid 服務器 Windows Server 2025 手動搭建 Abiotic Factor 服務器 Debian Linux 手動搭建 Don't Starve Together 服務器 Ubuntu Linux 手動搭建 Palworld 服務器 Debian Linux 手動搭建 Barotrauma 服務器
分類
  • CentOS
  • Debian
  • ESXi
  • Linux
  • Raspberry Pi
  • Ubuntu
  • VMware
  • Windows
最近評論
Nick 發佈於 4 年前(07月13日) 請提供一下報錯內容
鍋地魔帝鍋 發佈於 4 年前(05月25日) 您好,我試著安裝瓦爾海姆在 GCP Server裡,並上傳地圖, 爬了網路上很多文就卡在一個地方 b...
贊助

COPYRIGHT © 2024 nicklabs.org. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang