Last active
August 29, 2015 14:07
-
-
Save tekton/c93d50f7de4b5099c93d to your computer and use it in GitHub Desktop.
newrelic_server.bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "deb http://apt.newrelic.com/debian/ newrelic non-free" > newrelic.list | |
sudo cp newrelic.list /etc/apt/sources.list.d/newrelic.list | |
rm newrelic.list | |
# | |
wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install newrelic-sysmond | |
# | |
sudo nrsysmond-config --set license_key=$1 | |
sudo /etc/init.d/newrelic-sysmond start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment