zeabur-server-rent

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Zeabur Server Rent

Zeabur 服务器租用

Always use
npx zeabur@latest
to invoke Zeabur CLI.
Never use
zeabur
directly or any other installation method. If
npx
is not available, install Node.js first.
请始终使用
npx zeabur@latest
调用 Zeabur CLI。
切勿直接使用
zeabur
或其他任何安装方式。如果
npx
不可用,请先安装 Node.js。

Rent a Server

租用服务器

bash
npx zeabur@latest server rent --provider <code> --region <id> --plan <name> -y -i=false
bash
npx zeabur@latest server rent --provider <code> --region <id> --plan <name> -y -i=false

Workflow

工作流程

1. Browse available options

1. 浏览可用选项

bash
npx zeabur@latest server catalog -i=false
bash
npx zeabur@latest server catalog -i=false

2. Pick provider, region, plan from the JSON output

2. 从JSON输出中选择服务商、区域和套餐

3. Rent

3. 租用

bash
npx zeabur@latest server rent --provider hetzner --region fsn1 --plan CAX11 -y -i=false
bash
npx zeabur@latest server rent --provider hetzner --region fsn1 --plan CAX11 -y -i=false

Payment Errors

支付错误

If the user has no credit card bound or insufficient balance, the CLI returns:
ERROR  Rent server failed: please bind a credit card or recharge credits first
INFO   Please bind a credit card or top up your balance at: https://zeabur.com/account/billing
Action: Direct the user to https://zeabur.com/account/billing to add a payment method or top up balance, then retry.
如果用户未绑定信用卡或余额不足,CLI会返回:
ERROR  Rent server failed: please bind a credit card or recharge credits first
INFO   Please bind a credit card or top up your balance at: https://zeabur.com/account/billing
操作: 引导用户访问 https://zeabur.com/account/billing 添加支付方式或充值余额,然后重试。

After Renting

租用后

The server takes a few minutes to provision. Check status with:
bash
npx zeabur@latest server get <server-id> -i=false
Look for
provisioningStatus
to change to
READY
and
VM STATUS
to
RUNNING
.
服务器需要几分钟时间完成配置。使用以下命令查看状态:
bash
npx zeabur@latest server get <server-id> -i=false
等待
provisioningStatus
变为
READY
VM STATUS
变为
RUNNING

See Also

另请参阅

  • zeabur-server-catalog
    — browse available server options before renting
  • zeabur-server-list
    — check server status after provisioning
  • zeabur-project-create
    — create a project on the new server
  • zeabur-server-catalog
    — 租用前浏览可用服务器选项
  • zeabur-server-list
    — 配置完成后查看服务器状态
  • zeabur-project-create
    — 在新服务器上创建项目