2012-02-25 23:45:20 +01:00
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" xml:lang = "en"
lang="en" dir="ltr">
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
< title > < / title >
<!-- metadata -->
< meta name = "generator" content = "Offline" / >
< meta name = "version" content = "Offline 0.1" / >
<!-- style sheet links -->
< link rel = "stylesheet" media = "all" type = "text/css" href = "../../../css/all.css" / >
< link rel = "stylesheet" media = "screen" type = "text/css" href = "../../../css/screen.css" / >
< link rel = "stylesheet" media = "print" type = "text/css" href = "../../../css/print.css" / >
< / head >
< body >
< div class = "dokuwiki export" >
2015-06-08 16:57:58 +02:00
< h1 class = "sectionedit1" id = "prerequisites_and_dependencies" > Prerequisites and dependencies< / h1 >
2012-02-25 23:45:20 +01:00
< div class = "level1" >
< / div >
2015-06-08 16:57:58 +02:00
<!-- EDIT1 SECTION "Prerequisites and dependencies" [1 - 47] -->
2016-02-10 11:17:35 +01:00
< h2 class = "sectionedit2" id = "web_server" > Web Server< / h2 >
2012-02-25 23:45:20 +01:00
< div class = "level2" >
< p >
2016-02-10 11:17:35 +01:00
To use LemonLDAP::NG, you have the choice of the Web Server :
2012-02-25 23:45:20 +01:00
< / p >
2016-02-10 11:17:35 +01:00
< ul >
< li class = "level1" > < div class = "li" > Apache 2 with mod_perl< / div >
< / li >
< li class = "level1" > < div class = "li" > Nginx with fastcgi< / div >
< / li >
< / ul >
2012-02-25 23:45:20 +01:00
< p >
2015-06-08 16:57:58 +02:00
For Apache2, you can use all workers mpm-worker, mpm-prefork and mpm-event. Mpm-worker works faster and LemonLDAP::NG use the thread system for best performance. If you have to use mpm-prefork (for example if you use PHP), LemonLDAP::NG will work anyway.
2012-02-25 23:45:20 +01:00
< / p >
< / div >
2016-02-10 11:17:35 +01:00
<!-- EDIT2 SECTION "Web Server" [48 - 440] -->
2015-06-08 16:57:58 +02:00
< h2 class = "sectionedit3" id = "perl" > Perl< / h2 >
2012-02-25 23:45:20 +01:00
< div class = "level2" >
< p >
2015-06-08 16:57:58 +02:00
< p > < div class = "noteclassic" > Here is the list of Perl modules used in LemonLDAP::NG. Core modules must be installed on the system. Other modules must be installed only if you planned to use the related feature.
2012-02-25 23:45:20 +01:00
< / div > < / p >
< / p >
< / div >
2016-02-10 11:17:35 +01:00
<!-- EDIT3 SECTION "Perl" [441 - 654] -->
2015-06-08 16:57:58 +02:00
< h3 class = "sectionedit4" id = "core" > Core< / h3 >
2012-02-25 23:45:20 +01:00
< div class = "level3" >
< ul >
< li class = "level1" > < div class = "li" > Apache::Session< / div >
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > Net::LDAP< / div >
2012-02-25 23:45:20 +01:00
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > MIME::Base64< / div >
2012-02-25 23:45:20 +01:00
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > CGI< / div >
2012-02-25 23:45:20 +01:00
< / li >
< li class = "level1" > < div class = "li" > LWP::UserAgent< / div >
< / li >
< li class = "level1" > < div class = "li" > Cache::Cache< / div >
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > < abbr title = "Database Interface" > DBI< / abbr > < / div >
2012-02-25 23:45:20 +01:00
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > XML::Simple< / div >
2012-02-25 23:45:20 +01:00
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > CGI::Session< / div >
2012-02-25 23:45:20 +01:00
< / li >
< li class = "level1" > < div class = "li" > Regexp::Assemble< / div >
< / li >
2016-02-10 11:17:35 +01:00
< li class = "level1" > < div class = "li" > Regexp::Common< / div >
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > XML::LibXML< / div >
2012-02-25 23:45:20 +01:00
< / li >
< li class = "level1" > < div class = "li" > Crypt::Rijndael< / div >
< / li >
< li class = "level1" > < div class = "li" > IO::String< / div >
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > XML::LibXSLT< / div >
2012-02-25 23:45:20 +01:00
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > < abbr title = "HyperText Markup Language" > HTML< / abbr > ::Template< / div >
2012-02-25 23:45:20 +01:00
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > SOAP::Lite< / div >
2012-02-25 23:45:20 +01:00
< / li >
< li class = "level1" > < div class = "li" > Config::IniFiles< / div >
< / li >
< li class = "level1" > < div class = "li" > JSON< / div >
< / li >
< li class = "level1" > < div class = "li" > Digest::HMAC< / div >
< / li >
2016-02-10 11:17:35 +01:00
< li class = "level1" > < div class = "li" > Digest::SHA< / div >
< / li >
2012-02-25 23:45:20 +01:00
< li class = "level1" > < div class = "li" > Crypt::OpenSSL::RSA< / div >
< / li >
< li class = "level1" > < div class = "li" > Crypt::OpenSSL::X509< / div >
< / li >
< li class = "level1" > < div class = "li" > Crypt::OpenSSL::Bignum< / div >
< / li >
< li class = "level1" > < div class = "li" > Convert::PEM< / div >
< / li >
< li class = "level1" > < div class = "li" > Clone< / div >
< / li >
2014-01-22 17:28:39 +01:00
< li class = "level1" > < div class = "li" > Net::CIDR< / div >
< / li >
< li class = "level1" > < div class = "li" > Unicode::String< / div >
< / li >
2014-05-22 12:51:39 +02:00
< li class = "level1" > < div class = "li" > Log::Log4perl::Logger< / div >
< / li >
< li class = "level1" > < div class = "li" > Net::CIDR::Lite< / div >
< / li >
< li class = "level1" > < div class = "li" > Cache::Memcached< / div >
< / li >
2014-12-19 10:03:15 +01:00
< li class = "level1" > < div class = "li" > Mouse< / div >
< / li >
2015-07-24 11:53:07 +02:00
< li class = "level1" > < div class = "li" > Plack::Handler< / div >
< / li >
2016-02-10 11:17:35 +01:00
< li class = "level1" > < div class = "li" > Authen::Captcha< / div >
< / li >
2012-02-25 23:45:20 +01:00
< / ul >
< / div >
2016-02-10 11:17:35 +01:00
<!-- EDIT4 SECTION "Core" [655 - 1265] -->
2015-06-08 16:57:58 +02:00
< h3 class = "sectionedit5" id = "saml2" > SAML2< / h3 >
2012-02-25 23:45:20 +01:00
< div class = "level3" >
< ul >
< li class = "level1" > < div class = "li" > < a href = "http://lasso.entrouvert.org/" class = "urlextern" title = "http://lasso.entrouvert.org/" rel = "nofollow" > Lasso< / a > < / div >
< / li >
< li class = "level1" > < div class = "li" > GLib< / div >
< / li >
< / ul >
< / div >
2016-02-10 11:17:35 +01:00
<!-- EDIT5 SECTION "SAML2" [1266 - 1335] -->
2015-06-08 16:57:58 +02:00
< h3 class = "sectionedit6" id = "cas_authentication_module" > CAS (authentication module)< / h3 >
2012-02-25 23:45:20 +01:00
< div class = "level3" >
< ul >
< li class = "level1" > < div class = "li" > < a href = "http://sourcesup.cru.fr/projects/perlcas/" class = "urlextern" title = "http://sourcesup.cru.fr/projects/perlcas/" rel = "nofollow" > AuthCAS< / a > < / div >
< / li >
< / ul >
< / div >
2016-02-10 11:17:35 +01:00
<!-- EDIT6 SECTION "CAS (authentication module)" [1336 - 1433] -->
2015-06-08 16:57:58 +02:00
< h3 class = "sectionedit7" id = "openid" > OpenID< / h3 >
2012-02-25 23:45:20 +01:00
< div class = "level3" >
< ul >
< li class = "level1" > < div class = "li" > Net::OpenID::Consumer > 1.00< / div >
< / li >
< li class = "level1" > < div class = "li" > Net::OpenID::Server > 1.00< / div >
< / li >
< / ul >
< / div >
2016-02-10 11:17:35 +01:00
<!-- EDIT7 SECTION "OpenID" [1434 - 1516] -->
2015-06-08 16:57:58 +02:00
< h3 class = "sectionedit8" id = "twitter" > Twitter< / h3 >
2012-02-25 23:45:20 +01:00
< div class = "level3" >
< ul >
< li class = "level1" > < div class = "li" > Net::Twitter< / div >
< / li >
< / ul >
< / div >
2016-02-10 11:17:35 +01:00
<!-- EDIT8 SECTION "Twitter" [1517 - 1553] -->
2015-06-08 16:57:58 +02:00
< h3 class = "sectionedit9" id = "pod_unit_tests" > POD unit tests< / h3 >
2012-02-25 23:45:20 +01:00
< div class = "level3" >
< ul >
< li class = "level1" > < div class = "li" > Test::POD< / div >
< / li >
2014-01-22 17:28:39 +01:00
< li class = "level1" > < div class = "li" > Test::MockObject< / div >
< / li >
2012-02-25 23:45:20 +01:00
< / ul >
< / div >
2016-02-10 11:17:35 +01:00
<!-- EDIT9 SECTION "POD unit tests" [1554 - 1615] -->
2015-06-08 16:57:58 +02:00
< h3 class = "sectionedit10" id = "smtpreset_password_by_mail" > SMTP / Reset password by mail< / h3 >
2012-02-25 23:45:20 +01:00
< div class = "level3" >
< ul >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > MIME::Lite< / div >
2012-02-25 23:45:20 +01:00
< / li >
< li class = "level1" > < div class = "li" > Email::Date::Format< / div >
< / li >
< li class = "level1" > < div class = "li" > String::Random< / div >
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > Net::SMTP< / div >
2012-02-25 23:45:20 +01:00
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > MIME::Base64< / div >
2012-02-25 23:45:20 +01:00
< / li >
< li class = "level1" > < div class = "li" > Authen::SASL< / div >
< / li >
< / ul >
< / div >
2016-02-10 11:17:35 +01:00
<!-- EDIT10 SECTION "SMTP / Reset password by mail" [1616 - 1763] -->
2015-06-08 16:57:58 +02:00
< h2 class = "sectionedit11" id = "other" > Other< / h2 >
2012-02-25 23:45:20 +01:00
< div class = "level2" >
< ul >
2012-05-07 20:35:40 +02:00
< li class = "level1" > < div class = "li" > Jquery (javascript framework) is included in tarball and RPMs, but is a dependency on Debian official releases< / div >
2012-02-25 23:45:20 +01:00
< / li >
2014-05-22 12:51:39 +02:00
< li class = "level1" > < div class = "li" > OmegaT is needed to translate offline documentation and build fr-doc packages< / div >
< / li >
2012-02-25 23:45:20 +01:00
< / ul >
< / div >
2016-02-10 11:17:35 +01:00
<!-- EDIT11 SECTION "Other" [1764 - 1980] -->
2015-06-08 16:57:58 +02:00
< h2 class = "sectionedit12" id = "install_dependencies_on_your_system" > Install dependencies on your system< / h2 >
2012-02-25 23:45:20 +01:00
< div class = "level2" >
< / div >
2016-02-10 11:17:35 +01:00
<!-- EDIT12 SECTION "Install dependencies on your system" [1981 - 2030] -->
2015-06-08 16:57:58 +02:00
< h3 class = "sectionedit13" id = "apt-get" > APT-GET< / h3 >
2012-02-25 23:45:20 +01:00
< div class = "level3" >
2016-02-27 19:22:01 +01:00
< p >
Perl dependencies:
< / p >
< pre class = "code" > apt-get install libapache-session-perl libnet-ldap-perl libcache-cache-perl libdbi-perl perl-modules libwww-perl libcache-cache-perl libxml-simple-perl libsoap-lite-perl libhtml-template-perl libregexp-assemble-perl libregexp-common-perl libjs-jquery libxml-libxml-perl libcrypt-rijndael-perl libio-string-perl libxml-libxslt-perl libconfig-inifiles-perl libjson-perl libstring-random-perl libemail-date-format-perl libmime-lite-perl libcrypt-openssl-rsa-perl libdigest-hmac-perl libdigest-sha-perl libclone-perl libauthen-sasl-perl libnet-cidr-lite-perl libcrypt-openssl-x509-perl libauthcas-perl libtest-pod-perl libtest-mockobject-perl libauthen-captcha-perl libnet-openid-consumer-perl libnet-openid-server-perl libunicode-string-perl libconvert-pem-perl libmouse-perl libplack-perl< / pre >
< p >
For Apache:
< / p >
< pre class = "code" > apt-get install apache2 libapache2-mod-perl2 libapache2-mod-fcgid< / pre >
< p >
For Nginx:
< / p >
< pre class = "code" > apt-get install nginx nginx-extras< / pre >
2012-02-25 23:45:20 +01:00
< / div >
2016-02-27 19:22:01 +01:00
<!-- EDIT13 SECTION "APT - GET" [2031 - 3023] -->
2015-06-08 16:57:58 +02:00
< h3 class = "sectionedit14" id = "yum" > YUM< / h3 >
2012-02-25 23:45:20 +01:00
< div class = "level3" >
< p >
2014-12-19 10:03:15 +01:00
< p > < div class = "notetip" > You need < a href = "http://fedoraproject.org/wiki/EPEL/" class = "urlextern" title = "http://fedoraproject.org/wiki/EPEL/" rel = "nofollow" > EPEL< / a > repository. See how you can activate this repository: < a href = "http://fedoraproject.org/wiki/EPEL/FAQ#howtouse" class = "urlextern" title = "http://fedoraproject.org/wiki/EPEL/FAQ#howtouse" rel = "nofollow" > http://fedoraproject.org/wiki/EPEL/FAQ#howtouse< / a >
2012-02-25 23:45:20 +01:00
< / div > < / p >
< / p >
2016-02-27 19:22:01 +01:00
< p >
Perl dependencies:
< / p >
< pre class = "code" > yum install perl-Apache-Session perl-LDAP perl-XML-SAX perl-XML-NamespaceSupport perl-HTML-Template perl-Regexp-Assemble perl-Regexp-Common 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-String perl-XML-LibXSLT perl-SOAP-Lite perl-Config-IniFiles perl-JSON perl-Digest-HMAC perl-Digest-SHA perl-String-Random perl-MIME-Lite perl-Email-Date-Format perl-Crypt-OpenSSL-RSA perl-Crypt-OpenSSL-X509 perl-Clone perl-Authen-SASL perl-Log-Log4perl perl-Unicode-String perl-Net-CIDR-Lite perl-Cache-Memcached perl-Convert-PEM perl-Mouse perl-Plack perl-Authen-Captcha< / pre >
< p >
For Apache:
< / p >
< pre class = "code" > yum install httpd mod_perl mod_fcgid< / pre >
< p >
For Nginx:
< / p >
< pre class = "code" > yum install nginx< / pre >
< p >
< p > < div class = "noteimportant" > As you need a recent version of Nginx, the best is to install < a href = "https://www.nginx.com/resources/wiki/start/topics/tutorials/install/#official-red-hat-centos-packages" class = "urlextern" title = "https://www.nginx.com/resources/wiki/start/topics/tutorials/install/#official-red-hat-centos-packages" rel = "nofollow" > Nginx official packages< / a > .
< / div > < / p >
< / p >
2012-02-25 23:45:20 +01:00
< / div >
2015-06-08 16:57:58 +02:00
< / div > <!-- closes <div class="dokuwiki export"> -->