Quilibrium 双版本运行 图文全教程

博主推特:https://twitter.com/BtcK241918

在搭建节点之前,首先需要购买VPS来运行节点。节点需要保持24小时不间断运行。我选择了Contabo的主机,价格相对较为经济实惠。您可以通过使用我的推荐链接来购买:

我目前使用的COTABO的独服server,每天估算大概17个币左右,本地7950X收益,目前27个左右

分享下,自己在用的备份文件命令

#!/bin/bash

# 获取当前日期
date=$(date +%Y%m%d)
if ! command -v zip &> /dev/null
then
  echo "zip命令未安装"
  sudo apt install zip
fi

# 备份目录
backup_dir="/root/quilibackup"

if [ ! -d "/root/quilibackup" ]; then
    mkdir "${backup_dir}"
fi

# 备份文件名
backup_file="${date}_store.zip"

# 压缩备份目录
zip -r "${backup_file}" /root/ceremonyclient/node/.config/store/

# 移动备份文件到指定目录
mv "${backup_file}" "${backup_dir}"

echo "备份已完成"

同理用Xterminal 找到该目录 保存到本地即可

看这里更新1.4.19教程

更新脚本命令

cd ceremonyclient/node
git remote set-url origin https://source.quilibrium.com/quilibrium/ceremonyclient.git
git pull
git checkout release-cdn

然后启动脚本

cd ceremonyclient/node
./release_autorun.sh

安装GRPC

wget --no-cache -O - https://raw.githubusercontent.com/lamat1111/quilibriumscripts/master/tools/qnode_gRPC_calls_setup.sh | bash

查询最新版本余额,查不到之前的,只可以查到目前版本的余额

需要等节点,运行一段时间,才可以查询 大概半小时左右

cd ceremonyclient/node
./node-1.4.19-linux-amd64 --node-info

此次版本更新,会吃满CPU CPU核心越多挖到的越多,高配比低配肯定强很多

更新或者重新安装之前 按文章末尾 先把之前跑的两个文件备份一下,务必先备份再重装

VPS版本必须为ubuntu 22.04

如果需要删除之前机器的安装

需要停止之后

备份好config.yml和keys.yml文件(如何备份请看文章结尾)

然后删除文件夹

rm -rf ceremonyclient

一键脚本运行 服务版本

wget -O - https://raw.githubusercontent.com/0xOzgur/QuilibriumTools/main/install/install_quilibrium_service.sh | bash

一键脚本运行 docker版本

wget -O - https://raw.githubusercontent.com/0xOzgur/QuilibriumTools/main/install/install_docker.sh | bash

服务版节点命令

启动服务

service ceremonyclient start

停止服务

service ceremonyclient stop

重新启动

service ceremonyclient restart

查看日志

sudo journalctl -u ceremonyclient.service -f --no-hostname -o cat

docker 命令

查看日志

cd ceremonyclient/node
docker compose logs -f --tail=100

二、如何备份秘钥

下载并使用XTerminal连接VPS

打开文件管理,找到root文件,然后找到ceremonyclient文件夹,打开你的隐藏文件

.config文件里面复制,config.yml和keys.yml文件。服务版本的 在 node 文件夹下

Subscribe to K2 节点教程分享 @BtcK241918
Receive the latest updates directly to your inbox.
Mint this entry as an NFT to add it to your collection.
Verification
This entry has been permanently stored onchain and signed by its creator.