跳轉到主要內容

支援平台

目前支援以下平台的二進位部署:

Linux AMD64

適用於 x86_64 架構 Linux 系統

Linux ARM64

適用於 ARM64 架構 Linux 系統
最新版本二進位檔可於 GitHub Releases 取得下載。

部署步驟

1

建立目錄並下載設定檔

mkdir -p unla/{configs,data}
cd unla/
curl -sL https://raw.githubusercontent.com/amoylab/unla/refs/heads/main/configs/apiserver.yaml -o configs/apiserver.yaml
curl -sL https://raw.githubusercontent.com/amoylab/unla/refs/heads/main/configs/mcp-gateway.yaml -o configs/mcp-gateway.yaml
curl -sL https://raw.githubusercontent.com/amoylab/unla/refs/heads/main/.env.example -o .env
2

調整 macOS PID 檔案路徑

macOS 下 /var/run/mcp-gateway.pid 可能無法寫入,因此須調整儲存路徑。
sed -i 's|/var/run/mcp-gateway.pid|./data/mcp-gateway.pid|g' .env