???????崠???????????

??????showslow????????????hosts????????????(????????ip????)??

????10.20.155.4 www.myshowslow.com

???????Apache??????http://www.myshowslow.com????showslow?????????????????δ???£?????http://www.myshowslow.com/dbupgrade.php??http://www.myshowslow.com/users/dbupgrade.php????????е???????????汾showslow????

????????????????dynatrace

????dynatrace???????μ?dtajax.ini??????????????У????е????п?????dynatrace???????????showslow??

-Dcom.dynatrace.diagnostics.ajax.beacon.uploadurl=http:// 10.20.155.4:8070/beacon/dynatrace
-Dcom.dynatrace.diagnostics.ajax.beacon.portalurl=http:// 10.20.155.4:8070/
-Dcom.dynatrace.diagnostics.ajax.beacon.autoupload=true

????????????????????????????

??????4.1???е?????????showslow.com???????????????????????shlowslow??

????4.3 dynatrace+showslow??UI????????

??????????ruby??????д???????????м??????????У???????????UI?????????????UI????????????????????????????????????????dynatrace????????showslow????

????ENV['DT_IE_AGENT_ACTIVE'] = 'true'

????ENV['DT_IE_SESSION_NAME'] = 'Watir Sample Test'

?????????????????????????8?У?

require 'pwatir'
ENV['DT_IE_AGENT_ACTIVE'] = 'true'
ENV['DT_IE_SESSION_NAME'] = 'Watir Sample Test'
b = Watir::IE.new
b.goto('http://www.baidu.com')
b.text_field(:id?? 'kw').set 'watir'
b.button(:id?? "su").click
b.close()

????4.4 Linux?а??mysql+apache+php????С??

????4.4.1Can't connect to local MySQL server through socket‘xxx’

???????mysql??????mysql????????ERROR 2002(HY000): Can't connect to local MySQL server through socket ‘xxx’??????????????????mysql???δ???????????/etc/init.d/mysqlstart???ɡ?

????mysql????????????root????????mysql –uroot –p???????????????????????????????root????mysql??

????4.4.2 ???php?configure??make??????????

??????????php???????????μ??????

????./configure --prefix=/usr/local/php5--with-charset=utf8 --with-extra-charsets=gbk??gb2312??utf8 --with-apxs2=/usr/local/httpd/bin/apxs--with-config-file-path=/usr/local/lib/php --with-mysql=/data/mysql--enable-mbstring --with-mysqli=/data/mysql/bin/mysql_config--with-mcrypt=/usr/local/libmcrypt

?????????????apache??mysql??mcrypt??????????????php??

????4.4.3 php?????????httpd.conf???????????

???????????php?????У?????make?????php???????modules?μ?libphp5.so??????httpd/modules?£?????httpd.conf?м??????module?????????????????

????LoadModule php5_module modules/libphp5.so

????AddType application/x-httpd-php .php

????AddType application/x-httpd-php .html

??????????php???????php????????μ?php.ini-dist??????--with-config-file-path?????/usr/local/lib/php???2??????php.ini??????httpd.conf????????php.ini???λ???

????PHPIniDir "/usr/local/lib/php"