自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 问答 (2)
  • 收藏
  • 关注

原创 离开了

停止更新好久了, 新家搬到 [quote] http://sunyi.io [/quote]

2015-11-02 13:50:20 107

原创 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 384

原创 linux 安装 mysql

http://www.cnblogs.com/chenjunbiao/archive/2011/01/24/1940256.html

2013-04-12 15:36:31 120

原创 Ubuntu 安装 ftp [转]

vsftpd是Linux系统下非常常用的一款FTP程序,天缘也是事隔多年又用起这个软件,安全及性能不在话下,当然前提是要摸索着如何配置,本文汇总vsftp常用的安装和配置命令,均是入门级的,就像天缘博客一样。(注:以下命令均在终端中输入) [b]一、安装、重装、卸载vsftp[/b] 全新安装:apt-get install vsftpd 重新安装:apt-get --reinsta...

2013-03-19 11:49:07 125

原创 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 182

原创 搭建 Apache Directory Server

先下载 Apache DS http://directory.apache.org/apacheds/downloads.html 然后下载 Apache Directory Studio http://directory.apache.org/studio/downloads.html 然后使用 Studio 连接 Apache DS,url指向那个机器,端口是 10389 ....

2013-03-18 15:24:00 480

原创 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 130

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 151

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 174

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 118

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除