Start using packagecloud in minutes
Join thousands of developers using packagecloud to distribute software securely, consistently, and affordably.
README
last updated: Wed 11/15/17 at 02:51:32 AM bytroydhanson
Option 1: Install pmtr from repo (quick way)
This site (packagecloud.io) has a script that you can run to install the pmtr repository.
INSTALLER=https://packagecloud.io/install/repositories/troydhanson/pmtr/script.rpm.sh
Install using:
curl -s $INSTALLER | sudo bash
The new repo now appears in /etc/yum.repos.d, and in sudo yum repolist
. Finally, install pmtr, set it up to run at boot and start it:
sudo yum install pmtr
sudo systemctl daemon-reload
sudo systemctl enable pmtr
sudo systemctl start pmtr
You are done. You can verify it's running by:
sudo systemctl status pmtr
You can go on to edit its configuration file /etc/pmtr.conf
from here.
Option 2: Install pmtr from rpm (manual way)
Import packager's public key:
wget https://troydhanson.github.io/RPM-GPG-KEY-troydhanson
sudo rpm --import RPM-GPG-KEY-troydhanson
Download RPM:
VERSION=17.11.2-1
RPM=pmtr-$VERSION.el7.x86_64.rpm
URL=https://packagecloud.io/troydhanson/pmtr/packages/el/7/$RPM/download.rpm
wget --content-disposition $URL
Verify signature:
rpm -K pmtr-$VERSION.el7.x86_64.rpm
Install and start service:
sudo yum -y install pmtr-$VERSION.el7.x86_64.rpm
sudo systemctl daemon-reload
sudo systemctl enable pmtr
sudo systemctl start pmtr