Chapter 2. Installation and configuration

Table of Contents
2.1. Intro
2.2. Requirements
2.2.1. Web Server
2.2.2. PHP Interpreter
2.2.3. Database Server
2.2.4. Smarty Library
2.2.5. Perl
2.2.6. C Compiler
2.2.7. Web Browser
2.3. LMS Installation
2.4. Localization
2.5. Database Server Installation
2.5.1. MySQL
2.5.2. PostgreSQL
2.6. Basic Configuration
2.6.1. Section [database] - Database Settings
2.6.2. Section [directories] - Directories Settings
2.6.3. Section [finances] - Finances Settings
2.7. Access rights
2.7.1. Idea
2.7.2. How does it work?
2.7.3. User-defined access rules
2.8. Upgrade
2.9. Documents
2.9.1. Calculation of tax value
2.9.2. Invoices
2.9.3. Transfer forms
2.9.4. Cash Receipts
2.9.5. Other documents

2.1. Intro

LMS consist a few modules. LMS-UI is user interface, which is responsible for all interactions with user, entirely written in PHP and it uses SQL database to store all data, thus PHP script interpreter and SQL engine of your choice (MySQL or Postgresql).

LMS also contains a set of Perl scripts, responsible for various operations, ie. periodically applying subscription fees or sending reminders to users who are in debt. It also contains LMS-MGC, which may be configured to generate virtually any configuration file or script and manage your server. Note that some of the scripts might need additional Perl modules to function.

At the end there is also LMS Daemon, written in C, which is being used (its plugins in fact) as a drop-in replacement for LMS-MGC - to configure and manage (ie. restart) your services. It's main advantage is that it responds for all LMS-UI changes in realtime.