Skip to content

Instantly share code, notes, and snippets.

@fairchild
Created November 4, 2012 05:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fairchild/4010477 to your computer and use it in GitHub Desktop.
Save fairchild/4010477 to your computer and use it in GitHub Desktop.
NEWRELIC_KEY=$1
wget -O /etc/apt/sources.list.d/newrelic.list http://download.newrelic.com/debian/newrelic.list
apt-key adv --keyserver hkp://subkeys.pgp.net --recv-keys 548C16BF
apt-get update
apt-get install newrelic-sysmond
nrsysmond-config --set license_key=${NEWRELIC_KEY}
/etc/init.d/newrelic-sysmond start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment