Elasticsearch扩展性非常好,有很多官方和第三方开发的插件,下面以分词、同步、数据传输、脚本支持、站点、其它这几个类别进行划分。 分词插件 Combo Analysis Plugin (作者 Olivier Favre, Yakaz) 简介:组合分词器,可以把多个分词器的结果组合在一起。 ...
分类:
其他好文 时间:
2017-08-15 12:41:51
阅读次数:
165
首先保证linux正常联网 yum install openldap-servers -y 拷贝配置文件 cd /usr/share/openldap-servers/ cp slapd.conf.obsolete /etc/openldap/slapd.conf 创建LDAP管理员密码 slapp ...
分类:
系统相关 时间:
2017-08-13 16:55:30
阅读次数:
285
package cn.richinfo.ldap; import java.util.Iterator; import com.novell.ldap.LDAPAttribute; import com.novell.ldap.LDAPAttributeSet; import com.novell.... ...
分类:
其他好文 时间:
2017-08-08 19:53:12
阅读次数:
389
1. 将附件解压到服务器/usr/local/ldap目录下 2. 进入/usr/local/ldap/libdbi目录,安装libdbi依赖库,如果存在老版本,请rpm -e卸载或rpm -Uvh升级老版本 rpm -ivh libdbi-0.8.3-4.el6.x86_64.rpm rpm -i ...
分类:
数据库 时间:
2017-08-08 19:47:50
阅读次数:
251
环境:centos6.5x64源码包:postfix-3.2.2.tar.gzwebmin.1.840.tar.gz其他是RPM安装安装前准备:0. 时间同步 yuminstallntp ntpdatentp.api.bz hwclock-w 1.创建用户:groupadd-g2525postfix-s/sbin/nologin (postfix组)useradd -g2525-u2525postfix-M-s/sbin/nologin(postfix..
分类:
其他好文 时间:
2017-08-08 19:43:27
阅读次数:
219
1.程序宏观结构图 2.创建索引过程 3.代码实现 创建索引库: 1) 创建JavaBean对象 2) 创建Docment对象 3) 将JavaBean对象所有的属性值,均放到Document对象中去,属性名可以和JavaBean相同或不同 4) 创建IndexWriter对象 5) 将Docume ...
分类:
Web程序 时间:
2017-08-05 17:52:19
阅读次数:
218
转自:https://www.weechat.org/files/doc/stable/weechat_user.en.html#irc_sasl_authentication SASL authentication WeeChat supports SASL authentication, usi ...
分类:
其他好文 时间:
2017-08-05 17:51:14
阅读次数:
145
本次加入的密码策略,大致上有以下内容:密码是长度至少为8位密码至少包含数字,大写字母,小写字母,特殊字符5次内使用过的密码不能再次使用连续输入错误超过5次,密码将锁定5分钟实现过程:实现上述密码策略主要用到两个模块,一个是自带的模块:ppolicy,另一个外部扩展模块..
分类:
其他好文 时间:
2017-08-05 10:00:55
阅读次数:
667
1.右击父工程新建maven模块 2.填写名字 3.选择打包方式为war 4.写web层代码与配置文件(添加web.xml),错误是缺少service层包 少了一个struts配置 5.导入service的jar包 6.修改web.xml 注意:对于低版本的spring不支持 "classpath* ...
分类:
其他好文 时间:
2017-08-04 19:25:31
阅读次数:
129
Stringhost="www.java2s.com";
Stringfile="/index.html";
String[]schemes={"http","https","ftp","mailto","telnet","file","ldap","gopher",
"jdbc","rmi","jndi","jar","doc","netdoc","nfs","verbatim","finger","daytime",
"systemresource"};
for(inti=0;i<schemes..
分类:
编程语言 时间:
2017-08-04 16:10:29
阅读次数:
167