{"id":1227,"date":"2014-11-16T22:59:43","date_gmt":"2014-11-16T13:59:43","guid":{"rendered":"http:\/\/tech.akat.info\/?p=1227"},"modified":"2014-11-16T23:46:43","modified_gmt":"2014-11-16T14:46:43","slug":"new-relic%e3%82%92%e5%88%a9%e7%94%a8%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=1227","title":{"rendered":"New Relic\u3092\u5229\u7528\u3057\u3066\u307f\u305f"},"content":{"rendered":"<h1>New Relic\u3068\u306f<\/h1>\n<p>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u76e3\u8996\u30b5\u30fc\u30d3\u30b9<br \/>\n\u30b5\u30fc\u30d0\u5074\u306bnewrelic\u7528\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3067\u5229\u7528\u53ef\u80fd<\/p>\n<h1>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5<\/h1>\n<h2>New Relic\u30a2\u30ab\u30a6\u30f3\u30c8\u767b\u9332<\/h2>\n<p>[Sign Up for New Relic]\u3092\u30af\u30ea\u30c3\u30af<br \/>\n<a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/11\/2014-11-16_230413.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/11\/2014-11-16_230413.png\" alt=\"2014-11-16_230413\" width=\"1125\" height=\"149\" class=\"alignnone size-full wp-image-1230\" \/><\/a><\/p>\n<p>\u500b\u4eba\u60c5\u5831\u3092\u5165\u529b\u5f8c\u3001[language]\u3084[OS]\u3092\u9078\u629e\u3059\u308b\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u304c\u8868\u793a\u3055\u308c\u308b<br \/>\n<a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/11\/2014-11-16_231052.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/11\/2014-11-16_231052.png\" alt=\"2014-11-16_231052\" width=\"789\" height=\"574\" class=\"alignnone size-full wp-image-1232\" \/><\/a><\/p>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n### 32bit\u7528\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb...\u8aa4\u3063\u305f ###\r\n&#x5B;root@ip-172-32-0-221 ec2-user]# rpm -Uvh http:\/\/yum.newrelic.com\/pub\/newrelic\/el5\/i386\/newrelic-repo-5-3.noarch.rpm\r\nhttp:\/\/yum.newrelic.com\/pub\/newrelic\/el5\/i386\/newrelic-repo-5-3.noarch.rpm \u3092\u53d6\u5f97\u4e2d\r\n\u8b66\u544a: \/var\/tmp\/rpm-tmp.zShU7D: \u30d8\u30c3\u30c0\u30fc V3 DSA\/SHA1 Signature\u3001\u9375 ID 548c16bf: NOKEY\r\n\u6e96\u5099\u3057\u3066\u3044\u307e\u3059...              ################################# &#x5B;100%]\r\n\u66f4\u65b0\u4e2d \/ \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d...\r\n   1:newrelic-repo-5-3                ################################# &#x5B;100%]\r\n### 64bit\u7528\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb ###\r\n&#x5B;root@ip-172-32-0-221 ec2-user]# rpm -Uvh http:\/\/yum.newrelic.com\/pub\/newrelic\/el5\/x86_64\/newrelic-repo-5-3.noarch.rpm\r\nhttp:\/\/yum.newrelic.com\/pub\/newrelic\/el5\/x86_64\/newrelic-repo-5-3.noarch.rpm \u3092\u53d6\u5f97\u4e2d\r\n\u8b66\u544a: \/var\/tmp\/rpm-tmp.pND0QJ: \u30d8\u30c3\u30c0\u30fc V3 DSA\/SHA1 Signature\u3001\u9375 ID 548c16bf: NOKEY\r\n\u6e96\u5099\u3057\u3066\u3044\u307e\u3059...              ################################# &#x5B;100%]\r\n        \u30d1\u30c3\u30b1\u30fc\u30b8 newrelic-repo-5-3.noarch \u306f\u65e2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002\r\n&#x5B;root@ip-172-32-0-221 ec2-user]# yum install newrelic-php5\r\n\u8aad\u307f\u8fbc\u3093\u3060\u30d7\u30e9\u30b0\u30a4\u30f3:priorities, update-motd, upgrade-helper\r\namzn-main\/latest                                                                                                                                                     | 2.1 kB     00:00\r\namzn-updates\/latest                                                                                                                                                  | 2.3 kB     00:00\r\namzn-updates\/latest\/updateinfo                                                                                                                                       | 188 kB     00:00\r\namzn-updates\/latest\/primary_db                                                                                                                                       | 271 kB     00:00\r\nmariadb                                                                                                                                                              | 1.9 kB     00:00\r\nnewrelic\/x86_64                                                                                                                                                      |  951 B     00:00\r\nnewrelic\/x86_64\/primary                                                                                                                                              | 5.8 kB     00:00\r\nnewrelic                                                                                                                                                                              43\/43\r\n4 packages excluded due to repository priority protections\r\n\u4f9d\u5b58\u6027\u306e\u89e3\u6c7a\u3092\u3057\u3066\u3044\u307e\u3059\r\n--&gt; \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\r\n---&gt; \u30d1\u30c3\u30b1\u30fc\u30b8 newrelic-php5.x86_64 0:4.15.0.74-1 \u3092 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n--&gt; \u4f9d\u5b58\u6027\u306e\u51e6\u7406\u3092\u3057\u3066\u3044\u307e\u3059: newrelic-daemon = 4.15.0.74 \u306e\u30d1\u30c3\u30b1\u30fc\u30b8: newrelic-php5-4.15.0.74-1.x86_64\r\n--&gt; \u4f9d\u5b58\u6027\u306e\u51e6\u7406\u3092\u3057\u3066\u3044\u307e\u3059: newrelic-php5-common = 4.15.0.74 \u306e\u30d1\u30c3\u30b1\u30fc\u30b8: newrelic-php5-4.15.0.74-1.x86_64\r\n--&gt; \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\r\n---&gt; \u30d1\u30c3\u30b1\u30fc\u30b8 newrelic-daemon.x86_64 0:4.15.0.74-1 \u3092 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n---&gt; \u30d1\u30c3\u30b1\u30fc\u30b8 newrelic-php5-common.noarch 0:4.15.0.74-1 \u3092 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n--&gt; \u4f9d\u5b58\u6027\u89e3\u6c7a\u3092\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002\r\n\r\n\u4f9d\u5b58\u6027\u3092\u89e3\u6c7a\u3057\u307e\u3057\u305f\r\n\r\n============================================================================================================================================================================================\r\n Package                                               \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc                        \u30d0\u30fc\u30b8\u30e7\u30f3                                   \u30ea\u30dd\u30b8\u30c8\u30ea\u30fc                               \u5bb9\u91cf\r\n============================================================================================================================================================================================\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d:\r\n newrelic-php5                                         x86_64                                  4.15.0.74-1                                  newrelic                                  3.4 M\r\n\u4f9d\u5b58\u6027\u95a2\u9023\u3067\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u307e\u3059:\r\n newrelic-daemon                                       x86_64                                  4.15.0.74-1                                  newrelic                                  2.0 M\r\n newrelic-php5-common                                  noarch                                  4.15.0.74-1                                  newrelic                                   29 k\r\n\r\n\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u8981\u7d04\r\n============================================================================================================================================================================================\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb  1 \u30d1\u30c3\u30b1\u30fc\u30b8 (+2 \u500b\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u30d1\u30c3\u30b1\u30fc\u30b8)\r\n\r\n\u7dcf\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5bb9\u91cf: 5.4 M\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5bb9\u91cf: 14 M\r\nIs this ok &#x5B;y\/d\/N]: y\r\n...\r\n\r\n### agent\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068license key\u3092\u5165\u529b\u3059\u308b ###\r\n&#x5B;root@ip-172-32-0-221 ec2-user]# newrelic-install install\r\nNew Relic PHP Agent Installation (interactive mode)\r\n...\r\n\r\n&#x5B;root@ip-172-32-0-221 ec2-user]# \/etc\/init.d\/php-fpm restart\r\nphp-fpm-5.5 \u3092\u505c\u6b62\u4e2d:                                      &#x5B;  OK  ]\r\nphp-fpm-5.5 \u3092\u8d77\u52d5\u4e2d:                                      &#x5B;  OK  ]\r\n<\/pre>\n<p>phpinfo\u3067\u78ba\u8a8d\u53ef\u80fd<br \/>\n<a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/11\/2014-11-16_233840.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/11\/2014-11-16_233840.png\" alt=\"2014-11-16_233840\" width=\"624\" height=\"236\" class=\"alignnone size-full wp-image-1231\" \/><\/a><\/p>\n<h1>\u30b5\u30a4\u30c8\u304b\u3089\u78ba\u8a8d\u3059\u308b<\/h1>\n<p>\u30b5\u30a4\u30c8\u60c5\u5831\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3001\u3082\u3046\u5c11\u3057\u30c7\u30fc\u30bf\u304c\u3067\u305f\u3089\u5206\u6790\u3057\u3066\u307f\u308b<br \/>\n<a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/11\/2014-11-16_234551.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/11\/2014-11-16_234551.png\" alt=\"2014-11-16_234551\" width=\"1326\" height=\"636\" class=\"alignnone size-full wp-image-1235\" \/><\/a><\/p>\n<h1>\u53c2\u8003URL<\/h1>\n<p>http:\/\/dev.classmethod.jp\/tool\/newrelic\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>New Relic\u3068\u306f \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u76e3\u8996\u30b5\u30fc\u30d3\u30b9 \u30b5\u30fc\u30d0\u5074\u306bnewrelic\u7528\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3067\u5229\u7528\u53ef\u80fd \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5 New Relic\u30a2\u30ab\u30a6\u30f3\u30c8\u767b\u9332 [Sign Up for New Relic [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[43,40],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1227"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1227"}],"version-history":[{"count":5,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1227\/revisions"}],"predecessor-version":[{"id":1236,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1227\/revisions\/1236"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}