Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
79:install [2023/07/04 08:47] – [Configure SSL] vtbr | 79:install [2024/03/15 11:28] (current) – [Start without Root Privileges on Linux] Mrozek, Marek | ||
---|---|---|---|
Line 83: | Line 83: | ||
</ | </ | ||
+ | * Activate the configuration | ||
+ | * Windows Start Menu: Execute “Programs > Method Park > Stages > Update Configuration” | ||
+ | * Start Stages | ||
+ | * Windows: Start the services “Stages Search” and then “Stages” | ||
=== Establish database connection with Oracle === | === Establish database connection with Oracle === | ||
Line 244: | Line 248: | ||
* execute “stages start” | * execute “stages start” | ||
+ | ==== (Optional) Start without Root Privileges on Linux ==== | ||
+ | |||
+ | Normally Stages is started by the " | ||
+ | |||
+ | Please note that privileged ports below 1024 cannot be opened in this configuration, | ||
+ | |||
+ | **How to configure the user that Stages service should run as?** | ||
+ | |||
+ | 1. Edit stages.service file: | ||
+ | * vi / | ||
+ | * add the line User=< | ||
+ | |||
+ | 2. Reload system manager configuration with systemctl command: | ||
+ | * Unordered List Itemsystemctl daemon-reload | ||
+ | |||
+ | 3. Additionally change the user ownership for all files below stages installation folder with following command: | ||
+ | * chown -R < | ||
===== (Optional) Secure MySQL connection with SSL ===== | ===== (Optional) Secure MySQL connection with SSL ===== | ||
Line 291: | Line 312: | ||
* Open file "< | * Open file "< | ||
* Modify the red colored setting: //set TOMCAT_OPTS=–JvmMx= | * Modify the red colored setting: //set TOMCAT_OPTS=–JvmMx= | ||
- | <font inherit/ | + | < |
* //Open a cmd with administrative permissions and navigate to folder "< | * //Open a cmd with administrative permissions and navigate to folder "< | ||
* //Reinstall the Stages service: **reinstallService.bat** // | * //Reinstall the Stages service: **reinstallService.bat** // | ||
Line 298: | Line 319: | ||
* //Open file "< | * //Open file "< | ||
* //Modify the red colored value: // | * //Modify the red colored value: // | ||
- | <font inherit/ | + | < |
* Restart the Stages service: **stages restart** | * Restart the Stages service: **stages restart** | ||
Line 338: | Line 359: | ||
===== Configure SSL ===== | ===== Configure SSL ===== | ||
- | To encrypt all connections between the users and Stages, we strongly recommend | + | Please refer to [[configure_stages# |
- | + | ||
- | * Ask for a DNS alias for the server, e.g. " | + | |
- | * Ask for a SSL certificate for the server which refers to the above alias. Depending on your local procedures, this might require creating a certificate request (see [[https:// | + | |
- | * Import the SSL certificate into a keystore (see link above for more info) | + | |
- | * Configure Tomcat to use this SSL certificate (see link above for more info). The relevant Tomcat config file is located in ''< | + | |
- | * To enforce redirection from http to https add the following to '' | + | |
- | < | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | </ | + | |
=== Add CAs to your TrustStore === | === Add CAs to your TrustStore === | ||
- | For using reports in Stages you need to add your company' | + | Please refer to [[configure_stages# |
- | + | ||
- | * Import your company' | + | |
- | + | ||
- | (Linux directories may differ) | + | |
- | + | ||
- | * Please restart Stages service after applying changes to the Java Trust Store | + | |
- | + | ||
===== Accessing Stages ===== | ===== Accessing Stages ===== | ||
- | '' | + | After successful installation process - Stages is accessible via web browser by URL [[https://stages.localhost|https:// |
===== Change password of " | ===== Change password of " | ||
- | '' | + | Log in with the " |
===== Prepare Stages for productive usage ===== | ===== Prepare Stages for productive usage ===== |