Global Plane 的 apt / yum 在线源,支持 amd64 与 arm64。
sudo install -d -m 0755 /etc/apt/keyrings
sudo curl -fsSLo /etc/apt/keyrings/data-miner.asc \
https://repo.data-galaxy.com/gpg/data-miner.asc
echo "deb [signed-by=/etc/apt/keyrings/data-miner.asc] https://repo.data-galaxy.com/deb stable main" \
| sudo tee /etc/apt/sources.list.d/data-miner.list
sudo apt update
sudo apt install data-miner-global-plane
sudo tee /etc/yum.repos.d/data-miner.repo >/dev/null <<'EOF'
[data-miner]
name=Data Miner
baseurl=https://repo.data-galaxy.com/rpm
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://repo.data-galaxy.com/gpg/data-miner.asc
EOF
sudo dnf install data-miner-global-plane # 老系统用 yum install
安装包会创建系统用户 data-miner 并加入 docker 组、装好 systemd unit。
接下来需要准备 /etc/data-miner/global-plane.env(模板在
/etc/data-miner/global-plane.env.example)并导入 Agent Runtime 镜像,
完整步骤见随包安装的
/usr/share/data-miner-global-plane/ 下的部署文档。
sudo systemctl enable --now data-miner-global-plane
systemctl status data-miner-global-plane
本源的 apt InRelease、yum repomd.xml 与所有 rpm 包均由下面这把密钥签名:
EF5D70FC1B97E443962258B9F7766FAB601B15A3
导入后可自行校验:gpg --show-keys /etc/apt/keyrings/data-miner.asc、
rpm -K <包文件>。
scripts/install/install.sh,它会一并导入 Agent Runtime 与 VSearch 镜像,
全程不访问网络。本源只服务于能直连外网的主机;国内直连
github.io 可能不稳定,必要时在内网做一份镜像。
在线源只保留最近若干个版本。更早的安装包在
Releases 页面按版本归档,可直接下载后
apt install ./xxx.deb / dnf install ./xxx.rpm。