What is New Relic:
[root@sankar-paas ~]# curl -s
"http://**.**.**.**/info.php?[1-1000]"
- Lew Cirne founded New Relic in 2008.
- New Relic's technology, delivered in a software as a service (SaaS) model, was announced in 2013.
- It monitors Web and mobile applications in real-time with support for custom-built plugins to collect arbitrary data.
New Relic Free Trail Version: Simple PHP Application Monitoring
Then Click on Add a User. And add new user with admin
privileges
[root@sankar-paas-1 ~]# firewall-cmd --state
not running
[root@sankar-paas ~]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built:
Nov 5 2018 01:47:09
[root@sankar-paas ~]# systemctl start httpd
[root@sankar-paas ~]# systemctl status httpd
â— httpd.service - The Apache HTTP
Server
Loaded: loaded
(/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: active
(running) since Mon 2018-12-24 19:55:12 UTC; 4s ago
Docs:
man:httpd(8)
man:apachectl(8)
Main PID: 1560
(httpd)
Status: "Processing
requests..."
CGroup:
/system.slice/httpd.service
├─1560
/usr/sbin/httpd -DFOREGROUND
├─1561
/usr/sbin/httpd -DFOREGROUND
├─1562
/usr/sbin/httpd -DFOREGROUND
├─1563
/usr/sbin/httpd -DFOREGROUND
├─1564
/usr/sbin/httpd -DFOREGROUND
└─1565
/usr/sbin/httpd -DFOREGROUND
Dec 24 19:55:12 sankar-paas systemd[1]: Starting The Apache HTTP
Server...
Dec 24 19:55:12 sankar-paas systemd[1]: Started The Apache HTTP
Server.
[root@sankar-paas ~]#
[root@sankar-paas ~]# yum install php php-mysql php-pdo php-gd
php-mbstring
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base:
mirror.scalabledns.com
* epel:
d2lzkl7pfhq30w.cloudfront.net
* extras:
mirror.fileplanet.com
* updates:
mirrors.oit.uci.edu
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.4.16-46.el7 will be installed
--> Processing Dependency: php-common(x86-64) =
5.4.16-46.el7 for package: php-5.4.16-46.el7.x86_64
--> Processing Dependency: php-cli(x86-64) =
5.4.16-46.el7 for package: php-5.4.16-46.el7.x86_64
---> Package php-gd.x86_64 0:5.4.16-46.el7 will be
installe[root@greyl-1 ~]# echo "<?php phpinfo(); ?>" >
/var/www/html/info.php
….
….
[root@sankar-paas ~]# echo "<?php phpinfo(); ?>"
> /var/www/html/info.php
[root@sankar-paas ~]# systemctl restart httpd
Install the PHP agent
[root@sankar-paas conf.d]# rpm -Uvh
http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm
Retrieving
http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm
warning: /var/tmp/rpm-tmp.CK11kK: Header V3 DSA/SHA1
Signature, key ID 548c16bf: NOKEY
Preparing...
################################# [100%]
Updating / installing...
1:newrelic-repo-5-3
################################# [100%]
[root@sankar-paas conf.d]# yum install newrelic-php5
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base:
mirror.fileplanet.com
* epel:
d2lzkl7pfhq30w.cloudfront.net
* extras:
mirror.fileplanet.com
* updates:
repos.lax.quadranet.com
newrelic
| 2.5
kB 00:00:00
newrelic/x86_64/primary_db
| 55 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package newrelic-php5.x86_64 0:8.5.0.235-1 will be
installed
….
…
[root@sankar-paas conf.d]# newrelic-install install
New Relic PHP Agent Installation (interactive mode)
===================================================
Enter New Relic
license key (or leave blank): ******************************3a17
Below is a list of the directories in which we found a copy
of PHP.
Please select the directory or directories for which you
wish to install
New Relic. You can select either a single directory or
multiple directories by separating each choice with either a
space or a
comma. To select all of the directories shown, please enter
the special
keyword 'all' (without the quotes).
1) /bin
2) /usr/bin
0) Exit
Selection (1-2, 0
to exit or all): 2
Found a valid PHP in : /usr/bin
PHP Version :
5.4.16
Module API version :
20100525
Module directory :
/usr/lib64/php/modules
Zend Thread Safety :
no
CLI ini directory :
/etc/php.d
Install Status :
OK
New Relic is now installed on your system. Congratulations!
1. Set newrelic.appname in your newrelic.ini file.
2. Restart your web server. This will fix most reporting
issues and
load the agent's
new features and bug fixes.
If you have questions or comments, go to http://support.newrelic.com.
http://ip:80
Load Test :
If you're looking to burn fat then you need to get on this brand new personalized keto meal plan.
ReplyDeleteTo design this service, certified nutritionists, personal trainers, and professional chefs joined together to provide keto meal plans that are powerful, convenient, price-efficient, and satisfying.
Since their grand opening in 2019, thousands of people have already remodeled their figure and health with the benefits a proper keto meal plan can provide.
Speaking of benefits: clicking this link, you'll discover 8 scientifically-confirmed ones given by the keto meal plan.