歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> RHEL6 部署OpenLDAP

RHEL6 部署OpenLDAP

日期:2017/2/28 16:11:56   编辑:Linux教程

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

Copyright © Linux教程網 All Rights Reserved