Install Milvus Standalone
Milvus Docs 需要你的帮助
本文档暂时没有中文版本,欢迎你成为社区贡献者,协助中文技术文档的翻译。你可以通过页面右边的 编辑 按钮直接贡献你的翻译。更多详情,参考 贡献指南。如需帮助,你可以 提交 GitHub Issue。
你可以使用 Docker Compose 或 Kubernetes 安装 Milvus 单机版。安装前,请先阅读安装前提。
你也可以从源代码编译 Milvus。
Install Milvus with APT on Ubuntu
You can install Milvus standalone with either Launchpad PPA or directly with the Debian software package.
Install via Launchpad PPA on Ubuntu
Milvus standalone is now available on Launchpad PPA.
$ sudo apt install software-properties-common
$ sudo add-apt-repository ppa:milvusdb/milvus
$ sudo apt update
$ sudo apt install milvus
Install with Debian software package
Alternatively, you can download the Debian software package and install Milvus standalone.
$ wget https://github.com/milvus-io/milvus/releases/download/v2.0.2/milvus_2.0.2-1_amd64.deb
$ sudo apt-get update
$ sudo dpkg -i milvus_2.0.2-1_amd64.deb
$ sudo apt-get -f install
Install Milvus with YUM on CentOS
You can install Milvus standalone with YUM.
$ sudo yum install https://github.com/milvus-io/milvus/releases/download/v2.0.2/milvus-2.0.2-.el7.x86_64.rpm
Check the status of Milvus and its dependencies
After installation, Milvus standalone and its dependencies, i.e. etcd and MinIO, start directly. You can check their status.
$ sudo systemctl status milvus
$ sudo systemctl status milvus-etcd
$ sudo systemctl status milvus-minio
Configure Milvus (optional)
To configure your Milvus service, make changes to the Milvus configuration file milvus.yaml
under /etc/milvus/configs/
in your local device after installation, and restart Milvus standalone.
$ sudo systemctl restart milvus
What's next
Having installed Milvus, you can:
-
Check Hello Milvus to run an example code with different SDKs to see what Milvus can do.
-
Learn the basic operations of Milvus:
-
Explore MilvusDM, an open-source tool designed for importing and exporting data in Milvus.