NickLabs

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

Debian Linux 手動搭建 Barotrauma 服務器

2021-12-14 3264點熱度 1人按讚 0則留言

下面將在Debian 11手動搭建Barotrauma Linux服務器。

配置Debian環境

我們稍後將透過SteamCMD下載Barotrauma 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 lib32gcc-s1 lib32stdc++6 libcurl3-gnutls:i386 screen

下載Barotrauma Linux Server

由於安全風險不建議使用root運行Barotrauma,新增一個普通用戶例如barotrauma

adduser barotrauma

登錄用戶barotrauma,使用SteamCMD下載Barotrauma Linux Server

steamcmd +login anonymous +force_install_dir /home/barotrauma/barotrauma-server +app_update 1026340 validate +exit

Barotrauma Linux Server已下載到/home/barotrauma/barotrauma-server

由於 Issues#2310 的問題,我們需要創建 steamclient.so 文件的Symbolic link

mkdir -p ~/.steam/sdk64/
ln -s ~/barotrauma-server/linux64/steamclient.so ~/.steam/sdk64/steamclient.so

配置Barotrauma Linux Server

編輯配置文件,建議修改以下設置:

----------
name="YourServerName"
public="true"
password="YourServerPassword"

啟動Barotrauma Linux Server

啟動Barotrauma服務器

~/barotrauma-server/DedicatedServer

現在可以在列表中找到服務器:

標籤: CentOS debian ubuntu 潛淵症
最後更新:2021-12-14

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 手動搭建 Valheim 服務器 VMware ESXi 6.7 封裝 Realtek RTL8111 網卡驅動 在Headless情況下設置Raspberry Pi的SSH和VNC遠程桌面 Debian Linux 手動搭建 Barotrauma 服務器 Windows Server 2025 手動搭建 Abiotic Factor 服務器 Debian Linux 手動搭建 7 Days to Die 服務器
分類
  • 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