Why named "Frabit"? It's consist of the first letter of "Fly" that means speed and "rabbit" remove repeated letter 'b'. Crafty rabbit will ready three caves.
Frabit is a comprehensive platform for database and can be used by the Developers and DBAs. The Frabit family consists of these components:
- Frabit Console: A web-based GUI for developers and DBAs to use/manage the databases.
- Frabit CLI (frabit-admin): The CLI mostly used to deploy/upgrade database cluster、make backup/restore and so forth. Mostly, DBAs will use this toolkit .
- Frabit agent: The frabit-agent take actions at remote node, it's running as daemon process.
- Frabit server: The frabit-server is core service for frabit stack,it's running as a centralized daemon process.
✅ MySQL ✅ Redis ✅ MongoDB ✅ ClickHouse
当前,Frabit提供了对Linux系统和MacOS/Darwin系统的支撑,包括amd64/X86_64和arm64架构
-
amd64
- Linux
- Darwin/MacOS
-
arm64
- Linux
- Darwin/MacOS
- Web-based database cluster deployment and upgrade
- Built-in SQL Editor
- Detailed migration history
- Online schema change based on gh-ost
- Backup and restore
- Point-in-time recovery (PITR)
- Environment policy
- Approval policy
- Backup schedule enforcement
- Role-based access control (RBAC)
- Webhook integration for Slack, DingTalk(钉钉), Feishu(飞书), WeCom(企业微信)
国内伙伴,欢迎扫描下面的二维码哦,关注自媒体平台:
- Brew
brew install frabits/tap/frabit
version="2.0.10"
arch=`uname -r`
yum install -y https://github.com/frabits/frabit/releases/download/v${version}/frabit-server-${version}.${arch}.rpm
# optional
yum install -y https://github.com/frabits/frabit/releases/download/${version}/frabit-agent-${version}.${arch}.rpm
version="2.0.10"
# for X86-64
wget https://github.com/frabits/frabit/releases/download/v${version}/frabit_${version}_linux_amd64.tar.gz
# for Arm64
wget https://github.com/frabits/frabit/releases/download/v${version}/frabit_${version}_linux_arm64.tar.gz
tar -xzf frabit_${version}_linux_amd64.tar.gz
sudo mkdir -p /usr/local/frabit
cp -r * /usr/local/frabit
frabit使用 goreleaser 来进行快速编译,在命令行执行一下命令快速安装Goreleaser:
go install github.com/goreleaser/goreleaser@latest
执行下面的命令,将frabit的代码库从Github克隆到本地
git clone https://github.com/frabits/frabit.git
切换到代码库里,执行以下bash脚本,自动编译
cd frabit && bash scripts/build.sh
编译后,可执行文件位于当前路径的dist子文件夹里,如图所示: