Guest User

Untitled

a guest
Oct 6th, 2016
121
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@mbaur-pp-3237:/# dpkg -l | grep php
  2. ii libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.20 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
  3. ii php5-cli 5.5.9+dfsg-1ubuntu4.20 amd64 command-line interpreter for the php5 scripting language
  4. ii php5-common 5.5.9+dfsg-1ubuntu4.20 amd64 Common files for packages built from the php5 source
  5. ii php5-json 1.3.2-2build1 amd64 JSON module for php5
  6. ii php5-readline 5.5.9+dfsg-1ubuntu4.20 amd64 Readline module for php5
  7. root@mbaur-pp-3237:/# ls -la /etc/php5/mods-available/newrelic.ini
  8. ls: cannot access /etc/php5/mods-available/newrelic.ini: No such file or directory
  9. root@mbaur-pp-3237:/# ls -la /etc/php5/apache2/conf.d/newrelic.ini
  10. ls: cannot access /etc/php5/apache2/conf.d/newrelic.ini: No such file or directory
  11. root@mbaur-pp-3237:/# ls -la /etc/php5/apache2/conf.d/20-newrelic.ini
  12. ls: cannot access /etc/php5/apache2/conf.d/20-newrelic.ini: No such file or directory
  13. root@mbaur-pp-3237:/# echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' | sudo tee /etc/apt/sources.list.d/newrelic.list
  14. deb http://apt.newrelic.com/debian/ newrelic non-free
  15. root@mbaur-pp-3237:/# wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add -
  16. --2016-10-06 11:16:41-- https://download.newrelic.com/548C16BF.gpg
  17. Resolving download.newrelic.com (download.newrelic.com)... 151.101.12.207
  18. Connecting to download.newrelic.com (download.newrelic.com)|151.101.12.207|:443... connected.
  19. HTTP request sent, awaiting response... 200 OK
  20. Length: 1682 (1.6K) [application/octet-stream]
  21. Saving to: ‘STDOUT’
  22.  
  23. 100%[===========================================================================================================================================>] 1,682 --.-K/s in 0s
  24.  
  25. 2016-10-06 11:16:41 (285 MB/s) - written to stdout [1682/1682]
  26.  
  27. OK
  28. root@mbaur-pp-3237:/# apt-get update
  29. .... (censored because of private URLs)
  30. Reading package lists... Done
  31. root@mbaur-pp-3237:/# sudo apt-get install newrelic-php5
  32. Reading package lists... Done
  33. Building dependency tree
  34. Reading state information... Done
  35. The following packages were automatically installed and are no longer required:
  36. ruby-rgen ruby-safe-yaml
  37. Use 'apt-get autoremove' to remove them.
  38. The following extra packages will be installed:
  39. newrelic-daemon newrelic-php5-common
  40. The following NEW packages will be installed:
  41. newrelic-daemon newrelic-php5 newrelic-php5-common
  42. 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
  43. Need to get 0 B/8,206 kB of archives.
  44. After this operation, 24.6 MB of additional disk space will be used.
  45. Do you want to continue? [Y/n]
  46. Preconfiguring packages ...
  47. Selecting previously unselected package newrelic-php5-common.
  48. (Reading database ... 22277 files and directories currently installed.)
  49. Preparing to unpack .../newrelic-php5-common_6.7.0.174_all.deb ...
  50. Unpacking newrelic-php5-common (6.7.0.174) ...
  51. Setting up newrelic-php5-common (6.7.0.174) ...
  52. Selecting previously unselected package newrelic-daemon.
  53. (Reading database ... 22290 files and directories currently installed.)
  54. Preparing to unpack .../newrelic-daemon_6.7.0.174_amd64.deb ...
  55. Unpacking newrelic-daemon (6.7.0.174) ...
  56. Processing triggers for ureadahead (0.100.0-16) ...
  57. Setting up newrelic-daemon (6.7.0.174) ...
  58. Processing triggers for ureadahead (0.100.0-16) ...
  59. Selecting previously unselected package newrelic-php5.
  60. (Reading database ... 22298 files and directories currently installed.)
  61. Preparing to unpack .../newrelic-php5_6.7.0.174_amd64.deb ...
  62. Unpacking newrelic-php5 (6.7.0.174) ...
  63. Setting up newrelic-php5 (6.7.0.174) ...
  64. Please restart your Web server(s) to complete installation.
  65. root@mbaur-pp-3237:/# ls -la /etc/php5/mods-available/newrelic.ini
  66. -rw-r--r-- 1 root root 31930 Oct 6 11:17 /etc/php5/mods-available/newrelic.ini
  67. root@mbaur-pp-3237:/# ls -la /etc/php5/apache2/conf.d/20-newrelic.ini
  68. lrwxrwxrwx 1 root root 33 Oct 6 11:17 /etc/php5/apache2/conf.d/20-newrelic.ini -> ../../mods-available/newrelic.ini
  69. root@mbaur-pp-3237:/# ls -la /etc/php5/apache2/conf.d/newrelic.ini
  70. ls: cannot access /etc/php5/apache2/conf.d/newrelic.ini: No such file or directory
  71. root@mbaur-pp-3237:/# sudo newrelic-install install
  72. New Relic PHP Agent Installation (interactive mode)
  73. ===================================================
  74.  
  75. Enter New Relic license key (or leave blank): EoriaduieYY2DB5qixMAvgFtsJDfJKJ4Lyp5mFPA
  76. Found a valid PHP in : /usr/bin
  77. PHP Version : 5.5.9-1ubuntu4.20
  78. Module API version : 20121212
  79. Module directory : /usr/lib/php5/20121212
  80. Zend Thread Safety : no
  81. CLI ini directory : /etc/php5/cli/conf.d
  82. DSO ini directory : /etc/php5/apache2/conf.d
  83. Install Status : /etc/php5/cli/conf.d/newrelic.ini created
  84. Install Status : /etc/php5/apache2/conf.d/newrelic.ini created
  85. Install Status : OK
  86.  
  87.  
  88. New Relic is now installed on your system. Congratulations!
  89.  
  90. 1. Set newrelic.appname in your newrelic.ini file.
  91.  
  92. 2. Restart your web server. This will fix most reporting issues and
  93. load the agent's new features and bug fixes.
  94.  
  95. If you have questions or comments, go to http://support.newrelic.com.
  96.  
  97. root@mbaur-pp-3237:/# ls -la /etc/php5/mods-available/newrelic.ini
  98. -rw-r--r-- 1 root root 31930 Oct 6 11:17 /etc/php5/mods-available/newrelic.ini
  99. root@mbaur-pp-3237:/# ls -la /etc/php5/apache2/conf.d/20-newrelic.ini
  100. lrwxrwxrwx 1 root root 33 Oct 6 11:17 /etc/php5/apache2/conf.d/20-newrelic.ini -> ../../mods-available/newrelic.ini
  101. root@mbaur-pp-3237:/# ls -la /etc/php5/apache2/conf.d/newrelic.ini
  102. -rw-r--r-- 1 root root 31930 Oct 6 11:19 /etc/php5/apache2/conf.d/newrelic.ini
  103. root@mbaur-pp-3237:/# grep "extension.*newrelic*" /etc/php5/apache2/conf.d/*
  104. /etc/php5/apache2/conf.d/20-newrelic.ini:extension = "newrelic.so"
  105. /etc/php5/apache2/conf.d/newrelic.ini:extension = "newrelic.so"
  106. root@mbaur-pp-3237:/# grep "extension.*newrelic*" /etc/php5/cli/conf.d/*
  107. /etc/php5/cli/conf.d/20-newrelic.ini:extension = "newrelic.so"
  108. /etc/php5/cli/conf.d/newrelic.ini:extension = "newrelic.so"
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×