id: install_standalone-aptyum.md label: APT 或 YUM 安装 related_key: Install order: 2 group: install_standalone-docker.md

summary: Learn how to install Milvus stanalone with APT or YUM.

Install Milvus Standalone

{{fragments/translation_needed.md}}

{{fragments/installation_guide.md}}

{{tab}}

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.

Currently, Milvus supports installation via Launchpad PPA only on Ubuntu 18.04.
  1. $ sudo apt install software-properties-common
  2. $ sudo add-apt-repository ppa:milvusdb/milvus
  3. $ sudo apt update
  4. $ sudo apt install milvus

Install with Debian software package

Alternatively, you can download the Debian software package and install Milvus standalone.

  1. $ wget https://github.com/milvus-io/milvus/releases/download/v{{var.milvus_release_tag}}/{{var.milvus_deb_name}}.deb
  2. $ sudo apt-get update
  3. $ sudo dpkg -i {{var.milvus_deb_name}}.deb
  4. $ sudo apt-get -f install

Install Milvus with YUM on CentOS

You can install Milvus standalone with YUM.

  1. $ sudo yum install https://github.com/milvus-io/milvus/releases/download/v{{var.milvus_release_tag}}/{{var.milvus_rpm_name}}.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.

  1. $ sudo systemctl status milvus
  2. $ sudo systemctl status milvus-etcd
  3. $ 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.

  1. $ sudo systemctl restart milvus

What’s next

Having installed Milvus, you can: