Installation

Logrepserver - Linux Server Setup

Requirements

OPENSSH client, PERL 5.6 or 5.8, gd library with png support.
Normally, they are part of a standard Linux distribution.

Installation

  1. Download RPM package for Logrep server.
  2. Install package : rpm --install package name

    Logrep is installed with following directory structure:

      /usr/local/logrep - logrep installation files
      /etc/logrep - logrep configuration files
      /etc/init.d/logrepd - Logrep daemon script
      /var/log/logrep - Logrep activity log directory
      /var/logrep - Logrep data directory for log files and reports

  3. Configure Logrep configuration file /etc/logrep/logrep.conf as needed. Currently, there is no other documentation than the file itself.
  4. Create setup packages for your clients and configure them.
  5. Start Logrep server for the first time: /etc/init.d/logrepd start

Logrepserver - Windows Server Setup

Requirements

Standard PERL distribution.

Installation 

  1. Download and unzip ZIP file containing Installer executable.
  2. Run the installation package. You can specify a new directory during installation. Monitoring the installation process can be done by clicking Details button. If everyting seems ok, then Logrep is installed and configured as a service.
  3. Configure Logrep configuration file Installation directory\etc\logrep.conf as needed. Currently, there is no other documentation than the file itself.
  4. Create setup packages for your clients and configure them.
  5. By default, the LogrepServer service is configured with LocalSystem as logon account. Due to some complications caused by ssh public key authentication, however, it is necessary to configure this service with the current user as logon account. A better solution will appear in future versions, I hope.
  6. Start Logrep server for the first time: net start LogrepServer

Logrepserver - Linux Client Setup

Requirements

Logrep Server 1.4.x is installed on your server. OPENSSH server on client. Normally, it is a part of a standard Linux distribution.

Installation

  1. Create a client setup package on your server :
      perl bin/logrep-admin.pl --makeclient linux
      (Assuming that you run this command from logrep inst.directory on linux)

    This command creates a tar file containing a shell script and public key file for ssh authentication.

  2. Transfer this tar file to a temporary directory on your linux client(s). Extract contents of the tar archive.
  3. Run the following commands :
      cd tar created directory
      source install.sh

    This script generates a local logrep user and a home directory, copies public key for ssh authentication and sets ownership and permissions. NB! install.sh contains password information. Please remove tar created directory and tar archive itself after a successful setup.

  4. Establish an ssh session on your server :
      bin\util\bin\ssh -l logrep -i etc/logrep.key "client ip/name" echo EVERYTHING SEEMS OK!
      (Assuming that you run this command from logrep inst.directory and with default configuration values on windows)

    You get a question about the authenticity of your client. Answer yes to add your client permanently to the list of known hosts. Your client setup is done successfully if you get the message "EVERYTHING SEEMS OK!" without any further prompting.

Logrepserver - Windows Client Setup

Requirements

Logrep Server 1.4.x is installed on your server.

COPSSH. You don't need to activate any user. Logrep does this job itself.

Installation

  1. Create a client setup package on your server :
      perl bin\logrep-admin.pl --makeclient windows
      (Assuming that you run this command from logrep inst.directory on windows)

    This command creates a tar file containing a shell script and public key file for ssh authentication.

  2. Transfer this tar file to "COPSSH inst.directory\tmp" directory on your windows client(s). Extract contents of the tar archive.
  3. Start an interactive BASH shell session from copSSH start menu and run the following commands :
      cd /tmp/tar created directory
      source install.sh

    This script generates a local logrep user and a home directory, copies public key for ssh authentication and sets ownership and permissions. NB! install.sh contains password information. Please remove tar created directory and tar archive itself after a successful setup.

  4. Establish an ssh session on your server :
      bin\util\bin\ssh -l logrep -i etc/logrep.key "client ip/name" echo EVERYTHING SEEMS OK!
      (Assuming that you run this command from logrep inst.directory and with default configuration values on windows)

    You get a question about the authenticity of your client. Answer yes to add your client permanently to the list of known hosts. Your client setup is done successfully if you get the message "EVERYTHING SEEMS OK!" without any further prompting.