Standard C compiler (required)
Cyrus SASL 2.1.21+ (recommended)
OpenSSL 0.9.7+ (recommended)
Reentrant POSIX REGEX software (required)
Oracle Berkeley DB 4.4 - 4.8 or 5.0 - 5.1
2.Download
OpenLDAP :
Offical Site:http://www.openldap.org/
Documentation Download Page:http://www.openldap.org/doc/
Source Code Download Page:http://www.openldap.org/software/download/
$ wget ftp://ftp.dti.ad.jp/pub/net/OpenLDAP/openldap-release/openldap-2.4.33.tgz
SSL/TLS:
Offical Site:http://www.openssl.org/
Documentation Download Page: http://www.openssl.org/docs/
Source Code Download Page:ftp://ftp.openssl.org/source/
$ wget ftp://ftp.openssl.org/source/openssl-1.0.1c.tar.gz
Berkeley DB:
Offical Site:http://www.oracle.com/us/products/database/berkeley-db/overview/index.html
Source Code Download Page:http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html?ssSourceSiteId=ocomen
SASL:
Source Code Download Page:http://ftp.andrew.cmu.edu/pub/cyrus-mail/
Direct Download Link :ftp://ftp.cyrusimap.org/cyrus-imapd/cyrus-imapd-2.4.16.tar.gz
$ wget http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.25.tar.gz
2.Insatll
SSL/TLS:
$ tar zxvf openssl-1.0.1c.tar.gz
$ cd openssl-1.0.1c
$ ./config shared --openssldir=/usr/local
$ make
$ su -c "make install"
$ tar zxvf db-5.0.32.tar.gz
$ cd db-5.0.32/build_unix/
$ ../dist/configure --prefix=/usr/local
$ make
$ su -c "make install"
$ \ls -l /usr/local/lib/libdb-*
-rw-r--r--. 1 max max 2653808 Jan 15 11:57 /usr/local/lib/libdb-5.0.a
-rw-rw-r--. 1 max max 933 Jan 15 11:56 /usr/local/lib/libdb-5.0.la
-rwxrwxr-x. 1 max max 1704381 Jan 15 11:56 /usr/local/lib/libdb-5.0.so
lrwxrwxrwx. 1 root root 12 Jan 15 11:57 /usr/local/lib/libdb-5.so -> libdb-5.0.so
SASL:
$ tar zxvf cyrus-sasl-2.1.25.tar.gz
$ cd cyrus-sasl-2.1.25/
$ ./configure
$ make
$ su -c "make install"su -c "ln -s /usr/local/lib/sasl2/ /usr/lib/sasl2"
OpenLDAP :
$ tar zxvf openldap-2.4.33.tgz
$ cd openldap-2.4.33.tgz
$./configure --enable-wrappers
$ make
$ su -c "make install"su -c "ln -s /usr/local/lib/sasl2/ /usr/lib/sasl2"
沒有留言:
張貼留言