Installation

Tarball

You can get the LSC distribution from the download area. Get zip or tar.gz archive, and unarchive it:

tar zxvf lsc-core-VERSION-dist.tar.gz

LSC is now installed in the subdirectory lsc-VERSION. The main files are:

  • bin/lsc : wrapper to launch LSC
  • etc/lsc.xml : main configuration file
  • sample/: sample scripts

RPM

LSC is packaged for RedHat/CentOS distributions. You can either install RPM manually, either use our YUM repository:

Manual download

You can download the RPM here: Download.

The public key can be downloaded here: http://ltb-project.org/wiki/lib/RPM-GPG-KEY-LTB-project

To import this key:

# rpm --import http://ltb-project.org/wiki/lib/RPM-GPG-KEY-LTB-project

Just run this command to install them (with dependency management):

# yum localinstall lsc* 

Yum repository

Configure the yum repository :

# vi /etc/yum.repos.d/ltb-project.repo
[ltb-project]
name=LTB/LSC project packages
baseurl=http://ltb-project.org/rpm/5/noarch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-LTB-project

Then upate:

# yum update

The public key can be downloaded here: http://ltb-project.org/wiki/lib/RPM-GPG-KEY-LTB-project

To import this key:

# rpm --import http://ltb-project.org/wiki/lib/RPM-GPG-KEY-LTB-project

You are now ready to install:

# yum install lsc

Files location

With RPM, LSC files are installed in the following locations:

  • /usr/bin/lsc: wrapper to launch LSC
  • /etc/lsc/: configuration
  • /var/log/lsc/: logs
  • /etc/init.d/lsc: init script (for asynchronous connectors)
  • /etc/default/lsc: init script configuration
  • /etc/cron.d/lsc: cron configuration
  • /usr/lib/lsc/: LSC libraries
  • /var/lib/lsc/nagios/: monitoring scripts
  • /usr/share/doc/lsc: sample scripts