Install OpenDJ on RHEL6

Source: Internet
Author: User
Tags forgerock
The official website "OpenDJisaextensionoftheSunMicrosystems 'vendor." The following articles will introduce the installation and configuration of ForgeRockOpenPlatform's OpenDJ, OpenIDM, and OpenAM products, and how to make

Official Website "OpenDJ is a extension of the Sun Microsystems 'initiated OpenDS project and offers a fully supported product for it. "The following articles will introduce the installation and configuration of ForgeRock Open Platform's OpenDJ, OpenIDM, and OpenAM products, and how to use them to build a basic platform for enterprise user management and access authentication.

Check the Java environment, otherwise see installing Java on RHEL6 see http://www.linuxidc.com/Linux/2015-02/112907.htm

# java -versionjava version "1.6.0_31"Java(TM) SE Runtime Environment (build 1.6.0_31-b04)Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)

Download

# wget http://download.forgerock.org/downloads/opendj/2.4.5/OpenDJ-2.4.5.zip

Install

# Cp OpenDJ-2.4.5.zip/opt # cd/opt # unzip OpenDJ-2.4.5.zip # mv OpenDJ-2.4.5 opendj # cd opendj if in Gui #. /setup here uses shell installation as an example #. /setup -- cliOpenDJ 2.4.5 The installer is initializing. Please wait... what content do you want to use as the initial superuser DN of the directory server? [Cn = Directory Manager]: Provide the password for the initial Super User: password. Enter the password again to confirm the password. Which port does the Directory Server want to use to accept connections from the LDAP client? [389]: 1389 on which port do you want the management connector to accept the connection? [4444]: Do you want to create a base DN in the server? (Yes/no) [yes]: provides the base DN for the directory data: [dc = example, dc = com]: Options for filling the database: 1) create only the base entry 2) leave the database blank 3) import data from the LDIF file 4) load the automatically generated sample data input option [1]: Do you want to enable SSL? (Yes/no) [no]: Do you want to enable StartTLS? (Yes/no) [no]: Do you want to start the server when the configuration is complete? (Yes/no) [yes]: Installation abstract =============== LDAP listener port: 389 management connector port: 4444 LDAP secure access: super User DN: cn = Directory Manager Directory data disabled: Create a new base DN dc = example, dc = com. Base DN data: only create base entry (dc = example, dc = com) What operations do you want to perform to start the server when the configuration is complete? 1) Use the preceding parameter to set the Server 2) provide the installation parameter again 3) print the equivalent non-interactive Command Line 4) cancel and exit the input option [1]: see the/tmp/opends-setup-1826847628910167129.log for detailed logs about this operation. Configuring Directory Server... complete. The base entry dc = example, dc = com... is being created. Starting directory server ................

Stop

# bin/stop-ds

Start

# bin/start-ds

Start Control Panel

# bin/control-panel

Add to service method 1 (run as root)

# bin/create-rc-script -f /etc/init.d/opendj    

Add to service method 2 (if there is no-u parameter, it will run as root ). Production environments are recommended to run in this way, but some versions of OpenDJ have bugs: OPENDJ-17

# useradd -s /sbin/nologin opendj# chown -R opendj:opendj /opt/opendj# bin/create-rc-script -f /etc/init.d/opendj -u opendj  

Check service Startup settings. 345 takes effect. OpenDJ starts automatically after Reboot.

# Chkconfig -- list | grep opendjopendj 0: Disable 1: Disable 2: Disable 3: Enable 4: Enable 5: Enable 6: Disable

Run

# service opendj { start | stop | restart }             

For more detailed installation documents, see the official documentation or install OpenDJ (GUI) on CentOS6 at http://www.linuxidc.com/linux/2015-02/112940.htm.

For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-02/112941.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.