<liclass="level1"><divclass="li"> Additional packages available on repository.linagora.org or lemonldap-ng.org</div>
</li>
<liclass="level1"><divclass="li"> Suse SDK repository is advised for building packages (yast2 → Software → Software Repositories → Add –> Extensions and modules from Registration Server)</div>
</li>
</ul>
<p>
First, make sure the exploitation system is up to date:
<divclass="notetip">You can choose to install only one component by choosing the package <code>lemonldap-ng-portal</code>, <code>lemonldap-ng-handler</code> or <code>lemonldap-ng-manager</code>.
<p>
Install the package <code>lemonldap-ng-conf</code> on all server which contains one of those packages.
<h3class="sectionedit12"id="change_default_dns_domain">Change default DNS domain</h3>
<divclass="level3">
<p>
By default, <abbrtitle="Domain Name System">DNS</abbr> domain is <code>example.com</code>. You can change it quick with a sed command. For example, we change it to <code>ow2.org</code>:
If you upgraded <abbrtitle="LemonLDAP::NG">LL::NG</abbr>, check all <ahref="upgrade.html"class="wikilink1"title="documentation:2.0:upgrade">upgrade notes</a>.
</p>
<p>
For apache configuration, you may have to remove the old symbolic link, if not done by the RPM:
The upgrade process will also have migrate old configuration files into <code>/etc/lemonldap-ng/lemonldap-ng.ini</code>. This includes the application list which is now set in the <code>applicationList</code> parameter from <code>[portal]</code> section, for example:
<spanclass="re1">applicationList</span><spanclass="sy0">=</span><spanclass="re2"><spanclass="br0">{</span> 'Menu' <spanclass="sy0">=</span>><spanclass="br0">{</span> type <spanclass="sy0">=</span>> 'category', 'Example' <spanclass="sy0">=</span>><spanclass="br0">{</span> type <spanclass="sy0">=</span>> 'category', 'test1' <spanclass="sy0">=</span>><spanclass="br0">{</span> type <spanclass="sy0">=</span>> 'application', options <spanclass="sy0">=</span>><spanclass="br0">{</span> name <spanclass="sy0">=</span>> 'Application Test 1', uri <spanclass="sy0">=</span>> 'http://test1.example.com/', description <spanclass="sy0">=</span>> 'A simple application displaying authenticated user', logo <spanclass="sy0">=</span>> 'wheels.png', display <spanclass="sy0">=</span>> 'auto', <spanclass="br0">}</span>, <spanclass="br0">}</span>,'test2' <spanclass="sy0">=</span>><spanclass="br0">{</span> type <spanclass="sy0">=</span>> 'application', options <spanclass="sy0">=</span>><spanclass="br0">{</span> name <spanclass="sy0">=</span>> 'Application Test 2', uri <spanclass="sy0">=</span>> 'http://test2.example.com/', description <spanclass="sy0">=</span>> 'The same simple application displaying authenticated user', logo <spanclass="sy0">=</span>> 'wheels.png', display <spanclass="sy0">=</span>> 'auto', <spanclass="br0">}</span>, <spanclass="br0">}</span>, <spanclass="br0">}</span>,'Administration' <spanclass="sy0">=</span>><spanclass="br0">{</span> type <spanclass="sy0">=</span>> 'category', 'manager' <spanclass="sy0">=</span>><spanclass="br0">{</span> type <spanclass="sy0">=</span>> 'application', options <spanclass="sy0">=</span>><spanclass="br0">{</span> name <spanclass="sy0">=</span>> 'WebSSO Manager', uri <spanclass="sy0">=</span>> 'http://manager.example.com/', description <spanclass="sy0">=</span>> 'Configure LemonLDAP::NG WebSSO', logo <spanclass="sy0">=</span>> 'tools.png', display <spanclass="sy0">=</span>> 'on', <spanclass="br0">}</span>, <spanclass="br0">}</span>,'sessions' <spanclass="sy0">=</span>><spanclass="br0">{</span> type <spanclass="sy0">=</span>> 'application', options <spanclass="sy0">=</span>><spanclass="br0">{</span> name <spanclass="sy0">=</span>> 'Sessions explorer', uri <spanclass="sy0">=</span>> 'http://manager.example.com/sessions.pl', description <spanclass="sy0">=</span>> 'Explore WebSSO sessions', logo <spanclass="sy0">=</span>> 'tools.png', display <spanclass="sy0">=</span>> 'on', <spanclass="br0">}</span>, <spanclass="br0">}</span>, <spanclass="br0">}</span>,'Documentation' <spanclass="sy0">=</span>><spanclass="br0">{</span> type <spanclass="sy0">=</span>> 'category', 'localdoc' <spanclass="sy0">=</span>><spanclass="br0">{</span> type <spanclass="sy0">=</span>> 'application', options <spanclass="sy0">=</span>><spanclass="br0">{</span> name <spanclass="sy0">=</span>> 'Local documentation', uri <spanclass="sy0">=</span>> 'http://manager.example.com/doc/', description <spanclass="sy0">=</span>> 'Documentation supplied with LemonLDAP::NG', logo <spanclass="sy0">=</span>> 'docs.png', display <spanclass="sy0">=</span>> 'on', <spanclass="br0">}</span>, <spanclass="br0">}</span>,'officialwebsite' <spanclass="sy0">=</span>><spanclass="br0">{</span> type <spanclass="sy0">=</span>> 'application', options <spanclass="sy0">=</span>><spanclass="br0">{</span> name <spanclass="sy0">=</span>> 'Offical Website', uri <spanclass="sy0">=</span>> 'http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/Presentation', description <spanclass="sy0">=</span>> 'Official LemonLDAP::NG Website', logo <spanclass="sy0">=</span>> 'web.png', display <spanclass="sy0">=</span>> 'on', <spanclass="br0">}</span>, <spanclass=
<divclass="noteimportant">You should now use the Manager to configure all <ahref="portalmenu.html#categories_and_applications"class="wikilink1"title="documentation:2.0:portalmenu">applications and categories</a>, and then comment or remove the <code>applicationList</code> parameter from <code>/etc/lemonldap-ng/lemonldap-ng.ini</code>.
<liclass="level1"><divclass="li"> Configuration is in /etc/lemonldap-ng</div>
</li>
<liclass="level1"><divclass="li"> LemonLDAP::NG configuration (edited by the Manager) is in /var/lib/lemonldap-ng/conf/</div>
</li>
<liclass="level1"><divclass="li"> All Perl modules are in the VENDOR perl directory </div>
</li>
<liclass="level1"><divclass="li"> All Perl scripts/pages are in /var/lib/lemonldap-ng/</div>
</li>
<liclass="level1"><divclass="li"> All static content (examples, <abbrtitle="Cascading Style Sheets">CSS</abbr>, images, etc.) is in /usr/share/lemonldap-ng/</div>
Alternatively, you can use the automatic script “create-lemonldap-packages.sh”, available in rpm-sles directory in the <ahref="download.html#getting_sources_from_svn_repository"class="wikilink1"title="download">lemonldap svn repository</a>. The automatic script can also generate intermediate dependencies. See README file in the same directory for more information.