会动的耳朵  
上一页 1 ··· 3 4 5 6 7 8 下一页

2013年4月9日

摘要: 配置的是CentOS 6.3改装了下nginx.confnginx.conf 1 user www; 2 #user nobody; 3 worker_processes 1; 4 5 #error_log /data1/logs/nginx/server_error.log; 6 #error_log logs/error.log notice; 7 #error_log logs/error.log info; 8 9 10 #pid logs/nginx.pid;11 12 13 events {14 worker_connections 102... 阅读全文
posted @ 2013-04-09 14:16 会动的耳朵 阅读(271) 评论(0) 推荐(0) 编辑
 
摘要: yum install svn 或者subversionsvn co http://test.com/svn/app1/ ./app1/输入当前用户密码输入svn账户输入svn密码svn info [path] 阅读全文
posted @ 2013-04-09 09:49 会动的耳朵 阅读(130) 评论(0) 推荐(0) 编辑

2013年4月8日

摘要: gearman官方http://gearman.org 各语言版本都有安装如下步骤1.gearmand: server端安装,非本机https://launchpadlibrarian.net/130338751/gearmand-1.1.5.tar.gz安装server前需要安装依赖包yum in... 阅读全文
posted @ 2013-04-08 19:58 会动的耳朵 阅读(828) 评论(0) 推荐(0) 编辑
 
摘要: 因为php sphinx扩展安装需要指定client,所以须先安装sphinx client:资源列表:http://sphinxsearch.com/downloads/release/选择:#http://sphinxsearch.com/downloads/accept.php?file=sphinx-2.0.7-1.rhel6.i386.rpm http://sphinxsearch.com/files/sphinx-2.0.7-1.rhel6.i386.rpmrpm -ivh sphinx-2.0.7*.rpm不能确定rpm的默认安装目录,所以使用源码的:http://sphi... 阅读全文
posted @ 2013-04-08 16:53 会动的耳朵 阅读(378) 评论(0) 推荐(0) 编辑

2013年4月3日

摘要: mount -t cifs -o username=xxx,password=xxx //100.207.27.10/test.com.cn /data1/www/test.com.cn 阅读全文
posted @ 2013-04-03 18:22 会动的耳朵 阅读(150) 评论(0) 推荐(0) 编辑
 
摘要: 1. 安装php redis参考:http://yfyfj.blog.163.com/blog/static/15424784201243114021357/下载:https://github.com/nicolasff/phpredishttp://pecl.php.net/get/redis-2.2.3.tgzunzip mastercd phpredis-masterphpize./configure --with-php-config=/usr/local/php5/bin/php-configmake && make installphp.ini添加extension 阅读全文
posted @ 2013-04-03 16:24 会动的耳朵 阅读(341) 评论(0) 推荐(0) 编辑
 
摘要: 参考:http://hi.baidu.com/zx68555/item/6b094e8964fe5f18c31627d3amqp:advanced message queuing protocol需要安装 amqp的支持依赖https://github.com/alanxz/rabbitmq-c/tags我选择:https://github.com/alanxz/rabbitmq-c/tree/rabbitmq-c-v0.3.0查找资料,看好多没有成功,只是实验一次;#rabbitmq-codegen下载:#https://nodeload.github.com/rabbitmq/rabbit 阅读全文
posted @ 2013-04-03 15:50 会动的耳朵 阅读(302) 评论(0) 推荐(0) 编辑

2013年4月2日

摘要: 参考:http://www.ansen.org/centos-build-lnmp.html1 CentOS iptables 配置ifcfg-eth0配置selinux配置2 资源列表 :mysql5.5.28:http://sourceforge.net/projects/mysql.mirro... 阅读全文
posted @ 2013-04-02 10:05 会动的耳朵 阅读(555) 评论(17) 推荐(0) 编辑

2013年4月1日

摘要: 1 print_r(a2()); 2 function a2() 3 { 4 $arr['a'] = 300; 5 foreach($arr as $k => &$v) 6 { 7 a1($v); 8 } 9 return $arr;10 }11 function a1(&$v)12 {13 $v = 100;14 }15 exit;输出:1 Array ( [a] => 100 ) 阅读全文
posted @ 2013-04-01 09:18 会动的耳朵 阅读(119) 评论(0) 推荐(0) 编辑

2013年3月29日

摘要: css: 1 <style> 2 3 body{ 4 _background-image:url(#); 5 _background-attachment:fixed; /*IE6下防抖*/ 6 } 7 .CoverBtm{ 8 height:100px; 9 width:100%;10 bottom:0px;11 left:0px;12 position:fixed;13 _position:absolute;14 _left:10px;15 _top:expression(eval(do... 阅读全文
posted @ 2013-03-29 11:40 会动的耳朵 阅读(228) 评论(0) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页