添加 32 位架构支持和安装相关库
sudo dpkg –add-architecture i386
sudo apt-get update
sudo apt-get install lib32gcc1 lib32stdc++6
创建一个新用户: steam,(这里会要求创建steam用户的密码)
adduser steam
创建文件夹/home/steam
mkdir /home/steam
进入home/steam文件夹
cd /home/steam
下载steamcmd
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
解压
tar -xvzf steamcmd_linux.tar.gz
(切换到root把steam文件夹的权限给一下 chown -R steam /home/steam)
启动steamcmd
./steamcmd.sh
匿名登录
login anonymous
下载更新
app_update 2394010 (默认安装位置 /home/steam/Steam/steamapps/common/PalServer)
quit
进入 PalServer 目录
cd PalServer
运行 PalServer 脚本,出现AppID服务器即运行成功
./PalServer.sh
# 使用mcsm面板控制命令
启动命令
sudo -u steam /home/steam/Steam/steamapps/common/PalServer/PalServer.sh EpicApp=PalServer -port=8211 -players=32 -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS
关闭服务器命令(60秒后关闭)
Shutdown 60
工作目录
/home/steam/Steam/steamapps/common/PalServer
更新或安装命令
sudo -u steam steamcmd +force_install_dir /home/steam/Steam/steamapps/common/PalServer +login anonymous +app_update 2394010 validate +quit
暂无评论内容