Installing etcd
To ensure that the etcd version used for compilation meets the Milvus requirements, it is advised to install etcd 3.5.0 or later.
etcd is a distributed key-value data storage system used for configuration management, service discovery, and distributed coordination. It is an important component for the Milvus runtime, especially in a distributed deployment environment. Correctly configuring and using etcd not only improves system reliability and performance, but also simplifies management and maintenance.
- Download the etcd source code.
- Arm
1wget https://github.com/etcd-io/etcd/releases/download/v3.5.0/etcd-v3.5.0-linux-arm64.tar.gz --no-check-certificate
- x86
1wget https://github.com/etcd-io/etcd/releases/download/v3.5.0/etcd-v3.5.0-linux-amd64.tar.gz --no-check-certificate
- Arm
- Decompress the source package.
- Arm
1tar zxvf etcd-v3.5.0-linux-arm64.tar.gz
- x86
1tar zxvf etcd-v3.5.0-linux-amd64.tar.gz
- Arm
- Copy the folder to the specified directory.
- Arm
1cp -r etcd-v3.5.0-linux-arm64 /usr/local/etcd
- x86
1cp -r etcd-v3.5.0-linux-amd64 /usr/local/etcd
- Arm
- Configure environment variables.
1 2
echo "export PATH=/usr/local/etcd:$PATH" >> ~/.bashrc source ~/.bashrc
- Check the version.
1etcd --versionThe installation is successful if the following information is displayed:
1 2 3 4
etcd Version: 3.5.0 Git SHA: 946a5a6f2 Go Version: go1.16.3 Go OS/Arch: linux/arm64
Parent topic: Configuring the Compilation Environment