1.1 KiB
1.1 KiB
title |
---|
Howto New Relic |
Installer l'agent Servers "sysmond"
Doc officielle : https://docs.newrelic.com/docs/servers/new-relic-servers-linux/installation-configuration/servers-installation-ubuntu-debian
# echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' > /etc/apt/sources.list.d/newrelic.list
# wget -O - https://download.newrelic.com/548C16BF.gpg | apt-key add -
# apt update
# apt install newrelic-sysmond
# nrsysmond-config --set license_key=<votre clé de licence>
# systemctl start newrelic-sysmond
Installer l'agent PHP
Doc officielle : https://docs.newrelic.com/docs/agents/php-agent
# echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' > /etc/apt/sources.list.d/newrelic.list
# wget -O - https://download.newrelic.com/548C16BF.gpg | apt-key add -
# apt update
# apt install newrelic-php5
# newrelic-install install
# rm /etc/php5/conf.d/newrelic.ini
# systemctl restart <votre serveur web>
Debconf vous demandera la clé de license à mettre. On pourra aussi la mettre à la main dans /etc/php5/mods-available/newrelic.ini
.