通过Apache和JK插件实现tomcat负载均衡的集群。1、安装HTTP服务器Apache。下载双击安装httpd-2.2.25-win32-x86-openssl-0.9.8y.msi,安装后访问localhost即可看到安装成功。2、下载mod_jk.so(tomcat的插件提供和Apache...
分类:
其他好文 时间:
2014-11-09 19:21:41
阅读次数:
247
我也是从网上看到的这种解决办法。
遇到这种情况后,通过dmesg看一下内核日志。
如果发现有如下日志,那就好办了。
hello: version magic '2.6.33.3 ' should be '2.6.33.3-85.fc13.i686.PAE SMP mod_unload 686 '
修改内核源码文件include/linux/vermagic.h
把如下VERMAGIC...
分类:
其他好文 时间:
2014-11-09 16:40:55
阅读次数:
113
原文转自:http://cloudbbs.org/forum.php?mod=viewthread&tid=28773&page=1&extra=#pid180304一、前言1. comet技术浏览器作为 Web 应用的前台,自身的处理功能比较有限。浏览器的发展需要客户端升级软件,同时由于客户端浏览...
分类:
编程语言 时间:
2014-11-09 09:49:44
阅读次数:
288
http://poj.org/problem?id=3070#include #include #include #include #include #define mod 10000using namespace std;struct m{ int a[3][3];} init,res;in...
分类:
其他好文 时间:
2014-11-08 19:41:00
阅读次数:
150
环境:Linux 2.6.32-431.23.3.el6.i6861、安装pythonwgethttp://www.python.org/ftp/python/2.7.1/Python-2.7.1.tgztarzxfPython-2.7.1.tgz./configure--prefix=/usr/l...
分类:
编程语言 时间:
2014-11-08 18:05:51
阅读次数:
250
http://acm.hdu.edu.cn/showproblem.php?pid=1575#include #include #include #include #include #define mod 9973using namespace std;struct matrix{ int a...
分类:
其他好文 时间:
2014-11-08 16:34:23
阅读次数:
142
一、欧几里得算法名字非常高大上的不一定难,比如欧几里得算法。。。其实就是求两个正整数a, b的最大公约数(即gcd),亦称辗转相除法需要先知道一个定理:gcd(a, b) = gcd(b, amod b) (其中a mod b != 0) 或 b (其中a mod b == 0)证明:后半部分呢。。...
分类:
编程语言 时间:
2014-11-07 18:32:29
阅读次数:
215
http://hancang2000.i.sohu.com/blog/view/235140698.htm$mod取模运算查询age取模10等于0的数据db.student.find( { age: { $mod : [ 10 , 1 ] } } )举例如下:C1表的数据如下:> db.c1.fin...
分类:
数据库 时间:
2014-11-07 13:03:36
阅读次数:
375
Files *>
Options -Indexes
Files>
IfModule mod_headers.c>
FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Cache-Control "max-age=2592000, public"
FilesMatch>
FilesMatch "\.(x...
分类:
数据库 时间:
2014-11-07 09:53:58
阅读次数:
271
## gentoo 系统源码安装 mod_gearman mod_gearman编译安装依赖条件:
gcc / g++
autoconf / automake / autoheader
libtool
libgearman (>= 0.14)
添加配置文件 /etc/portage/package.keywords/gearmand sys-c...
分类:
其他好文 时间:
2014-11-06 17:56:34
阅读次数:
159