forked from j62/ctbrec
1
0
Fork 0
ctbrec/server
0xboobface 539db89bdb Bump version to 1.12.1 2018-11-28 23:28:32 +01:00
..
.settings Split up project into client, server, common and master 2018-11-18 22:42:13 +01:00
src Add methods to get the free and total space 2018-11-26 14:01:08 +01:00
.classpath Add logback config to server 2018-11-18 23:23:38 +01:00
.gitignore Add log files to .gitignore 2018-11-24 18:47:44 +01:00
.project Split up project into client, server, common and master 2018-11-18 22:42:13 +01:00
LICENSE.txt Add assembly for the server 2018-11-19 13:05:41 +01:00
README.md Add link to docker image in server readme 2018-11-19 15:44:56 +01:00
pom.xml Bump version to 1.12.1 2018-11-28 23:28:32 +01:00

README.md

CTB Server

This is the server part, which is only needed, if you want to run ctbrec in client/server mode

Requirements

  • Java 1.8 (32-bit or 64-bit)

Installation

  • Unpack the zip-File

  • Make sure, your Java installation is in the PATH environment variable or replace the call to java in the script for your platform with the absolute path to the Java executable, e.g

    "C:\Program Files\Java\jdk1.8.0_192\bin" or /usr/bin/java

  • Run the server once with script for your platform (server-linux.sh, server-macos.sh, server.bat). This will create the settings file, which you can use to configure the server. You can find it here:

    Windows: Press Windows + r, type %appdata%\ctbrec, press OK

    Linux: ~/.config/ctbrec

    macOS: Library/Preferences/ctbrec in your user home

  • When you are done with the configuration, start the server again

  • Start the ctbrec application, go to settings and set the Record Location to Remote and set Server and Port to point to your server.

  • If you want to restrict access to server you can switch on HMAC authentication by enabling Require authentication. The application will generate a key and display it in a text field. Copy the line, stop the server, and paste the line into the server config in the first line after the {. Insert a comma , at the end of the line.

  • Start the server again. You should now see a line like 12:58:37.540 [main] INFO ctbrec.recorder.server.HttpServer - HMAC authentication is enabled in the server log.

Docker

There is a docker image, created by Github user 1461748123, which you can find on Docker Hub

License

CTB Recorder is licensed under the GPLv3. See LICENSE.txt.