Easy-install script¶
Caution
You can download and check get-pmm.sh
before running it from our github:
Linux or macOS¶
Using curl
:
curl -fsSL https://www.percona.com/get/pmm2 | /bin/bash
Using wget
:
wget -O - https://www.percona.com/get/pmm2 | /bin/bash
This script:
- Installs Docker if it is not already installed on your system.
- Stops and renames any currently running PMM Server Docker container from
pmm-server
topmm-server-{timestamp}
. This old pmm-server container is not a recoverable backup. - Pulls and runs the latest PMM Server Docker image.
- Can run in Interactive mode to change the default settings:
curl -fsSLO https://www.percona.com/get/pmm2 # (or wget https://www.percona.com/get/pmm2) chmod +x pmm2 ./pmm2 --interactive