Doc update

This commit is contained in:
Clément Oudot 2009-07-08 07:54:09 +00:00
parent d15fb66e13
commit 80b2aa46a2
7 changed files with 251 additions and 16 deletions

View File

@ -149,6 +149,10 @@
<li><span class="wikilink"><a href=
"3.3-Install-from-redhat-packages.html">Installation sous RHEL/CentOS
&agrave; partir des paquets</a></span> (en)</li>
<li><span class="wikilink"><a href=
"3.3-Install-from-suse-packages.html">Installation sous SLES/OpenSuSE
&agrave; partir des paquets</a></span> (en)</li>
</ul>
<h3 class="heading-1-1"><span id=

View File

@ -144,6 +144,10 @@
<li><span class="wikilink"><a href=
"3.3-Install-from-redhat-packages.html">Installation on RHEL/CentOS with
packages</a></span> (en)</li>
<li><span class="wikilink"><a href=
"3.3-Install-from-suse-packages.html">Installation on SLES/OpenSuSE with
packages</a></span> (en)</li>
</ul>
<h3 class="heading-1-1"><span id=

View File

@ -127,7 +127,9 @@
<li>MIME::Base64</li>
<li>CGILWP::UserAgent</li>
<li>CGI</li>
<li>LWP::UserAgent</li>
<li>Cache::Cache</li>
@ -148,6 +150,8 @@
<li>XML::LibXSLT</li>
<li>HTML::Template</li>
<li>SOAP::Lite</li>
</ul>
<h4 class="heading-1-1-1"><span id="HResetPasswordbyMail">Reset Password
@ -164,9 +168,11 @@
<h4 class="heading-1-1-1"><span id="HExtras">Extras</span></h4>
<ul class="star">
<li>Lasso</li>
<li>Lasso (see <span class="wikiexternallink"><a href=
"http://lasso.entrouvert.org/">http://lasso.entrouvert.org/</a></span>)</li>
<li>CAS</li>
<li>CAS (see <span class="wikiexternallink"><a href=
"http://sourcesup.cru.fr/projects/perlcas/">http://sourcesup.cru.fr/projects/perlcas/</a></span>)</li>
<li>Test::POD</li>
</ul>
@ -205,7 +211,7 @@
<div class="code">
<pre>
# yum install httpd mod_perl perl-Apache-Session perl-LDAP perl-XML-SAX perl-XML-NamespaceSupport perl-HTML-Template perl-Regexp-Assemble perl-Error perl-IPC-ShareLite perl-Cache-Cache perl-FreezeThaw perl-XML-Simple perl-version perl-CGI-Session perl-DBD-Pg perl-XML-LibXML-Common perl-BSD-Resource perl-XML-LibXML perl-Crypt-Rijndael perl-IO-<span class="java-object">String</span> perl-XML-LibXSLT
# yum install httpd mod_perl perl-Apache-Session perl-LDAP perl-XML-SAX perl-XML-NamespaceSupport perl-HTML-Template perl-Regexp-Assemble perl-Error perl-IPC-ShareLite perl-Cache-Cache perl-FreezeThaw perl-XML-Simple perl-version perl-CGI-Session perl-DBD-Pg perl-XML-LibXML-Common perl-BSD-Resource perl-XML-LibXML perl-Crypt-Rijndael perl-IO-<span class="java-object">String</span> perl-XML-LibXSLT perl-SOAP-Lite
</pre>
</div>
@ -247,13 +253,13 @@
<tr class="table-even">
<td>0.9.4</td>
<td>0.93</td>
<td>0.94</td>
<td>0.91</td>
<td>0.89</td>
<td>0.90</td>
<td>0.88</td>
<td>0.89</td>
</tr>
</table>
</div>

View File

@ -68,6 +68,8 @@
<li><a href="#HBuildyourpackages">Build your packages</a></li>
<li><a href="#HPackageGPGsignature">Package GPG signature</a></li>
<li><a href="#HInstallpackageswithyum">Install packages with
yum</a></li>
@ -130,23 +132,51 @@
with version 0.9.3.
<h3 class="heading-1-1"><span id="HBuildyourpackages">Build your
packages</span></h3><br />
<br />
Download the source RPM, and install it:<br />
<br />
packages</span></h3>
<ul class="star">
<li>Install rpm-build package</li>
<li>Install all build dependencies (see BuildRequires in
lemonldap-ng.spec)</li>
<li>Put lemonldap-ng.spec in %_topdir/SPECS</li>
<li>Put LemonLDAP::NG tarball in %_topdir/SOURCES</li>
<li>Edit ~/.rpmmacros and set your build parameters (example for
RHEL5):</li>
</ul>
<div class="code">
<pre>
# rpm -Uvh lemonldap-ng-VERSION-RELEASE.DIST.src.rpm
%_topdir /home/user/build
%dist .el5
%rhel 5
</pre>
</div><br />
</div>
<ul class="star">
<li>Go to %_topdir</li>
<li>Do rpmbuild -ba SPECS/lemonldap-ng.spec</li>
</ul>
<h3 class="heading-1-1"><span id="HPackageGPGsignature">Package GPG
signature</span></h3><br />
<br />
Rebuild:<br />
The GPG key can be downloaded here: <span class=
"wikiexternallink"><a href="http://wiki.lemonldap.ow2.org/xwiki/bin/download/NG/DocInstallRedHatPackages/RPM-GPG-KEY-OW2">
http://wiki.lemonldap.ow2.org/xwiki/bin/download/NG/DocInstallRedHatPackages/RPM-GPG-KEY-OW2</a></span><br />
<br />
Install it to trust RPMs:<br />
<br />
<div class="code">
<pre>
# rpmbuild -ba /usr/src/redhat/SPECS/lemonldap-ng.spec
# rpm --<span class="java-keyword">import</span> <span class="nobr"><a href=
"http://wiki.lemonldap.ow2.org/xwiki/bin/download/NG/DocInstallRedHatPackages/RPM&amp;#45;GPG&amp;#45;KEY&amp;#45;OW2">http://wiki.lemonldap.ow2.org/xwiki/bin/download/NG/DocInstallRedHatPackages/RPM-GPG-KEY-OW2</a></span>
</pre>
</div>
@ -159,6 +189,14 @@
<div class="code">
<pre>
# yum install lemonldap-ng
</pre>
</div><br />
<br />
You can also use yum on local RPMs file, to manage dependencies:
<div class="code">
<pre>
# yum install lemonldap-ng-* perl-Lemonldap-NG-*
</pre>
</div>

View File

@ -0,0 +1,181 @@
<?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-suse-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=
"HInstallationonSLES2FOpenSuSE">Installation on SLES/OpenSuSE</span></h2>
<p class="paragraph"></p>Here is a complete procedure to install
LemonLDAP::NG on SLES or OpenSuSE systems. You will find a shell script in
attachements.
<p class="paragraph"></p>Thanks to Claude Durocher for this documentation.
<p class="paragraph"></p>
<ul>
<li><a href="#HInstallationofApacheandmodperl">Installation of Apache
and mod_perl</a></li>
<li><a href="#HRepositories">Repositories</a></li>
<li><a href="#HInstallperlscripts">Install perl scripts</a></li>
<li><a href="#HInstalllemonldapngmodules">Install lemonldap-ng
modules</a></li>
<li><a href="#HInstalloptionalperlscripts">Install optional perl
scripts</a></li>
<li><a href="#HStartApache">Start Apache</a></li>
</ul>
<h3 class="heading-1-1"><span id=
"HInstallationofApacheandmodperl">Installation of Apache and
mod_perl</span></h3><br />
<br />
<div class="code">
<pre>
# zypper install apache2 apache2-mod_perl
</pre>
</div><br />
<br />
Enable mod_perl:
<div class="code">
<pre>
# a2enmod mod_perl
</pre>
</div>
<h3 class="heading-1-1"><span id=
"HRepositories">Repositories</span></h3><br />
<br />
Add std SuSE repos for perl scripts (these are SLES11 repos; for OpenSuSE
replace "SLE_11" by "openSUSE_11.1")
<div class="code">
<pre>
# zypper addrepo <span class="nobr"><a href=
"http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11">http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11</a></span> perl/SLE_11
# zypper addrepo <span class="nobr"><a href=
"http://download.opensuse.org/repositories/XML/SLE_11">http://download.opensuse.org/repositories/XML/SLE_11</a></span> XML/SLE_11
</pre>
</div>
<p class="paragraph"></p>Add repo for lemonldap-ng (this is SLES11 repo;
for OpenSuSE replace "SLE_11" by "openSUSE_11.1")
<div class="code">
<pre>
# zypper addrepo <span class="nobr"><a href=
"http://download.opensuse.org/repositories/home:/clauded1:/LemondLDAP&amp;#45;NG/SLE_11">http://download.opensuse.org/repositories/home:/clauded1:/LemondLDAP-NG/SLE_11</a></span> LemondLDAP-NG/SLE_11
</pre>
</div>
<h3 class="heading-1-1"><span id="HInstallperlscripts">Install perl
scripts</span></h3><br />
<br />
<div class="code">
<pre>
# zypper install perl-Cache-Cache perl-Apache-AuthNetLDAP perl-HTML-Template perl-Apache-Session perl-CGI perl-CGI-Session perl-IO-<span class="java-object">String</span>
# zypper install perl-XML-LibXSLT
# zypper install perl-SOAP-Lite perl-Crypt-Rijndael perl-Regexp-Assemble
</pre>
</div>
<h3 class="heading-1-1"><span id="HInstalllemonldapngmodules">Install
lemonldap-ng modules</span></h3>
<p class="paragraph"></p>
<div class="code">
<pre>
# zypper install perl-Lemonldap-NG-Portal perl-Lemonldap-NG-Manager perl-Lemonldap-NG-Handler perl-Lemonldap-NG-Common
# zypper install lemonldap-ng-portal lemonldap-ng-manager lemonldap-ng-handler
# zypper install lemonldap-ng-conf lemonldap-ng-doc lemonldap-ng-test
# zypper install lemonldap-ng
</pre>
</div>
<h3 class="heading-1-1"><span id="HInstalloptionalperlscripts">Install
optional perl scripts</span></h3><br />
<br />
<div class="code">
<pre>
# zypper install perl-<span class=
"java-object">String</span>-Random perl-MIME-Lite perl-Email-Date-Format
</pre>
</div>
<h3 class="heading-1-1"><span id="HStartApache">Start
Apache</span></h3><br />
<br />
<div class="code">
<pre>
# rcapache2 restart
</pre>
</div>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

View File

@ -59,6 +59,7 @@
<li><a href="3.2-Install-from-tarball.html">3.2 Install from tarball</a></li>
<li><a href="3.3-Install-from-debian-packages.html">3.3 Install from debian packages</a></li>
<li><a href="3.3-Install-from-redhat-packages.html">3.3 Install from redhat packages</a></li>
<li><a href="3.3-Install-from-suse-packages.html">3.3 Install from suse packages</a></li>
<li><a href="4.1-Configuration-overview.html">4.1 Configuration overview</a></li>
<li><a href="4.1-Configuration-parameter-list.html">4.1 Configuration parameter list</a></li>
<li><a href="4.1-RBAC-model.html">4.1 RBAC model</a></li>

View File

@ -19,9 +19,9 @@ my $docs = {
'http://wiki.lemonldap.ow2.org/xwiki/bin/view/NG/DocInstallTarball' => '3.2-Install-from-tarball.html',
'http://wiki.lemonldap.ow2.org/xwiki/bin/view/NG/DocInstallDebianPackages' => '3.3-Install-from-debian-packages.html',
'http://wiki.lemonldap.ow2.org/xwiki/bin/view/NG/DocInstallRedHatPackages' => '3.3-Install-from-redhat-packages.html',
'http://wiki.lemonldap.ow2.org/xwiki/bin/view/NG/DocInstallSuSEPackages' => '3.3-Install-from-suse-packages.html',
# Configuration overview
'http://wiki.lemonldap.ow2.org/xwiki/bin/view/NG/DocConfigOverwiew' => '4.1-Configuration-overview.html',
'http://wiki.lemonldap.ow2.org/xwiki/bin/view/NG/RBAC' => '4.1-RBAC-model.html',
'http://wiki.lemonldap.ow2.org/xwiki/bin/view/NG/ConfigParameterList' => '4.1-Configuration-parameter-list.html',
# Portal
@ -195,6 +195,7 @@ while ( my ( $url, $file ) = each %$docs ) {
s#/xwiki/bin/view/NG/DocInstallTarball#3.2-Install-from-tarball.html#g;
s#/xwiki/bin/view/NG/DocInstallDebianPackages#3.3-Install-from-debian-packages.html#g;
s#/xwiki/bin/view/NG/DocInstallRedHatPackages#3.3-Install-from-redhat-packages.html#g;
s#/xwiki/bin/view/NG/DocInstallSuSEPackages#3.3-Install-from-suse-packages.html#g;
s#/xwiki/bin/view/NG/DocConfigOverwiew#4.1-Configuration-overview.html#g;
s#/xwiki/bin/view/NG/RBAC#4.1-RBAC-model.html#g;
s#/xwiki/bin/view/NG/ConfigParameterList#4.1-Configuration-parameter-list.html#g;