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.
$ 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/v{{var.milvus_release_tag}}/{{var.milvus_deb_name}}.deb
$ sudo apt-get update
$ sudo dpkg -i {{var.milvus_deb_name}}.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/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.
$ 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.
- Monitor Milvus with Prometheus.