Installation and Setup V3: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Billig (Diskussion | Beiträge) |
Billig (Diskussion | Beiträge) |
||
| Zeile 18: | Zeile 18: | ||
== Docker == | == Docker == | ||
| + | |||
| + | TO BE UPDATED | ||
Let <code><DI></code> be the docker image name. Run the image with | Let <code><DI></code> be the docker image name. Run the image with | ||
| Zeile 27: | Zeile 29: | ||
* <code><port></code> is the delivered port (cf. [[#Installation_.26_Running|Installation & Running]] above) | * <code><port></code> is the delivered port (cf. [[#Installation_.26_Running|Installation & Running]] above) | ||
| − | + | <!-- | |
= External Storage/Index Backends = | = External Storage/Index Backends = | ||
This version is intended for use in environments where the data backend can run on separate machines. | This version is intended for use in environments where the data backend can run on separate machines. | ||
| Zeile 116: | Zeile 118: | ||
* restart server | * restart server | ||
| + | --> | ||
= Basic Security = | = Basic Security = | ||
Version vom 4. September 2020, 14:35 Uhr
Inhaltsverzeichnis
Standalone
All-in-one server mainly intended for exploration, testing and "to-go"-scenarios.
Release Files
WebCts2LE-embedded-jetty.zip: CTS2-LE jetty server
Required Software
- Java 8
Installation & Running
- unzip
WebCts2LE-embedded-jetty.zipto a directory (denoted by<W>in the following) - go to directory
<W> - start command:
./bin/startup.sh -port <port>- Windows Powershell: .\bin\startup.bat -port <port>
- shutdown command:
./bin/shutdown.sh <port>- Windows Powershell: ctrl-c
- admin navigation ui:
http://<host>:<port>/WebCts2LE
Docker
TO BE UPDATED
Let <DI> be the docker image name. Run the image with
docker run -dit --restart=always --name=<name> --mount source=<volume>,target=/etc/webcts2le/inst/cts2lef-resources/resources-custom -p <port>:9090 <DI>- on windows git bash: you have to exec before: docker() { (export MSYS_NO_PATHCONV=1; "docker.exe" "$@"); }
where
<name>is the container name<volume>is the volume name (it will be created if it does not exist and it will be reused !)<port>is the delivered port (cf. Installation & Running above)
Basic Security
The Embedded Jetty Variant supports simple security based on Basic Access Authentication for services that modify the data base (advanced security will not be supported at this architecture level, instead special security components should be placed on top of WebCts2LE). Changing security (see HashLoginService at https://www.eclipse.org/jetty/documentation/9.4.x/configuring-security.html for details):
- edit
<W>/conf/basic-realm.properties. It containsusername: password,rolename, e.g.admin: webcts2le-admin,admin. Change username or password if needed. Role nameadminshould not be changed.
- run service with basic authentication via option flag:
./bin/startup.sh -port <port> -basic_auth