docs: add pressure runtime package transfer steps
This commit is contained in:
@@ -49,8 +49,8 @@
|
||||
机器 A 已生成:
|
||||
|
||||
```text
|
||||
/tmp/allrich-machine-b-runtime-p2p-20260927-01.tar.gz
|
||||
SHA-256: ed22883856862e0ef8183cf14c4306d4569904400867cb2a236c3498e5c6f574
|
||||
/tmp/allrich-machine-b-runtime-p2p-20260927-01.zip
|
||||
SHA-256: 479f119e7d01e1829c7262cace282c72a5f53ad8e7f5128abc2ade75d046db64
|
||||
```
|
||||
|
||||
机器 B 必须先安全获取该文件,再执行:
|
||||
@@ -58,10 +58,21 @@ SHA-256: ed22883856862e0ef8183cf14c4306d4569904400867cb2a236c3498e5c6f574
|
||||
```bash
|
||||
git switch dev
|
||||
git pull --ff-only origin dev
|
||||
|
||||
# 运行包不在 Git 中,必须从机器 A 单独复制
|
||||
scp youshunlai@192.168.1.135:/tmp/allrich-machine-b-runtime-p2p-20260927-01.zip /tmp/
|
||||
shasum -a 256 /tmp/allrich-machine-b-runtime-p2p-20260927-01.zip
|
||||
|
||||
unzip -o /tmp/allrich-machine-b-runtime-p2p-20260927-01.zip \
|
||||
-d loadtest/im-pressure
|
||||
chmod 600 loadtest/im-pressure/.env.test \
|
||||
loadtest/im-pressure/config.json \
|
||||
loadtest/im-pressure/manifest.json
|
||||
|
||||
set -a
|
||||
source loadtest/im-pressure/.env.test
|
||||
set +a
|
||||
cd loadtest/im-pressure
|
||||
tar -xzf /安全传输路径/allrich-machine-b-runtime-p2p-20260927-01.tar.gz
|
||||
chmod 600 .env.test manifest.json
|
||||
set -a; source .env.test; set +a
|
||||
go build -o im-pressure .
|
||||
|
||||
./im-pressure agent \
|
||||
|
||||
Reference in New Issue
Block a user