RHEL6 部署OpenLDAP

字体大小: 中小 标准 ->行高大小: 标准

安装gcc、make
yum -y install gcc make
cd db-4.8.30/build_unix/
 ../dist/configure
make;make install

先安装openssl、openssl-devel
 cp -a /usr/local/BerkeleyDB.4.8/include/* /usr/include/
 cp -a /usr/local/BerkeleyDB.4.8/lib/* /usr/lib

./configure --prefix=/usr/local/openldap --with-tls=openssl

"soelim: command not found" error.解决方法(执行./configure后,编译之前修改):
Edir Makefile => Remove "doc" in SUBDIRS= (line# 267).

make depend

make;make install

echo "/usr/local/openldap/lib" >> /etc/ld.so.conf

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/59888.html