new relic 安装mysql 扩展

来源:互联网 发布:js中嵌入java代码 编辑:程序博客网 时间:2024/05/22 17:01
1. 首先必须有java环境


2.
cd ~/newrelic-npi

选择npi的安装方式  我的安装如下:

LICENSE_KEY=20acxxxxxxxxxxxxxxx9a6 bash -c "$(curl https://download.newrelic.com/npi/release/install-npi-linux-redhat-x64.sh)"

安装mysql扩展:
cd /root/newrelic-npi./npi install com.newrelic.plugins.mysql.instance


在安装过程中,会涉及到填写mysql的账户,密码等
安装完成后开启:
cd /root/newrelic-npi./npi start com.newrelic.plugins.mysql.instance


0 0
原创粉丝点击