201 lines
6.6 KiB
HTML
201 lines
6.6 KiB
HTML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
|
|
<head>
|
|
<meta name="generator" content=
|
|
"HTML Tidy for Linux/x86 (vers 7 December 2008), see www.w3.org" />
|
|
|
|
<title>Lemonldap::NG documentation:
|
|
3.3-Install-from-debian-packages.html</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
|
|
<style type="text/css">
|
|
/*<![CDATA[*/
|
|
body{
|
|
background: #ddd;
|
|
font-family: sans-serif;
|
|
font-size: 11pt;
|
|
padding: 0 50px;
|
|
}
|
|
div.main-content{
|
|
padding: 10px;
|
|
background: #fff;
|
|
border: 2px #ccc solid;
|
|
}
|
|
a{
|
|
text-decoration: none;
|
|
}
|
|
p.footer{
|
|
text-align: center;
|
|
margin: 5px 0 0 0;
|
|
}
|
|
.heading-1{
|
|
text-align: center;
|
|
color: orange;
|
|
font-variant: small-caps;
|
|
font-size: 20pt;
|
|
}
|
|
.heading-1-1{
|
|
color: orange;
|
|
font-size: 14pt;
|
|
border-bottom: 2px #ccc solid;
|
|
}
|
|
pre{
|
|
background: #eee;
|
|
border: 2px #ccc solid;
|
|
padding: 5px;
|
|
border-left: 10px #ccc solid;
|
|
}
|
|
ul.star li{
|
|
list-style-type: square;
|
|
}
|
|
/*]]>*/
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="main-content">
|
|
<h2 class="heading-1"><span id=
|
|
"HInstallationonDebian2FUbuntuwithpackages">Installation on Debian/Ubuntu
|
|
with packages</span></h2>
|
|
|
|
<p class="paragraph"></p>
|
|
|
|
<ul>
|
|
<li><a href="#HGetthepackages">Get the packages</a></li>
|
|
|
|
<li><a href="#HBuildyourpackage">Build your package</a></li>
|
|
|
|
<li><a href="#HInstallpackageswithaptget">Install packages with
|
|
apt-get</a></li>
|
|
|
|
<li><a href="#HInstallpackageswithdpkg">Install packages with
|
|
dpkg</a></li>
|
|
|
|
<li><a href="#HFilelocation">File location</a></li>
|
|
|
|
<li><a href="#HChangedefaultDNSdomain">Change default DNS
|
|
domain</a></li>
|
|
</ul>
|
|
|
|
<h3 class="heading-1-1"><span id="HGetthepackages">Get the
|
|
packages</span></h3>
|
|
|
|
<p class="paragraph"></p>If you run Debian lenny (testing) or sid
|
|
(unstable), the LemonLDAP::NG packages are directly installable:
|
|
|
|
<div class="code">
|
|
<pre>
|
|
# apt-cache search lemonldap-ng
|
|
</pre>
|
|
</div><br />
|
|
<br />
|
|
Else you will have to download them first, from this location:
|
|
<span class="wikiexternallink"><a href=
|
|
"http://packages.debian.org/search?keywords=lemonldap-ng">http://packages.debian.org/search?keywords=lemonldap-ng</a></span>.<br />
|
|
|
|
<br />
|
|
For example:
|
|
|
|
<div class="code">
|
|
<pre>
|
|
# wget <span class="nobr"><a href=
|
|
"http://ftp.de.debian.org/debian/pool/main/l/lemonldap&#45;ng/lemonldap&#45;ng_0.9.2&#45;1_all.deb">http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/lemonldap-ng_0.9.2-1_all.deb</a></span>
|
|
# wget <span class="nobr"><a href=
|
|
"http://ftp.de.debian.org/debian/pool/main/l/lemonldap&#45;ng/liblemonldap&#45;ng&#45;conf&#45;perl_0.9.2&#45;1_all.deb">http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/liblemonldap-ng-conf-perl_0.9.2-1_all.deb</a></span>
|
|
# wget <span class="nobr"><a href=
|
|
"http://ftp.de.debian.org/debian/pool/main/l/lemonldap&#45;ng/liblemonldap&#45;ng&#45;portal&#45;perl_0.9.2&#45;1_all.deb">http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/liblemonldap-ng-portal-perl_0.9.2-1_all.deb</a></span>
|
|
# wget <span class="nobr"><a href=
|
|
"http://ftp.de.debian.org/debian/pool/main/l/lemonldap&#45;ng/liblemonldap&#45;ng&#45;handler&#45;perl_0.9.2&#45;1_all.deb">http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/liblemonldap-ng-handler-perl_0.9.2-1_all.deb</a></span>
|
|
# wget <span class="nobr"><a href=
|
|
"http://ftp.de.debian.org/debian/pool/main/l/lemonldap&#45;ng/liblemonldap&#45;ng&#45;manager&#45;perl_0.9.2&#45;1_all.deb">http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/liblemonldap-ng-manager-perl_0.9.2-1_all.deb</a></span>
|
|
</pre>
|
|
</div>
|
|
|
|
<p class="paragraph"></p>Older versions are available on our OW2 Debian
|
|
repository:
|
|
|
|
<div class="code">
|
|
<pre>
|
|
deb <span class="nobr"><a href=
|
|
"http://lemonldap.objectweb.org/NG/debian">http://lemonldap.objectweb.org/NG/debian</a></span> testing/
|
|
deb-src <span class="nobr"><a href=
|
|
"http://lemonldap.objectweb.org/NG/debian">http://lemonldap.objectweb.org/NG/debian</a></span> testing/
|
|
</pre>
|
|
</div>
|
|
|
|
<h3 class="heading-1-1"><span id="HBuildyourpackage">Build your
|
|
package</span></h3>
|
|
|
|
<p class="paragraph"></p>You can also get the LemonLDAP::NG archive
|
|
(<span class="wikiexternallink"><a href=
|
|
"http://forge.objectweb.org/project/showfiles.php?group_id=274">see
|
|
dowload section</a></span>) and make the package yourself:
|
|
|
|
<div class="code">
|
|
<pre>
|
|
$ tar xzf lemonldap-ng-*.tar.gz
|
|
$ cd lemonldap-ng-*
|
|
$ debuild
|
|
</pre>
|
|
</div>
|
|
|
|
<h3 class="heading-1-1"><span id="HInstallpackageswithaptget">Install
|
|
packages with apt-get</span></h3><br />
|
|
<br />
|
|
|
|
<div class="code">
|
|
<pre>
|
|
# apt-get install apache2 lemonldap-ng
|
|
</pre>
|
|
</div>
|
|
|
|
<h3 class="heading-1-1"><span id="HInstallpackageswithdpkg">Install
|
|
packages with dpkg</span></h3><br />
|
|
<br />
|
|
Before installing the packages, install <span class="wikilink"><a href=
|
|
"3.1-Install-prerequesites.html">dependencies</a></span>.<br />
|
|
<br />
|
|
Then:
|
|
|
|
<div class="code">
|
|
<pre>
|
|
# dpkg -i liblemonldap-ng-* lemonldap-ng*
|
|
</pre>
|
|
</div>
|
|
|
|
<h3 class="heading-1-1"><span id="HFilelocation">File location</span></h3>
|
|
|
|
<ul class="star">
|
|
<li>Configuration is in /etc/lemonldap-ng</li>
|
|
|
|
<li>LemonLDAP::NG configuration (edited by the Manager) is in
|
|
/var/lib/lemonldap-ng/conf/</li>
|
|
|
|
<li>All Perl modules are in the VENDOR perl directory</li>
|
|
|
|
<li>All Perl scripts/pages are in /var/lib/lemonldap-ng/</li>
|
|
|
|
<li>All static content (examples, CSS, images, etc.) is in
|
|
/usr/share/lemonldap-ng/</li>
|
|
</ul>
|
|
|
|
<h3 class="heading-1-1"><span id="HChangedefaultDNSdomain">Change default
|
|
DNS domain</span></h3><br />
|
|
<br />
|
|
By default, DNS domain is "example.com". You can change it quick with a
|
|
sed command. For example, we change it to ow2.org:<br />
|
|
<br />
|
|
|
|
<div class="code">
|
|
<pre>
|
|
# sed -i 's/example.com/ow2.org/g' /etc/lemonldap-ng/apache2.conf /etc/lemonldap-ng/apps-list.xml /<span class="java-keyword">var</span>/lib/lemonldap-ng/conf/lmConf-1 /etc/lemonldap-ng/apply.conf /<span class="java-keyword">var</span>/lib/lemonldap-ng/test/index.pl
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
|
|
<p class="footer"><a href="index.html">Index</a></p>
|
|
</body>
|
|
</html>
|