LMS in the form of tar.gz archive can be downloaded from project home page (www.lms.rulez.pl), afterd that should be extracted and placed in chosen directory (i.e. /var/www/lms ) available for server www:
$ cd /var/www $ wget http://lms.rulez.pl/download/stable/lms-x.x.x.tar.gz $ tar zxf lms-x.x.x.tar.gz
Two kind of LMS packets are available - including Smarty library (lms-x.x.x+libs.tar.gz) and without that library. If you haven't got package with libraries, you must get and placed them in directory lib.
$ cd /var/www/lms/lib $ wget http://smarty.php.net/distributions/Smarty-2.6.0.tar.gz $ tar zxf Smarty-2.6.0.tar.gz $ mv Smarty-2.6.0/libs Smarty
![]() | Placement of all directories can be set in section [directories] in file lms.ini. |
Files with configuration (sample/lms.ini and sample/lms-mgc.ini) place in directory /etc/lms.
Exec scripts from directory bin is preferably to move to directory /usr/sbin.
![]() | Server www must have reading rights on file lms.ini and writing rights on directory backup. It makes potential drop of system security level. |