From 915e1dcf984ee01e8d1762c66a532fa55311d1ff Mon Sep 17 00:00:00 2001 From: imchuyun <69360303+imchuyun@users.noreply.github.com> Date: Thu, 25 Dec 2025 09:20:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=96=B0=E7=89=88?= =?UTF-8?q?=E5=AE=88=E6=8A=A4=E8=BF=9B=E7=A8=8B=E5=9B=A0node=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E9=97=AE=E9=A2=98=E6=97=A0=E6=B3=95=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 升级node为16+,并且强制要求16+,保证新版守护进程正常运行。 --- .../15-通过MCSM面板管理服务器.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/mcguide/27-手机网络游戏/课程10:使用Spigot开服/15-通过MCSM面板管理服务器.md b/mcguide/27-手机网络游戏/课程10:使用Spigot开服/15-通过MCSM面板管理服务器.md index 13c3cf3..f3ebd67 100644 --- a/mcguide/27-手机网络游戏/课程10:使用Spigot开服/15-通过MCSM面板管理服务器.md +++ b/mcguide/27-手机网络游戏/课程10:使用Spigot开服/15-通过MCSM面板管理服务器.md @@ -1,9 +1,3 @@ ---- -front: -hard: 入门 -time: 60分钟 ---- - # 通过MCSM面板管理服务器 ![封面](./res/mcsmguide/10.png) @@ -44,17 +38,19 @@ time: 60分钟 #### 1. 无root安装node.js +**强制要求安装node16+的版本,不然守护进程跑不起来** + ```bash # 下载nodejs cd ~/downloads -wget https://nodejs.org/dist/v15.7.0/node-v15.7.0-linux-x64.tar.xz +wget https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.xz # 创建工作目录并解压 -mkdir -p ~/apps/node-v15.7.0 -tar -xJf node-v15.7.0-linux-x64.tar.xz --no-wildcards-match-slash --anchored --exclude */CHANGELOG.md --exclude */LICENSE --exclude */README.md --strip 1 -C ~/apps/node-v15.7.0 +mkdir -p ~/apps/node-v16.20.2 +tar -xJf node-v16.20.2-linux-x64.tar.xz --no-wildcards-match-slash --anchored --exclude */CHANGELOG.md --exclude */LICENSE --exclude */README.md --strip 1 -C ~/apps/node-v16.20.2 # 添加path变量 -export PATH=~/apps/node-v15.7.0/bin:$PATH +export PATH=~/apps/node-v16.20.2/bin:$PATH source ~/.bashrc # 检查nodejs版本