Skip to content

dingodb/dingofs-tools

Repository files navigation

dingo tool

dingo工具是 Dingo 团队为了提高系统的易用性,解决旧工具种类多输出繁琐等问题而设计的工具, 主要用于对Dingo文件存储集群进行运维的工具。

Build dingo-tools

Dependencies

Download dep

git submodule sync
git submodule update --init --recursive

Install protobuf

PB_REL="https://github.com/protocolbuffers/protobuf/releases"
curl -LO $PB_REL/download/v25.1/protoc-25.1-linux-x86_64.zip
unzip protoc-25.1-linux-x86_64.zip -d $HOME/.local
export PATH="$PATH:$HOME/.local/bin"

Install musl-gcc

wget https://musl.libc.org/releases/musl-1.2.5.tar.gz
tar -xzvf musl-1.2.5.tar.gz
cd musl-1.2.5 && sudo ./configure && sudo make install
export PATH=$PATH:/usr/local/musl/bin

Install golang

wget https://go.dev/dl/go1.23.0.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.23.0.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin

Build

cd dingofs-tools

make build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages