Created
July 10, 2012 23:24
-
-
Save fool/3086884 to your computer and use it in GitHub Desktop.
newrelic install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis]# VERSION=2.9.5.78 | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis]# VERSION_TYPE=release # release or special | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis]# | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis]# | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis]# # download / install new relic | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis]# wget "http://download.newrelic.com/php_agent/$VERSION_TYPE/newrelic-php5-$VERSION-solaris.tar.gz" | |
--2012-07-10 21:41:37-- http://download.newrelic.com/php_agent/release/newrelic-php5-2.9.5.78-solaris.tar.gz | |
idn_decode failed (9): `System iconv failed' | |
Resolving download.newrelic.com... 204.93.223.144 | |
idn_decode failed (9): `System iconv failed' | |
Connecting to download.newrelic.com|204.93.223.144|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 6264324 (6.0M) [application/octet-stream] | |
Saving to: `newrelic-php5-2.9.5.78-solaris.tar.gz' | |
0% [ ] 0 --.-K/s | |
100%[==========================================================================================================================================>] 6,264,324 2.63M/s in 2.3s | |
2012-07-10 21:41:40 (2.63 MB/s) - `newrelic-php5-2.9.5.78-solaris.tar.gz' saved [6264324/6264324] | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis]# | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis]# gzip -d -c "newrelic-php5-$VERSION-solaris.tar.gz" | tar xf - | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis]# cd "newrelic-php5-$VERSION-solaris" | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis/newrelic-php5-2.9.5.78-solaris]# NR_INSTALL_SILENT=1 NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_PHPLIST='/opt/local/bin' ./newrelic-install install | |
ERROR: the following directories could not be found: | |
/root/phpredis/newrelic-php5-2.9.5.78-solaris/agent/x32 | |
ERROR: the following files could not be found: | |
/root/phpredis/newrelic-php5-2.9.5.78-solaris/agent/x32/newrelic-20100525-zts.so | |
/root/phpredis/newrelic-php5-2.9.5.78-solaris/agent/x32/newrelic-20100525.so | |
/root/phpredis/newrelic-php5-2.9.5.78-solaris/agent/x32/newrelic-20090626-zts.so | |
/root/phpredis/newrelic-php5-2.9.5.78-solaris/agent/x32/newrelic-20090626.so | |
/root/phpredis/newrelic-php5-2.9.5.78-solaris/agent/x32/newrelic-20060613-zts.so | |
/root/phpredis/newrelic-php5-2.9.5.78-solaris/agent/x32/newrelic-20060613.so | |
/root/phpredis/newrelic-php5-2.9.5.78-solaris/agent/x32/newrelic-20050922-zts.so | |
/root/phpredis/newrelic-php5-2.9.5.78-solaris/agent/x32/newrelic-20050922.so | |
/root/phpredis/newrelic-php5-2.9.5.78-solaris/daemon/newrelic-daemon.x32 | |
/root/phpredis/newrelic-php5-2.9.5.78-solaris/scripts/newrelic-iutil.x32 | |
The New Relic installation directory is incomplete. The files or directories | |
listed above could not be found. This usually means that you have a corrupt | |
installation archive. Please re-download your New Relic software and try | |
again. If the problem persists, please contact support@newrelic.com and report | |
the issue. Be sure to include all the above output in your bug report. We | |
apologise for the inconvenience. | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis/newrelic-php5-2.9.5.78-solaris]# | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis/newrelic-php5-2.9.5.78-solaris]# cd agent | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis/newrelic-php5-2.9.5.78-solaris/agent]# ls | |
x64 x86 | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis/newrelic-php5-2.9.5.78-solaris/agent]# cd x64 | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis/newrelic-php5-2.9.5.78-solaris/agent/x64]# ls | |
newrelic-20050922-zts.so newrelic-20060613-zts.so newrelic-20090626-zts.so newrelic-20100525-zts.so | |
newrelic-20050922.so newrelic-20060613.so newrelic-20090626.so newrelic-20100525.so | |
[root@2e66dd59-3c0f-4d3b-b7a3-d6e5d0f5c202 ~/phpredis/newrelic-php5-2.9.5.78-solaris]# NR_INSTALL_SILENT=1 NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_PHPLIST='/opt/local/bin' NR_INSTALL_ARCH=x64 ./newrelic-install install | |
ERROR: the following files could not be found: | |
/root/phpredis/newrelic-php5-2.9.5.78-solaris/daemon/newrelic-daemon.x32 | |
/root/phpredis/newrelic-php5-2.9.5.78-solaris/scripts/newrelic-iutil.x32 | |
The New Relic installation directory is incomplete. The files or directories | |
listed above could not be found. This usually means that you have a corrupt | |
installation archive. Please re-download your New Relic software and try | |
again. If the problem persists, please contact support@newrelic.com and report | |
the issue. Be sure to include all the above output in your bug report. We | |
apologise for the inconvenience. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment