pingliu 21aa23a23e doc: [skip e2e] fix the build deb (#34751) | 3 months ago | |
---|---|---|
.. | ||
debian | 3 months ago | |
scripts | 3 months ago | |
README.md | 3 months ago | |
build_deb.sh | 3 months ago |
Building Milvus Deb package is easy if you take advantage of the containerized build environment. This document will guide you through this build process.
Get the opensource milvus code
git clone https://github.com/milvus-io/milvus.git
cp -r milvus/build/deb .
cd deb
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
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
bash
sudo systemctl status milvus
Connect to Milvus
Please refer to Hello Milvus, then run the example code.
Uninstall Milvus
sudo dpkg -P milvus
bash
sudo vim /etc/milvus/configs/milvus.yaml
etcd:
endpoints: etcd-ip:2379
...
use:
embed: false
minio:
address: minio-ip
...
common:
storageType: remote