Install PMM Client manually using binaries¶
Choose your installation instructions based on whether you have root permissions:
To install PMM Client with binary package with root permissions:
-
Download the PMM Client package for your architecture:
wget https://downloads.percona.com/downloads/pmm3/3.0.0/binary/tarball/pmm-client-3.0.0-x86_64.tar.gzwget https://downloads.percona.com/downloads/pmm3/3.0.0/binary/tarball/pmm-client-3.0.0-aarch64.tar.gz -
Download the corresponding checksum file:
wget https://downloads.percona.com/downloads/pmm3/3.0.0/binary/tarball/pmm-client-3.0.0-x86_64.tar.gz.sha256sumwget https://downloads.percona.com/downloads/pmm3/3.0.0/binary/tarball/pmm-client-3.0.0-aarch64.tar.gz.sha256sum -
Verify the download:
sha256sum -c pmm-client-3.0.0-x86_64.tar.gz.sha256sumsha256sum -c pmm-client-3.0.0-aarch64.tar.gz.sha256sum -
Unpack the package and move into the directory:
tar xfz pmm-client-3.0.0-x86_64.tar.gz && cd pmm-client-3.0.0tar xfz pmm-client-3.0.0-aarch64.tar.gz && cd pmm-client-3.0.0 -
Set the installation directory:
export PMM_DIR=/usr/local/percona/pmm -
Run the installer:
./install_tarball -
Update your PATH:
PATH=$PATH:$PMM_DIR/bin -
Set up the agent:
pmm-agent setup --config-file=/usr/local/percona/pmm/config/pmm-agent.yaml --server-address=192.168.1.123 --server-insecure-tls --server-username=admin --server-password=admin -
Run the agent:
pmm-agent --config-file=${PMM_DIR}/config/pmm-agent.yaml -
Open a new terminal and verify the installation:
pmm-admin status
To install PMM Client with binary package without root permissions:
-
Download the PMM Client package for your architecture:
wget https://downloads.percona.com/downloads/pmm3/3.0.0/binary/tarball/pmm-client-3.0.0-x86_64.tar.gzwget https://downloads.percona.com/downloads/pmm3/3.0.0/binary/tarball/pmm-client-3.0.0-aarch64.tar.gz -
Download the corresponding checksum file:
wget https://downloads.percona.com/downloads/pmm3/3.0.0/binary/tarball/pmm-client-3.0.0-x86_64.tar.gz.sha256sumwget https://downloads.percona.com/downloads/pmm3/3.0.0/binary/tarball/pmm-client-3.0.0-aarch64.tar.gz.sha256sum -
Verify the download:
sha256sum -c pmm-client-3.0.0-x86_64.tar.gz.sha256sumsha256sum -c pmm-client-3.0.0-aarch64.tar.gz.sha256sum -
Unpack the package and move into the directory:
tar xfz pmm-client-3.0.0-x86_64.tar.gz && cd pmm-client-3.0.0tar xfz pmm-client-3.0.0-aarch64.tar.gz && cd pmm-client-3.0.0 -
Set the installation directory:
export PMM_DIR=YOURPATHReplace YOURPATH with a path where you have required access.
-
Run the installer:
./install_tarball -
Update your PATH:
PATH=$PATH:$PMM_DIR/bin -
Set up the agent:
pmm-agent setup --config-file=${PMM_DIR}/config/pmm-agent.yaml --server-address=192.168.1.123 --server-insecure-tls --server-username=admin --server-password=admin --paths-tempdir=${PMM_DIR}/tmp --paths-base=${PMM_DIR} -
Run the agent:
pmm-agent --config-file=${PMM_DIR}/config/pmm-agent.yaml -
Open a new terminal and verify the installation:
pmm-admin status
Tips
- Download tar.gz with pmm-client.
- Extract it.
- Run
./install_tarball scriptwith the-uflag.
The configuration file will be overwritten if you do not provide the -u flag while the pmm-agent is updated.