虽然网上有很多教程,但是我在这里进行简单对我用到的总结一下。加载Rewrite模块:在conf目录下httpd.conf中找到LoadModule
rewrite_module modules/mod_rewrite.so这句,去掉前边的注释符号“#”,或添加这句。.htacess文件,开头内容如下...
分类:
数据库 时间:
2014-04-30 02:25:42
阅读次数:
591
如果Hbase的时间没有同步,启动主节点会起来,子节点的regionServer就不会起来。错误日志如下:aused by:
org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(org.apache.hadoop.hbase.ClockOutO...
分类:
其他好文 时间:
2014-04-30 00:50:16
阅读次数:
565
ubuntu server版可直接一键安装lamp环境apt-get install
lamp-server^根据提示输入所需设置密码即可,其配置文件跟编译安装的apached等区别很大apache配置文件所在目录:/etc/apache2主要配置文件:apache2.conf、sites-avai...
分类:
其他好文 时间:
2014-04-30 00:26:41
阅读次数:
477
参考这个里边对API的调用http://samza.incubator.apache.org/learn/documentation/0.7.0/container/metrics.html参考这里列出的可用配置http://samza.incubator.apache.org/learn/docu...
分类:
其他好文 时间:
2014-04-29 23:50:43
阅读次数:
843
/** * Copyright 2002-2006,2009 The Apache Software
Foundation. * * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use ....
分类:
其他好文 时间:
2014-04-29 21:16:42
阅读次数:
532
1、安装httpd软件包:Yum install
httpd2、启动apache服务:[root@redhat Desktop]# /etc/init.d/httpd startStarting httpd:
[ OK ]3、安装mod-ssl软件包[root@redhat Desktop]# yu...
分类:
其他好文 时间:
2014-04-29 20:50:11
阅读次数:
431
package org.apache.struts2.dispatcher;import
com.opensymphony.xwork2.ActionInvocation;import
com.opensymphony.xwork2.Result;import com.opensymphony.xw...
分类:
其他好文 时间:
2014-04-29 18:55:17
阅读次数:
415
首先了解http和https: HTTPS(Secure Hypertext Transfer
Protocol)安全超文本传输协议。 HTTPS和HTTP的区别: http是超文本传输协议,信息是明文传输,https 则是具有安全性的ssl加密传输协议
http和https使用的是...
分类:
其他好文 时间:
2014-04-28 02:48:33
阅读次数:
496
系统是ubuntu12.04一、安装apachesudo apt-get install
apache启动:sudo apachectl start (开机默认启动的)重启:sudo apachectl restart关闭:sudo
apachectl stop安装之后在浏览器中访问127.0.0....
分类:
系统相关 时间:
2014-04-27 23:57:43
阅读次数:
742
1、 solr基础因为 Solr 包装并扩展了
Lucene,所以它们使用很多相同的术语。更重要的是,Solr 创建的索引与 Lucene 搜索引擎库完全兼容。通过对 Solr
进行适当的配置,某些情况下可能需要进行编码,Solr 可以阅读和使用构建到其他 Lucene 应用程序中的索引。在 Sol...
分类:
其他好文 时间:
2014-04-27 21:38:00
阅读次数:
607