Files
wehub-resource-sync 498b235461
Build and test / Build and test AMD64 Ubuntu 22.04 (push) Failing after 0s
Publish Builder / amazonlinux2023 (push) Failing after 1s
Build and test / UT for Go (push) Has been skipped
Publish KRTE Images / KRTE (push) Failing after 1s
Build and test / Integration Test (push) Has been skipped
Build and test / Upload Code Coverage (push) Has been skipped
Publish Builder / rockylinux9 (push) Failing after 1s
Publish Builder / ubuntu22.04 (push) Failing after 0s
Publish Builder / ubuntu24.04 (push) Failing after 0s
Publish Gpu Builder / publish-gpu-builder (push) Failing after 1s
Publish Test Images / PyTest (push) Failing after 0s
Build and test / UT for Cpp (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:31:17 +08:00
..

Building Deb package with Docker

Building Milvus Deb package is easy if you take advantage of the containerized build environment. This document will guide you through this build process.

  1. Docker, using one of the following configurations:
  • Linux with local Docker Install Docker according to the instructions for your OS.
  1. Get the opensource milvus code
git clone https://github.com/milvus-io/milvus.git
cp -r milvus/build/deb .
cd deb
  1. Start the milvus container and build the deb package
# Replace the VERSION with your own
sudo docker run -v .:/deb -ti --entrypoint /bin/bash milvusdb/milvus:v$VERSION
# in the container
cd /deb
bash build_deb.sh $VERSION $VERSION $MAINTAINER $DEBEMAIL
  1. Install the deb package on ubuntu system
sudo apt-get update
sudo dpkg -i milvus_$VERSION-1_amd64.deb # This package is in the milvus-deb directory
sudo apt-get -f install
  1. Check the status of Milvus
sudo systemctl status milvus
  1. Connect to Milvus

Please refer to Hello Milvus, then run the example code.

  1. Uninstall Milvus
sudo dpkg -P milvus
  1. (Optional) By default, Milvus is started in embed mode. If you rely on external etcd and minio, you can modify the following configuration and then restart Milvus.
sudo vim /etc/milvus/configs/milvus.yaml
etcd:
  endpoints: etcd-ip:2379
  ...
  use:
    embed: false
minio:
  address: minio-ip
  ...
common:
  storageType: remote