`
suene
  • 浏览: 34979 次
社区版块
存档分类
最新评论
文章列表
停止更新好久了, 新家搬到 引用  http://sunyi.io
sudo env CPPFLAGS="-I/usr/BerkeleyDB/include" LDFLAGS="-L/usr/BerkeleyDB/lib" ./configure --prefix=/usr/openldap-2.4.34 --sysconfdir=/etc --enable-ldbm --enable-lmpasswd --enable-spasswd --enable-dbb -enable-ldap ./configure --prefix=/usr/openldap-2.4.34 --sysconfdir=/etc --enabl ...
http://www.cnblogs.com/chenjunbiao/archive/2011/01/24/1940256.html
vsftpd是Linux系统下非常常用的一款FTP程序,天缘也是事隔多年又用起这个软件,安全及性能不在话下,当然前提是要摸索着如何配置,本文汇总vsftp常用的安装和配置命令,均是入门级的,就像天缘博客一样。(注:以下命令均在终端中输入) 一、安装、重装、卸载vsftp 全新安装:apt-get install vsftpd 重新安装:apt-get --reinstall install vsftpd 卸载并清除配置文件:apt-get -purge remove vsftpd 关于如何卸载最干净问题,每种软件在安装时可能包含多个安装包模块,所以单纯的remove主程序包一般来讲肯定不干净 ...
基础部分参见: http://suene.iteye.com/blog/1829807 <authentication-manager> <authentication-provider ref="authenticationProvider" /> </authentication-manager> <beans:bean id="authenticationProvider" class="org.e.simple.authtication.LdapAndDbAuthent ...
先下载 Apache DS http://directory.apache.org/apacheds/downloads.html 然后下载 Apache Directory Studio http://directory.apache.org/studio/downloads.html 然后使用 Studio 连接 Apache DS,url指向那个机器,端口是  10389 . 下面是默认的样子. 然后右键点击 dc=example,dc=com. 可以创建 Entry ,这样就能构建自己的想要的目录结构了. 创建目录成功后,可以编辑它的属性. 比如用户 uin ,use ...
Reference : http://lengyun3566.iteye.com/blog/1358310  http://www.zytrax.com/books/ldap/ch5/index.html#step1-ldif http://krams915.blogspot.hk/2011/01/spring-security-mvc-using-embedded-ldap.html http://static.springsource.org/spring-security/site/docs/3.2.x/reference/ldap.html pom.xml,这里只写了 LDA ...
http://static.springsource.org/spring-data/data-jpa/docs/current/reference/html/ 1. Spring 配置简述. <jpa:repositories base-package="org.e.test.**.dao" entity-manager-factory-ref="entityManagerFactory" transaction-manager-ref="transactionManager" /> &l ...
public static List<String> getAllMacAddresses() { List<String> addresses = new ArrayList<String>(); StringBuffer sb = new StringBuffer(); try { Enumeration<NetworkInterface> networkInterfaces = NetworkInterface.getNetworkInterfaces(); while(networkIn ...
开篇先写结论: Hibernate4 想使用 ehcache 时做二级缓存时,不使用 EHCache 提供的:hibernate.cache.region.factory_class 请无视 EHcache 网站上的 document , 那是针对 Hibernate 3.X 的. Hibernate 4.X 有自己对其他 Cache 框架的支持. 具体修改的地方: 1.Hibernate Properties 配置. hibernate.cache.region.factory_class=org.hibernate.cache.ehcache.EhCacheRegionFactory ...
Global site tag (gtag.js) - Google Analytics