<h1class="sectionedit1"id="installation_from_the_tarball">Installation from the tarball</h1>
<divclass="level1">
</div>
<!-- EDIT1 SECTION "Installation from the tarball" [1-45] -->
<h2class="sectionedit2"id="get_the_tarball">Get the tarball</h2>
<divclass="level2">
<p>
Get the tarball from <ahref="download.html"class="wikilink1"title="download">download page</a>. You can also find on this page the SVN tarball if you want to test latest features.
</p>
<divclass="noteimportant">The content of the SVN tarball is not the same as the official tarball. Please see the next chapter to learn how build an official tarball from SVN files.
</div>
</div>
<!-- EDIT2 SECTION "Get the tarball" [46-388] -->
<h2class="sectionedit3"id="build_the_tarball_from_svn">Build the tarball from SVN</h2>
<divclass="level2">
<p>
Either checkout or export the <ahref="http://forge.ow2.org/plugins/scmsvn/index.php?group_id=274"class="urlextern"title="http://forge.ow2.org/plugins/scmsvn/index.php?group_id=274"rel="nofollow">SVN repository</a>, or extract the SVN tarball to get the SVN files on your disk.
</p>
<p>
Then go to trunk directory:
</p>
<preclass="code">cd trunk</pre>
<p>
And run the “dist” target:
</p>
<preclass="code">make dist</pre>
<p>
The generated tarball is in the current directory.
</p>
</div>
<!-- EDIT3 SECTION "Build the tarball from SVN" [389-758] -->
First check and install the <ahref="prereq.html"class="wikilink1"title="documentation:2.0:prereq">prerequisites</a>.
</p>
<p>
For full install:
</p>
<preclass="code">cd lemonldap-ng-*
make
make configure
make test
sudo make install PROD=yes</pre>
<divclass="noteclassic"><code>PROD=yes</code> makes web interface use minified versions of <abbrtitle="Cascading Style Sheets">CSS</abbr> and JS files.
</div>
<p>
You can modify location of default storage configuration file in configure target:
</p>
<preclass="code">sudo make configure STORAGECONFFILE=/etc/lemonldap-ng/lemonldap-ng.ini</pre>
<liclass="level1"><divclass="li"><strong>APACHEUSER</strong>: user running Apache</div>
</li>
<liclass="level1"><divclass="li"><strong>APACHEGROUP</strong>: group running Apache</div>
</li>
<liclass="level1"><divclass="li"><strong>DNSDOMAIN</strong>: Main <abbrtitle="Domain Name System">DNS</abbr> domain (default: example.com) </div>
</li>
<liclass="level1"><divclass="li"><strong>APACHEVERSION</strong>: Apache major version (default: 2)</div>
</li>
<liclass="level1"><divclass="li"><strong>VHOSTLISTEN</strong>: how listen parameter is configured for virtual hosts in Apache (default: *:80)</div>
</li>
<liclass="level1"><divclass="li"><strong>PROD</strong>: use minified JS and <abbrtitle="Cascading Style Sheets">CSS</abbr> files</div>
</li>
<liclass="level1"><divclass="li"><strong>USEDEBIANLIBS</strong>: use Debian packaged JS and <abbrtitle="Cascading Style Sheets">CSS</abbr> files <em>(<strong>Note that this options isn't yet usable</strong> since Debian provides a too old AngularJS for now: LLNG manager needs at least version 1.4.0)</em></div>
</li>
<liclass="level1"><divclass="li"><strong>USEEXTERNALLIBS</strong>: use files from public CDN</div>
</li>
</ul>
<divclass="notetip">For Debian/Ubuntu with Apache2, you can use:
<preclass="code">make debian-install-for-apache
make ubuntu-install-for-apache</pre>
<p>
And with Nginx:
</p>
<preclass="code">make debian-install-for-nginx
make ubuntu-install-for-nginx</pre>
<p>
See also <ahref="installdeb.html"class="wikilink1"title="documentation:2.0:installdeb">Debian/Ubuntu installation documentation</a>.