Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:latest:installtarball [2012/03/28 16:02]
127.0.0.1 external edit
documentation:latest:installtarball [2019/05/20 19:23] (current)
Line 9: Line 9:
 ===== Build the tarball from SVN ===== ===== Build the tarball from SVN =====
  
-Either checkout or export the SVN repository, or extract the SVN tarball to get the SVN files on your disk.+Either checkout or export the [[http://​forge.ow2.org/​plugins/​scmsvn/​index.php?​group_id=274|SVN repository]], or extract the SVN tarball to get the SVN files on your disk.
  
 Then go to trunk directory: Then go to trunk directory:
Line 41: Line 41:
 make configure make configure
 make test make test
-sudo make install+sudo make install ​PROD=yes
 </​code>​ </​code>​
 +
 +<​note>​
 +''​PROD=yes''​ makes web interface use minified versions of CSS and JS files.
 +</​note>​
  
 You can modify location of default storage configuration file in configure target: You can modify location of default storage configuration file in configure target:
Line 57: Line 61:
   * Binaries install :   * Binaries install :
     * install_bin ​          ​(/​usr/​local/​lemonldap-ng/​bin)     * install_bin ​          ​(/​usr/​local/​lemonldap-ng/​bin)
 +  * FastCGI server install ​  ​(required for Nginx)
 +    * install_fastcgi_server (/​usr/​local/​lemonldap-ng/​sbin)
   * Web sites install :   * Web sites install :
     * install_site ​         (all sites including install_doc_site)     * install_site ​         (all sites including install_doc_site)
Line 82: Line 88:
   * **APACHEVERSION**:​ Apache major version (default: 2)   * **APACHEVERSION**:​ Apache major version (default: 2)
   * **VHOSTLISTEN**:​ how listen parameter is configured for virtual hosts in Apache (default: *:80)   * **VHOSTLISTEN**:​ how listen parameter is configured for virtual hosts in Apache (default: *:80)
 +  * **PROD**: use minified JS and CSS files
 +  * **USEDEBIANLIBS**:​ use Debian packaged JS and CSS files //(**Note that this options isn't yet usable** since Debian provides a too old AngularJS for now: LLNG manager needs at least version 1.4.0)//
 +  * **USEEXTERNALLIBS**:​ use files from public CDN
  
 <note tip> <note tip>
-For Debian/​Ubuntu,​ you can use:+For Debian/​Ubuntu ​with Apache2, you can use:
 <​code>​ <​code>​
-make debian-install+make debian-install-for-apache 
 +make ubuntu-install-for-apache
 </​code>​ </​code>​
-or:+And with Nginx:
 <​code>​ <​code>​
-make ubuntu-install+make debian-install-for-nginx 
 +make ubuntu-install-for-nginx
 </​code>​ </​code>​
 See also [[installdeb|Debian/​Ubuntu installation documentation]]. See also [[installdeb|Debian/​Ubuntu installation documentation]].
 </​note>​ </​note>​
- 
-===== Link Apache configuration ===== 
- 
-By default, Apache configuration files will be installed in ''/​usr/​local/​lemonldap-ng/​etc/''​. You have to include them in Apache main configuration,​ for example: 
- 
-<file apache> 
-include /​usr/​local/​lemonldap-ng/​etc/​portal-apache2.conf 
-include /​usr/​local/​lemonldap-ng/​etc/​handler-apache2.conf 
-include /​usr/​local/​lemonldap-ng/​etc/​manager-apache2.conf 
-</​file>​ 
- 
-<note tip> 
-  * You can also use symbolic links in ''​conf.d''​ Apache directory. 
-  * If you have run the Debian/​Ubuntu install command, just use: 
-<​code>​ 
-a2ensite manager-apache2.conf 
-a2ensite portal-apache2.conf 
-</​code>​ 
-</​note>​ 
- 
-<note warning>​Mod Perl **must** be loaded before LL::NG Apache configuration.</​note>​ 
  
 ===== Install cron jobs ===== ===== Install cron jobs =====
  
-LL::NG use cron jobs to:+LL::NG use cron jobs (or systemd timers) ​to:
   * purge old sessions   * purge old sessions
   * clean Handler cache   * clean Handler cache
Line 128: Line 118:
 </​code>​ </​code>​
  
 +or install .timers files in systemd directory (/​lib/​systemd/​system)
 ===== DNS ===== ===== DNS =====
  
-Configure your DNS server to resolve names with your server IP+Configure your DNS server to resolve names with your server IP: 
- +  * auth.<your domain>main portal, must be public 
-<note tip> +  * manager.<your domain>: manager, only for adminsitrators 
-For tests with the configured ​domain, launch the following ​+  * test1.<your domain>, test2.<your domain>: sample applications
-<code shell+
-cat /​usr/​local/​lemonldap-ng/​etc/​lemonldap-ng/​for_etc_hosts >> /​etc/​hosts +
-</code> +
-</note>+
  
 Follow the [[start#​configuration|next steps]]. Follow the [[start#​configuration|next steps]].