Download dbbot
dbbot is distributed through a single GitHub repository and a single distribution package, which contains MySQL, ClickHouse and monitoring related subdirectories.
Method 1: Download the distribution version (recommended)
Applicable scenarios: production environment, offline installation, version traceability.
dbbot_version="1.11.20250429"
wget "https://github.com/fanderchan/dbbot/releases/download/${dbbot_version}/dbbot-${dbbot_version}-Linux-x86_64.tar.gz"
tar -zxvf "dbbot-${dbbot_version}-Linux-x86_64.tar.gz" -C /usr/local/
Release page: https://github.com/fanderchan/dbbot/releases
Common directories after decompression:
mysql_ansibleclickhouse_ansiblemonitoring_prometheus_ansibleportable-ansible-v0.5.0-py3
Method 2: Clone the source code repository
Applicable scenarios: Experience new features in advance, track repairs, and participate in collaboration.
cd /usr/local
git clone https://github.com/fanderchan/dbbot
cd dbbot
It is recommended to switch to the corresponding branch or tag according to your actual environment before using it.
Next chapter: Deploy dbbot and configure Ansible