Skip to content

Instantly share code, notes, and snippets.

@luketn
Last active March 5, 2019 11:29
Show Gist options
  • Save luketn/53f35709521ae281fd9490dc3129105f to your computer and use it in GitHub Desktop.
Save luketn/53f35709521ae281fd9490dc3129105f to your computer and use it in GitHub Desktop.

Install k6

wget https://bintray.com/loadimpact/rpm/rpm -O bintray-loadimpact-rpm.repo
sudo mv bintray-loadimpact-rpm.repo /etc/yum.repos.d/
sudo yum install -y k6

k6 version

Install Graphana

sudo cat <<EOF | sudo tee /etc/yum.repos.d/grafana.repo
[grafana]
name=grafana
baseurl=https://packages.grafana.com/oss/rpm
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://packages.grafana.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
EOF
sudo yum install -y grafana

sudo systemctl enable grafana-server
sudo systemctl start grafana-server

Install InfluxDB

sudo cat <<EOF | sudo tee /etc/yum.repos.d/influxdb.repo
[influxdb]
name = InfluxDB Repository - RHEL 7
baseurl = https://repos.influxdata.com/rhel/7/\$basearch/stable
enabled = 1
gpgcheck = 1
gpgkey = https://repos.influxdata.com/influxdb.key
EOF
sudo yum install -y influxdb

sudo systemctl enable influxdb
sudo systemctl start influxdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment