Install Newrelic Agent for PHP in a 1 minute

Install NewRElic PHP Plugin for Amazon LINux
Create newrelic account on web and get the License number.
sudo rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm

sudo yum install newrelic-php5
sudo newrelic-install install

vim /etc/php.ini
newrelic.license="4b3abfeda5336ecf68"
/etc/init.d/httpd restart

Install System Monitoring NewRelic

rpm -Uvh https://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm

yum install newrelic-sysmond
nrsysmond-config --set license_key=4b106d772c3115f649

/etc/init.d/newrelic-sysmond start
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s