一、 说明
介绍:
opendj是一个ldap服务器
用于存储openam的配置和用户存储信息
准备工具:
OpenDJ-3.0.0.zip
二、 安装步骤
a) Linux安装过程
1. 将zip包解压至任意所要安装的盘符位置;
2. 运行oepndj目录下的setup
OpenDJ version
Please wait while the setup program initializes...
3. 输入opendj的管理员用户名,直接回车默认cn=Directory Manager
What would you like to use as the initial root user DN for the Directory
Server? [cn=Directory Manager]:
4. 输入密码
Please provide the password to use for the initial root user:
5. 再次输入密码
Please re-enter the password for confirmation:
6. LDAP侦听器端口,直接回车默认
On which port would you like the Directory Server to accept connections from
LDAP clients? [1389]:
7. 管理连接器端口,直接回车默认
On which port would you like the Administration Connector to accept
connections? [4444]:
8. 是否创建基条目
Do you want to create base DNs in the server? (yes / no) [yes]:
9. 输入输入dc=g4b,dc=cn,回车
Provide the base DN for the directory data: [dc=example,dc=com]:
10. 输入1,回车
Options for populating the database:
Only create the base entry
Leave the database empty
Import data from an LDIF file
Load automatically-generated sample data
Enter choice [1]:
Please specify the path to the LDIF file containing the data to import:
/path/to/Example.ldif
11. 接下来的步骤一直回车默认到完成安装
Do you want to enable SSL? (yes / no) [no]:
Do you want to enable Start TLS? (yes / no) [no]:
Do you want to start the server when the configuration is completed? (yes /no) [yes]:
b) windows安装过程
1. 将zip包解压至任意所要安装的盘符位置;
2. 执行解压后OpenDJ所在目录下的setup.bat文件;
3. 根据跳出的窗体提示,配置服务器;
(1) 配置超级用户cn和密码
(2) 选择当前DJ服务器为独立服务器
(3) 创建LDAP的根目录DN
(4) 图示:接下来一路”下一步”至”完成”
(5) 点击”启动控制面板”