红联Linux门户
Linux帮助

RHEL6部署OpenLDAP

发布时间:2014-12-22 15:10:29来源:linux网站作者:liwanhong

安装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