首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

LDAP-Series-一-Chapter-1

2013-11-09 
LDAP-Series-1-Chapter-1OpenLdap | BDB(Necessary)Install: Compile SourceDownload:http://www.openldap

LDAP-Series-1-Chapter-1

OpenLdap | BDB(Necessary)

Install: Compile Source

Download:http://www.openldap.org/ | http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html (The Oracle Index -> Download(Register Required))

Source: openldap-2.4.32.tgz | db-5.3.21.tar.gz

    Install bdb
tar -xf db-5.3.21.tar.gzcd db.../build_unix../dist/configuremakemake install (finish path:/usr/local/BerkeleyDB..)Add lib path to /etc/ld.so.conf(/usr/local/BerkeleyDB.../lib), thenldconfig.OR cp /usr/local/ BerkeleyDB.4.5/include/* /usr/include | cp /usr/local/ BerkeleyDB.4.5/lib/* /usr/lib
    Install openldap
tar -xf openldap-2.4.32.tgzcd openldap..(IF NEED export CPPFLAGS="-I/usr/local/BerkeleyDB.../include" | export LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.../lib" )./configure --prefix=PREFIX =/usr/local/openldap (Necessay, or install at /usr/local)make depend
makemake test (take a so so long term | maybe can be ignore)make install
Ok, install finished.
Next you need config you slapd.conf. See next chapter

热点排行