- 博客(10)
- 问答 (2)
- 收藏
- 关注
原创 open ldap
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-db...
2013-04-15 13:15:16 301
原创 linux 安装 mysql
http://www.cnblogs.com/chenjunbiao/archive/2011/01/24/1940256.html
2013-04-12 15:36:31 73
原创 Ubuntu 安装 ftp [转]
vsftpd是Linux系统下非常常用的一款FTP程序,天缘也是事隔多年又用起这个软件,安全及性能不在话下,当然前提是要摸索着如何配置,本文汇总vsftp常用的安装和配置命令,均是入门级的,就像天缘博客一样。(注:以下命令均在终端中输入)[b]一、安装、重装、卸载vsftp[/b]全新安装:apt-get install vsftpd重新安装:apt-get --reinsta...
2013-03-19 11:49:07 93
原创 Spring Security , authenticate use LDAP& DataBase.
基础部分参见:http://suene.iteye.com/blog/1829807[code="xml"] [/code][code="java"]/** 先根据属性 {@link #authenticateByLdap }, 是否使用 LDAP 验证 用户信息. 否则使用数据库查询验证用户....
2013-03-18 17:32:29 137
原创 搭建 Apache Directory Server
先下载 Apache DShttp://directory.apache.org/apacheds/downloads.html然后下载 Apache Directory Studiohttp://directory.apache.org/studio/downloads.html然后使用 Studio 连接 Apache DS,url指向那个机器,端口是 10389 ....
2013-03-18 15:24:00 411
原创 Spring Security Embadded LDAP
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...
2013-03-15 09:28:39 98
Spring Data JPA,基础学习笔记.
http://static.springsource.org/spring-data/data-jpa/docs/current/reference/html/[size=x-large]1. Spring 配置简述.[/size][code="java"] org.e.test.*...
2012-12-28 12:13:35 122
Java 获取本机网卡地址.
[code="java"] public static List getAllMacAddresses() { List addresses = new ArrayList(); StringBuffer sb = new StringBuffer(); try { Enumeration networkInterfaces = NetworkInter...
2012-12-26 17:06:59 135
Hibernate4 + ehcache.
开篇先写结论:Hibernate4 想使用 ehcache 时做二级缓存时,不使用 EHCache 提供的:[b]hibernate.cache.region.factory_class[/b]请无视 EHcache 网站上的 document , 那是针对 Hibernate 3.X 的.Hibernate 4.X 有自己对其他 Cache 框架的支持.具体修改的地方:...
2012-12-24 19:40:20 86
空空如也
问个数学问题,一个时间复杂度的式子.
2012-11-05
一个菜单CSS,请问如何实现的?
2012-11-01
TA创建的收藏夹 TA关注的收藏夹
TA关注的人