📄 install.sdf
字号:
# $OpenLDAP: pkg/openldap-guide/release/install.sdf,v 1.21.2.2 2007/01/02 21:43:44 kurt Exp $# Copyright 1999-2007 The OpenLDAP Foundation, All Rights Reserved.# COPYING RESTRICTIONS APPLY, see COPYRIGHT.P1: Making and Installing the OpenLDAP DistributionThis file provides brief instructions on how to build and installOpenLDAP on UNIX (and UNIX-{{like}}) systems. More detailedinformation and instructions can be found in{{The OpenLDAP Administrator's Guide}}(available from {{URL:http://www.openldap.org/doc/}}).It is recommended that you read, or at least skim through, ALL ofthe instructions in this file before attempting to build thesoftware.It is also recommended you reviewthe {{Frequently Asked Questions}} ({{URL:http://www.openldap.org/faq/}})pages, in particular the{{Installation section}} ({{URL:http://www.openldap.org/faq/index.cgi?file=8}})and{{Platform Hints}} ({{URL:http://www.openldap.org/faq/index.cgi?file=9}})should be examined.P2: Making and Installing the OpenLDAP Distribution^ Unpack the distribution and change directory:E: % tar xfz openldap-VERSION.tgzE: % cd openldap-VERSION.(replacing {{EX:VERSION}} with the appropriate version string). Ifyou are reading this file, you probably have already done this!+ Type:E: % ./configure --help.to list available configuration options..The {{EX:configure}} script uses environment variables fordetermining compiler/linker options including:> Variable Description Example> CC C compiler gcc> CFLAGS C flags -O -g> CPPFLAGS cpp flags -I/path/include -D__FOO__=42> LDFLAGS ld flags -L/usr/local/lib> LIBS libraries -llib> PATH command path /usr/local/bin:/usr/bin:/bin+ Configure the build systemE: % [env settings] ./configure [options].If all goes well, the {{EX:configure}} script will automatically detectthe appropriate settings. If the {{EX:configure}} script fails, you shouldread the {{FILE:config.log}} file that it generated to see what it was tryingto do and exactly what failed. You may need to specify additionaloptions and/or environment variables besides those listed above toobtain desired results, depending on your operating system. The{{Platform Hints}} section of the {{FAQ}} provides help for operating systemrelated problems.+ Build dependenciesE: % make depend+ Build the systemE: % make.If all goes well, the system will build as configured. If not,return to step 3 after reviewing the configuration settings. Youmay want to consult the {{Platform Hints}} subsection of the {{FAQ}}if you have not done so already.+ Test the standalone system.This step requires the standalone LDAP server, {{slapd}}(8),with {{HDB}}, {{BDB}}, and/or {{LDBM}} support.E: % make test.If all goes well, the system has been built as configured. If not,return to step 4 after reviewing your configuration settings. Youmay want to consult the {{Installation}} section of the {{FAQ}}if you have not done so already.+ Install the binaries and man pages. You may need to become the{{super-user}} (e.g. {{EX:root}}) to do this (depending on where youare installing things):E: % su root -c 'make install'+ That's it!See the {{OpenLDAP Administrator's Guide}} and the manual pagesfor the individual applications for configuration and use information.You may also want to edit the configuration files used by thevarious components. These configuration files are located inthe OpenLDAP configuration directory (normally{{FILE:/usr/local/etc/openldap}}).> ldap.conf client defaults> slapd.conf Standalone LDAP daemon> schema/*.schema Schema Definitions
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -