Installing MySQL Plugin for NewRelic

wget https://github.com/newrelic-platform/newrelic_mysql_java_plugin/blob/master/dist/newrelic_mysql_plugin-1.2.0.tar.gz?raw=true
mv newrelic_mysql_plugin-1.2.0.tar.gz\?raw\=true newrelic_mysql_plugin-1.2.0.tar.gz
tar -zvxf newrelic_mysql_plugin-1.2.0.tar.gz
cd newrelic_mysql_plugin-1.2.0
yum install java-1.7.0-openjdk
java -version
cp config/template_newrelic.properties config/newrelic.properties
vim config/newrelic.properties
cp config/template_mysql.instance.json config/mysql.instance.json
vim config/mysql.instance.json
java -jar newrelic_mysql_plugin*.jar
nohup java -jar newrelic_mysql_plugin*.jar &

Author: Justin Soo

https://plus.google.com/105604283199591348183