Update Debian files

This commit is contained in:
Xavier Guimard 2016-01-29 18:03:37 +00:00
parent 7d7e5a6717
commit 9237dc785a
8 changed files with 31 additions and 3 deletions

27
debian/README.Debian vendored
View File

@ -9,8 +9,10 @@ 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
2 - Enable LL::NG sites in Apache
---------------------------------
2 - Enable LL::NG sites
-----------------------
2.1 - Apache
Enable the components you've installed:
@ -24,7 +26,7 @@ Enable the components you've installed:
a2ensite handler-apache2.conf
a2ensite test-apache2.conf
and enable mod_perl if not already loaded:
customize them and enable mod_perl if not already loaded:
a2enmod perl
@ -33,6 +35,25 @@ Then restart Apache:
apache2ctl configtest
apache2ctl restart
2.2 - Nginx
Enable the components you've installed:
cd /etc/nginx/sites-enabled
# Portal
ln -s ../sites-available/portal-nginx.conf
# Manager
ln -s ../sites-available/manager-nginx.conf
# Handler
ln -s ../sites-available/handler-nginx.conf
Customize then, then reload nginx
service nginx reload
3 - Check your DNS
------------------

View File

@ -1,3 +1,4 @@
debian/tmp/etc/lemonldap-ng/handler-apache2.conf
debian/tmp/etc/lemonldap-ng/handler-nginx.conf
debian/tmp/etc/lemonldap-ng/test-apache2.conf
debian/tmp/var/lib/lemonldap-ng/test

View File

@ -3,4 +3,5 @@
/var/lib/lemonldap-ng/test
/usr/share/lemonldap-ng/bin/purgeLocalCache
/etc/lemonldap-ng/handler-apache2.conf
/etc/lemonldap-ng/handler-nginx.conf
/etc/lemonldap-ng/test-apache2.conf

View File

@ -1,2 +1,3 @@
/etc/lemonldap-ng/handler-apache2.conf /etc/apache2/sites-available/handler-apache2.conf
/etc/lemonldap-ng/handler-nginx.conf /etc/nginx/sites-available/handler-nginx.conf
/etc/lemonldap-ng/test-apache2.conf /etc/apache2/sites-available/test-apache2.conf

View File

@ -1,5 +1,6 @@
/usr/share/perl5/Lemonldap/NG/Manager*
/etc/lemonldap-ng/manager-apache2.conf
/etc/lemonldap-ng/manager-nginx.conf
/usr/share/lemonldap-ng/manager
/var/lib/lemonldap-ng/manager
/usr/share/lemonldap-ng/bin/lmConfigEditor

View File

@ -1,2 +1,3 @@
/etc/lemonldap-ng/manager-apache2.conf /etc/apache2/sites-available/manager-apache2.conf
/etc/lemonldap-ng/manager-nginx.conf /etc/nginx/sites-available/manager-nginx.conf

View File

@ -7,3 +7,4 @@
/usr/share/lemonldap-ng/portal
/var/lib/lemonldap-ng/portal
/etc/lemonldap-ng/portal-apache2.conf
/etc/lemonldap-ng/portal-nginx.conf

View File

@ -1,4 +1,5 @@
/etc/lemonldap-ng/portal-apache2.conf /etc/apache2/sites-available/portal-apache2.conf
/etc/lemonldap-ng/portal-nginx.conf /etc/nginx/sites-available/portal-nginx.conf
/usr/share/lemonldap-ng/portal/cdc.pl /var/lib/lemonldap-ng/portal/cdc.pl
/usr/share/lemonldap-ng/portal/index.pl /var/lib/lemonldap-ng/portal/index.pl
/usr/share/lemonldap-ng/portal/mail.pl /var/lib/lemonldap-ng/portal/mail.pl