一、 說明
介紹:
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) 點擊”啟動控制面板”