📌  相关文章
📜  如何在 aws linux 上安装 newrelic 代理 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:13.002000             🧑  作者: Mango

代码示例1
#!/bin/bash
echo "license_key: 3fdc681c1bba59de01010f1a46d82cf18999e8d2" | sudo tee -a /etc/newrelic-infra.yml
sudo curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/el/7/x86_64/newrelic-infra.repo
sudo yum -q makecache -y --disablerepo='*' --enablerepo='newrelic-infra'
sudo yum install newrelic-infra -y