{"id":284,"date":"2011-07-11T11:44:37","date_gmt":"2011-07-11T09:44:37","guid":{"rendered":""},"modified":"2015-08-17T18:16:05","modified_gmt":"2015-08-17T16:16:05","slug":"instalacja","status":"publish","type":"post","link":"https:\/\/drfugazi.eu.org\/en\/instalacja\/","title":{"rendered":"Instalacja OpenDJ"},"content":{"rendered":"<p class=\"qtranxs-available-languages-message qtranxs-available-languages-message-en\">Sorry, this entry is only available in <a href=\"https:\/\/drfugazi.eu.org\/pl\/wp-json\/wp\/v2\/posts\/284\" class=\"qtranxs-available-language-link qtranxs-available-language-link-pl\" title=\"Polski\">Polish<\/a>. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.<\/p><p><\/p>\n<p>Pobieramy i rozpakowujemy najnowsz\u0105 wersj\u0119 OpenDJ ze strony <a href=\"http:\/\/forgerock.com\/downloads-opendj.html\">ForgeRock.com<\/a>.<br \/>\nPo rozpakowaniu znajdziemy katalog <code>OpenDJ-ver<\/code>, gdzie <ver>jest numerem wersji oczywi\u015bcie, ja u\u017cyj\u0119 najnowszej na chwil\u0119 obecn\u0105 czyli 2.4.3<\/p>\n<pre><code>\r\n# cd \/data\/var\r\n# unzip OpenDJ-2.4.3.zip\r\n# cd OpenDJ-2.4.3\r\n<\/code><\/pre>\n<p>Uruchamiamy instalacj\u0119:<\/p>\n<pre><code>\r\n# .\/setup --cli\r\n\r\nOpenDJ 2.4.3\r\nPlease wait while the setup program initializes...\r\n\r\nWhat would you like to use as the initial root user DN for the Directory\r\nServer? [cn=Directory Manager]: cn=dirmgr\r\nPlease provide the password to use for the initial root user: \r\nPlease re-enter the password for confirmation: \r\n\r\nOn which port would you like the Directory Server to accept connections from\r\nLDAP clients? [389]: \r\n\r\nOn which port would you like the Administration Connector to accept\r\nconnections? [4444]: \r\nDo you want to create base DNs in the server? (yes \/ no) [yes]: \r\n\r\nProvide the base DN for the directory data: [dc=example,dc=com]: dc=domain,dc=tld\r\nOptions for populating the database:\r\n\r\n    1)  Only create the base entry\r\n    2)  Leave the database empty\r\n    3)  Import data from an LDIF file\r\n    4)  Load automatically-generated sample data\r\n\r\nEnter choice [1]: \r\n\r\nDo you want to enable SSL? (yes \/ no) [no]: \r\n\r\nDo you want to enable Start TLS? (yes \/ no) [no]: yes\r\nCertificate server options:\r\n\r\n    1)  Generate self-signed certificate (recommended for testing purposes\r\n        only)\r\n    2)  Use an existing certificate located on a Java Key Store (JKS)\r\n    3)  Use an existing certificate located on a JCEKS key store\r\n    4)  Use an existing certificate located on a PKCS#12 key store\r\n    5)  Use an existing certificate on a PKCS#11 token\r\n\r\nEnter choice [1]: \r\nProvide the fully-qualified host name or IP address that will be used to\r\ngenerate the self-signed certificate [ldapdj1]: \r\n\r\nDo you want to start the server when the configuration is completed? (yes \/\r\nno) [yes]: \r\n\r\n\r\nSetup Summary\r\n=============\r\nLDAP Listener Port:            389\r\nAdministration Connector Port: 4444\r\nLDAP Secure Access:            Enable StartTLS\r\n                               Create a new Self-Signed Certificate\r\nRoot User DN:                  cn=dirmgr\r\nDirectory Data:                Create New Base DN dc=domain,dc=tld.\r\nBase DN Data: Only Create Base Entry (dc=domain,dc=tld)\r\n\r\nStart Server when the configuration is completed\r\n\r\n\r\nWhat would you like to do?\r\n\r\n    1)  Set up the server with the parameters above\r\n    2)  Provide the setup parameters again\r\n    3)  Print equivalent non-interactive command-line\r\n    4)  Cancel and exit\r\n\r\nEnter choice [1]: \r\n\r\nSee \/var\/tmp\/opends-setup-2524007990788292027.log for a detailed log of this operation.\r\n\r\nConfiguring Directory Server ..... \r\n\r\nConfiguring Certificates ..... Done.\r\nCreating Base Entry dc=domain,dc=tld ..... Done.\r\nStarting Directory Server ............. Done.\r\n\r\nTo see basic server configuration status and configuration you can launch \/data\/var\/OpenDJ-2.4.3\/bin\/status\r\n<\/code><\/pre>\n<p>Sprawd\u017amy wi\u0119c status, czy serwer jest uruchomiony:<\/p>\n<pre><code>\r\n\r\n# \/data\/var\/OpenDJ-2.4.3\/bin\/status\r\n\r\n\r\n>>>> Specify OpenDS LDAP connection parameters\r\n\r\nAdministrator user bind DN [cn=Directory Manager]: cn=dirmgr\r\n\r\nPassword for user 'cn=dirmgr': \r\n\r\n          --- Server Status ---\r\nServer Run Status:        Started\r\nOpen Connections:         1\r\n\r\n          --- Server Details ---\r\nHost Name:                ldapdj1\r\nAdministrative Users:     cn=dirmgr\r\nInstallation Path:        \/data\/var\/OpenDJ-2.4.3\r\nVersion:                  OpenDJ 2.4.3\r\nJava Version:             1.6.0_25\r\nAdministration Connector: Port 4444 (LDAPS)\r\n\r\n          --- Connection Handlers ---\r\nAddress:Port : Protocol               : State\r\n-------------:------------------------:---------\r\n--           : LDIF                   : Disabled\r\n0.0.0.0:161  : SNMP                   : Disabled\r\n0.0.0.0:389  : LDAP (allows StartTLS) : Enabled\r\n0.0.0.0:636  : LDAPS                  : Disabled\r\n0.0.0.0:1689 : JMX                    : Disabled\r\n\r\n          --- Data Sources ---\r\nBase DN:     dc=domain,dc=tld\r\nBackend ID:  userRoot\r\nEntries:     1\r\nReplication: Disabled\r\n<\/code><\/pre>\n<p>Ze statusu wynika, \u017ce serwer dzia\u0142a, s\u0142ucha na porcie 389 i posiada jeden wpis. Replikacja nie jest skonfigurowana.<\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Pobieramy i rozpakowujemy najnowsz\u0105 wersj\u0119 OpenDJ ze strony <a href=\"http:\/\/forgerock.com\/downloads-opendj.html\">ForgeRock.com<\/a>.<br \/>\nPo rozpakowaniu znajdziemy katalog <code>OpenDJ-ver<\/code>, gdzie <ver>jest numerem wersji oczywi\u015bcie, ja u\u017cyj\u0119 najnowszej na chwil\u0119 obecn\u0105 czyli 2.4.3<\/p>\n<pre><code>\r\n# cd \/data\/var\r\n# unzip OpenDJ-2.4.3.zip\r\n# cd OpenDJ-2.4.3\r\n<\/code><\/pre>\n<p>Uruchamiamy instalacj\u0119:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[115],"tags":[6,88],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7M9Tz-4A","jetpack-related-posts":[{"id":337,"url":"https:\/\/drfugazi.eu.org\/en\/dodawanie-schematow-opendj\/","url_meta":{"origin":284,"position":0},"title":"Dodawanie schemat\u00f3w do OpenDJ","author":"drfugazi","date":"Tuesday July 12th, 2011","format":false,"excerpt":"Sorry, this entry is only available in Polish. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.OpenDJ podobnie jak inne us\u0142ugi katalogowe pozwala na rozszerzanie funkcjonalno\u015bci katalogu poprzez dodawanie schemat\u00f3w. Istnieje szereg gotowych schemat\u00f3w,\u2026","rel":"","context":"In &quot;LDAP&quot;","block_context":{"text":"LDAP","link":"https:\/\/drfugazi.eu.org\/en\/category\/ldap\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":285,"url":"https:\/\/drfugazi.eu.org\/en\/konfiguracja\/","url_meta":{"origin":284,"position":1},"title":"Konfiguracja OpenDJ","author":"drfugazi","date":"Monday July 11th, 2011","format":false,"excerpt":"Po rozpakowaniu i instalacji OpenDJ jest wst\u0119pnie skonfigurowany. W moim przypadku posiada te\u017c wpis bazowy (base entry), tutaj niech to b\u0119dzie dc=domain,dc=tld. Je\u015bli kto\u015b dopiero buduje drzewo LDAP, to pewnie teraz doda sobie standardowe ou=People i tam b\u0119dzie umieszcza\u0142 u\u017cytkownik\u00f3w za pomoc\u0105 narz\u0119dzi do zarz\u0105dzania katalogiem LDAP. Zwykle jednak jest\u2026","rel":"","context":"In &quot;LDAP&quot;","block_context":{"text":"LDAP","link":"https:\/\/drfugazi.eu.org\/en\/category\/ldap\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":338,"url":"https:\/\/drfugazi.eu.org\/en\/dodawanie-indeksow-opendj\/","url_meta":{"origin":284,"position":2},"title":"Dodawanie indeks\u00f3w do OpenDJ","author":"drfugazi","date":"Tuesday July 12th, 2011","format":false,"excerpt":"Sorry, this entry is only available in Polish. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.Indeksy to bardzo wa\u017cna rzecz w katalogu LDAP. Je\u015bli s\u0105 problemy wydajno\u015bciowe z katalogiem i zacznie si\u0119 szuka\u0107\u2026","rel":"","context":"In &quot;LDAP&quot;","block_context":{"text":"LDAP","link":"https:\/\/drfugazi.eu.org\/en\/category\/ldap\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":340,"url":"https:\/\/drfugazi.eu.org\/en\/konfiguracja-replikacji-multi-master-opendj\/","url_meta":{"origin":284,"position":3},"title":"(Polski) Konfiguracja replikacji Multi-Master w OpenDJ","author":"drfugazi","date":"Friday July 22nd, 2011","format":false,"excerpt":"Sorry, this entry is only available in Polish. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.G\u0142\u00f3wnym powodem mojej migracji us\u0142ug katalogowych z OpenLDAP do OpenDJ jest w\u0142asnie mechanizm replikacji, a raczej jego niezbyt\u2026","rel":"","context":"In &quot;LDAP&quot;","block_context":{"text":"LDAP","link":"https:\/\/drfugazi.eu.org\/en\/category\/ldap\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":283,"url":"https:\/\/drfugazi.eu.org\/en\/opendj\/","url_meta":{"origin":284,"position":4},"title":"OpenDJ","author":"drfugazi","date":"Monday July 11th, 2011","format":false,"excerpt":"OpenDJ jest nowy serwerem us\u0142ug katalogowych zgodnym z LDAPv3, rozwijanym na platformie Java, dostarczaj\u0105cym wysoko wydajnego, niezawodnego i bezpiecznego magazynu to\u017csamo\u015bci. \u0141atwy proces instalacyjny w po\u0142\u0105czeniu z si\u0142\u0105 platformy Java powoduje, \u017ce OpenDJ jest jednym z najprostszych do zarz\u0105dzania i najszybszych do uruchomienia serwerem us\u0142ug katalogowych. OpenDJ jest rozszerzeniem projektu\u2026","rel":"","context":"In &quot;LDAP&quot;","block_context":{"text":"LDAP","link":"https:\/\/drfugazi.eu.org\/en\/category\/ldap\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":354,"url":"https:\/\/drfugazi.eu.org\/en\/opendj-online-schema-modification\/","url_meta":{"origin":284,"position":5},"title":"OpenDJ &#8211; online schema modification","author":"drfugazi","date":"Tuesday June 19th, 2012","format":false,"excerpt":"I wrote before about schema conversion to LDIF format and how to add schemas offline by uploading them to config\/schema directory in OpenDJ. Now I will describe how to extend schema online, without restart LDAP server. Most if not all LDAP servers now have possibility to modify configuration and schemas\u2026","rel":"","context":"In &quot;LDAP&quot;","block_context":{"text":"LDAP","link":"https:\/\/drfugazi.eu.org\/en\/category\/ldap\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/284"}],"collection":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/comments?post=284"}],"version-history":[{"count":0,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/284\/revisions"}],"wp:attachment":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/media?parent=284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/categories?post=284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/tags?post=284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}