LDAPAccountManager/lam-0.4/INSTALL

46 lines
1.4 KiB
Plaintext

Installation Instructions for LAM
---------------------------------
1. Requirements
- Apache webserver (SSL optional) with installed PHP-Module (PHP-Module with
ldap, gettext, mcrypt+mhash optional)
- Perl
- Openldap (>2.0)
- A web browser :-)
Getting mcrypt and mhash for Suse/RedHat:
Either you compile PHP4 yourself or you use some unofficial packages:
- Suse: ftp://ftp.suse.com/pub/people/poeml/mod_php4
- RedHat: http://ftp.horde.org/pub/RPMS
2. Installation
* Extract package with:
tar xzf lam-version.tar.gz
* Copy files into the html-file scope of the webserver. For example
/apache/htdocs.
* Set appropriate file permissions:
- /lam/sess: write permission for apache user
- /lam/tmp: write permission for apache user
- /lam/config (with subdirectories): write permission for apache user
- /lam/lib: perl files must be set executable (See also
docs/readme.lamdeamon.pl)
* Configure config.cfg and create a configuration profile.
Copy config.cfg_sample to config.cfg and set the master password and default
profile.
Then use the web interface with the link "Configuration Login" (start file is /lam/index.html)
or configure LAM manually. (The default password to edit the options is "lam")
- Manually:
A default config file can be found in /lam/config/lam.conf_sample.
Change the necessary entries and rename it to /lam/config/lam.conf.