lemonldap-ng/debian/lemonldap-ng.README.Debian

102 lines
2.3 KiB
Plaintext
Raw Permalink Normal View History

FIRST CONFIGURATION STEPS
1 - Change default DNS domain
-----------------------------
By default, DNS domain is example.com. You can change using dpkg-reconfigure or
with a quick sed command. For example, we change it to ow2.org:
sed -i 's/example\.com/ow2.org/g' /etc/lemonldap-ng/* \
/var/lib/lemonldap-ng/conf/lmConf-1.js /var/lib/lemonldap-ng/test/index.pl
2016-01-29 19:03:37 +01:00
2 - Enable LL::NG sites
-----------------------
2.1 - Apache
2022-04-03 21:01:04 +02:00
Enable installed components:
2012-12-29 20:18:35 +01:00
# Portal
2015-06-19 13:13:19 +02:00
a2ensite portal-apache2.conf
2012-12-29 20:18:35 +01:00
# Manager
2015-06-19 13:13:19 +02:00
a2ensite manager-apache2.conf
2012-12-29 20:18:35 +01:00
# Handler
2015-06-19 13:13:19 +02:00
a2ensite handler-apache2.conf
a2ensite test-apache2.conf
2012-12-29 20:18:35 +01:00
2016-01-29 19:03:37 +01:00
customize them and enable mod_perl if not already loaded:
a2enmod perl
Then restart Apache:
apache2ctl configtest
apache2ctl restart
2016-01-29 19:03:37 +01:00
2.2 - Nginx
2022-04-03 21:01:04 +02:00
Enable installed components:
2016-01-29 19:03:37 +01:00
cd /etc/nginx/sites-enabled
# Portal
ln -s ../sites-available/portal-nginx.conf
# Manager
ln -s ../sites-available/manager-nginx.conf
# Handler
# Warning: if no site is protected (see example files for this), the
# $lmremote_user variable will not be set. So you can't load this file since
# it includes /etc/lemonldap/nginx-lmlog.conf that requires at least one
# protected virtual host.
2016-01-29 19:03:37 +01:00
ln -s ../sites-available/handler-nginx.conf
# Test site
ln -s ../site-available/test-nginx.conf
2022-04-03 21:01:04 +02:00
Customize them, then reload nginx
2016-01-29 19:03:37 +01:00
2022-04-03 21:01:04 +02:00
nginx -s reload
2016-01-29 19:03:37 +01:00
3 - Check your DNS
------------------
2008-02-08 16:33:32 +01:00
2022-04-03 21:01:04 +02:00
Be sure that your browser can reach (adapt it with your domain):
- auth.example.com : Authentication portal
- manager.example.com : Configuration interface
4 - Connect to the manager
--------------------------
2012-02-28 23:39:07 +01:00
Go to http://manager.example.com/, you'll be redirected to the portal. Then
enjoy!
2012-06-18 11:47:27 +02:00
5 - Default accounts
--------------------
2012-02-28 23:39:07 +01:00
By default, LemonLDAP::NG use "Demo" authentication backend, so you can use the
following accounts:
2012-02-28 23:39:07 +01:00
Login Password Role
rtyler rtyler user
msmith msmith user
dwho dwho administrator
2012-02-28 23:39:07 +01:00
2012-12-29 20:18:35 +01:00
6 - Base configuration file
---------------------------
2022-04-03 21:01:04 +02:00
Configuration is managed by the Manager except some basic parameters
such as storage type configuration. These parameters are defined
in /etc/lemonldap-ng/lemonldap-ng.ini file.
2012-12-29 20:18:35 +01:00
This file can also be used to override the global configuration locally
6 - See more
------------
2012-02-28 23:39:07 +01:00
2017-09-19 17:39:09 +02:00
https://lemonldap-ng.org/
2012-02-28 23:39:07 +01:00