m4k0 created DIRSERVER-1749:
-------------------------------
Summary: Installation of M7
Key: DIRSERVER-1749
URL: https://issues.apache.org/jira/browse/DIRSERVER-1749
Project: Directory ApacheDS
Issue Type: Test
Affects Versions: 2.0.0-M7
Environment: Ubuntu / Centos
Reporter: m4k0
Priority: Trivial
==downloads==
* [http://directory.apache.org/apacheds/2.0/downloads.html|Downloads]
==install==
<pre>
chmod +x apacheds-2.0.0-M7-amd64.deb
</pre>
<pre>
dpkg -i apacheds-2.0.0-M7-amd64.deb
</pre>
==configuration==
===initial===
{{Warning| Version 2.0 left configuration by xml for a ldif configuration<br />
Don't change the log level to debug otherwise the wrapper crash
}}
* Revelant files
<pre>
moteur : /opt/apacheds-2.0.0-M7/
instance : /var/lib/apacheds-2.0.0-M7/
init : /etc/init.d/
</pre>
* Ports conf
<pre>
vim /var/lib/apacheds-2.0.0-M7/default/conf/config.ldif
</pre>
<pre>
dn:
ads-transportid=ldap,ou=transports,ads-serverId=ldapServer,ou=servers,ads-directoryServiceId=default,ou=config
dn:
ads-transportid=ldap,ou=transports,ads-serverId=ldapServer,ou=servers,ads-directoryServiceId=default,ou=config
</pre>
==ajout partition==
{{Warning| Version 2.0 need the new version of Studio
http://directory.apache.org/studio/apache-directory-studio-20.html
}}
* Open Studio and add a server (ip port)
<pre>
uid=admin,ou=system
</pre>
<pre>
default
</pre>
* Right click on the server > Open configuration > Partition > Add
* Restart the server
{{Warning| Bug in Studio on attribut krbprincipalname need to be changed to
krb5principalname <br />
https://issues.apache.org/jira/browse/DIRSERVER-1736
<pre>
ERR_04269 ATTRIBUTE_TYPE for OID krbprincipalname does not exist!
</pre>
}}
{{Info| thanks to Javier Estrada for infos below}}
<pre>
1. In Apache Directory Studio create a server and run it.
2. Right-click on the server and select Open Configuration.
3. Select Partitions on the bottom tab, then click on the Add button.
4. Rename the partition on the right-hand side. (e.g., ID: myPartition,
Suffix: dc=mypartition,dc=com)
5. Save the config.ldif file.
5. Restart the server. This will reload the config.ldif for the server and
create the partition.
6. On the LDAP Browser, select the Root DSE node.
7. Right-click on the Root DSE node and select New, then New Context Entry.
8. On the dialog box, select the [Use existing entry as template] option and
then click on
the [Browse...] button
9. On the Select DN dialog box that appears, select the ou=system and then
click OK.
10. Now back on the New Context Entry dialog, select the [Next] button.
11. On the next dialog that offers you Object Classes, just click [Next] again.
THIS IS THE IMPORTANT PART:
12. Enter the DN that corresponds to your partition (dc=mypartition,dc=com),
then click [Next]
13. Fill the ou attribute (e.g., "mypartition") that appears in the next dialog
and then click
[Finish].
</pre>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira