Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 710:install [2023/09/22 12:45] – [Stages installation on Windows] alz | 710:install [2024/10/29 10:11] (current) – Suess, Bernhard | ||
|---|---|---|---|
| Line 39: | Line 39: | ||
| < | < | ||
| create database stages; | create database stages; | ||
| - | create user ' | + | create user ' |
| - | grant all privileges on *.* to ' | + | grant all privileges on *.* to ' |
| flush privileges; | flush privileges; | ||
| exit; | exit; | ||
| Line 92: | Line 92: | ||
| ## settings for oracle | ## settings for oracle | ||
| torque.database.default.driver=oracle.jdbc.driver.OracleDriver | torque.database.default.driver=oracle.jdbc.driver.OracleDriver | ||
| - | torque.database.default.url=jdbc: | + | torque.database.default.url=jdbc: |
| torque.database.default.username=< | torque.database.default.username=< | ||
| torque.database.default.password=< | torque.database.default.password=< | ||
| Line 98: | Line 98: | ||
| </ | </ | ||
| - | Hint: ensure | + | Hints: \\ Ensure |
| * Activate the configuration | * Activate the configuration | ||
| Line 138: | Line 138: | ||
| * complete the installation with your organizational policy | * complete the installation with your organizational policy | ||
| * Proceed with the steps provided below | * Proceed with the steps provided below | ||
| - | * [[:79: | + | * [[:710: |
| ==== MySQL installation on CentOS 7.9 ==== | ==== MySQL installation on CentOS 7.9 ==== | ||
| Line 176: | Line 176: | ||
| * Start MySQL cli: mysql -uroot -p< | * Start MySQL cli: mysql -uroot -p< | ||
| * Execute the following commands: | * Execute the following commands: | ||
| - | < | ||
| + | <code -> | ||
| create database stages; | create database stages; | ||
| create user ' | create user ' | ||
| Line 183: | Line 183: | ||
| flush privileges; | flush privileges; | ||
| exit; | exit; | ||
| - | |||
| </ | </ | ||
| * Import dump file into database “stages” | * Import dump file into database “stages” | ||
| - | | + | |
| - | * Execute to Import: mysql -uroot -p stages < / | + | * Execute to Import: mysql -uroot -p stages < / |
| ==== Database installation with Oracle 11g, 12c or 19c ==== | ==== Database installation with Oracle 11g, 12c or 19c ==== | ||
| Line 236: | Line 236: | ||
| * Start Stages | * Start Stages | ||
| * 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: | ||
| + | * systemctl 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 292: | Line 310: | ||
| * Modify the red colored setting: | * Modify the red colored setting: | ||
| - | set TOMCAT_OPTS=–JvmMx= | + | set TOMCAT_OPTS=–JvmMx= <RAM in MB> |
| * //Open a cmd with administrative permissions and navigate to folder "< | * //Open a cmd with administrative permissions and navigate to folder "< | ||
| Line 301: | Line 319: | ||
| * //Open file "< | * //Open file "< | ||
| * //Modify the red colored value:// | * //Modify the red colored value:// | ||
| - | CONF_TOMCAT_OPTS=" | + | CONF_TOMCAT_OPTS=" |
| * Restart the Stages service: **stages restart** | * Restart the Stages service: **stages restart** | ||
| Line 346: | Line 364: | ||
| - | ===== Configure SSL ===== | + | ===== Configure |
| - | To encrypt all connections between the users and Stages, we strongly recommend | + | Please refer to [[configure_stages# |
| - | + | ||
| - | In addition to the following guidelines, a detailed guide on how to easily configure SSL with Stages can be found here : [[https:// | + | |
| - | + | ||
| - | * 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 ===== | ||