Install Milvus Standalone with APT/YUM
This topic describes how to install Milvus standalone using package manager APT or YUM on Linux systems.
Prerequisites
Ensure that your CPU, RAM, and disk meets the requirements in Environment Checklist prior to your installation.
Install Milvus with APT on Ubuntu
On Ubuntu, you can install Milvus standalone either via Launchpad PPA or directly with a .deb
package.
Install via Launchpad PPA
You can install Milvus standalone via Launchpad PPA (Personal Package Archive). PPA allows you to install packages outside Ubuntu’s official repository with APT.
$ sudo apt install software-properties-common
$ sudo add-apt-repository ppa:milvusdb/milvus
$ sudo apt update
$ sudo apt install milvus
Install with a .deb
package
You can also download the .deb
package that Milvus provides and install Milvus standalone.
$ wget https://github.com/milvus-io/milvus/releases/download/v2.1.4/milvus_2.1.4-1_amd64.deb
$ sudo apt-get update
$ sudo dpkg -i milvus_2.1.4-1_amd64.deb
$ sudo apt-get -f install
Install Milvus with YUM on CentOS
On CentOS, you can install Milvus standalone with YUM.
$ sudo yum install https://github.com/milvus-io/milvus/releases/download/v2.1.4/milvus-2.1.4-1.el7.x86_64.rpm
Check the status of Milvus and its dependencies
After installation, Milvus standalone and its dependencies (etcd and MinIO) start automatically. You can check their status by:
$ sudo systemctl status milvus
$ sudo systemctl status milvus-etcd
$ sudo systemctl status milvus-minio
Uninstall Milvus
Run the following command to uninstall Milvus.
$ sudo apt-get remove milvus
Additionally, remove Milvus from your system’s repository list if you installed via PPA.
$ sudo add-apt-repository --remove ppa:milvusdb/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.