方法一(首选)
令牌文件位于 /opt/clore-hosting/client/auth。为便于复制,您可以使用带有文件管理器的程序,例如 Snowflake:
确保您的计算机与服务器在同一局域网内。
将 auth 文件拖到您的计算机或 U 盘上。
使用以下命令重新安装 Hive OS:
hive-replace -y --stable
按照安装说明操作,且不要使用以下命令:
/opt/clore-hosting/clore.sh --init-token <token>
只需将 auth 文件放回到/opt/clore-hosting/client/目录
/opt/clore-hosting/client/
重启服务器:
reboot
方法二
通过 SSH 连接到服务器或打开 Hive Shell 并运行命令:
auth 文件将在文本编辑器中打开。复制其内容并将其保存在您的计算机上,例如在文本编辑器中。
按 F10 退出编辑器。
完成安装后,按顺序运行以下命令:
一个空的 auth 文件将在文本编辑器中打开。粘贴先前保存的旧文件内容。
按 F2 保存,按 F10 退出。
最后更新于 11个月前
这有帮助吗?
mcedit /opt/clore-hosting/client/auth
cd /opt/clore-hosting/client/ touch auth mcedit auth