Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
710:install [2024/03/08 10:30] – [Accessing Stages] Weinlein, Thomas | 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 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 359: | Line 377: | ||
===== Change password of " | ===== Change password of " | ||
- | '' | + | Log in with the " |
===== Prepare Stages for productive usage ===== | ===== Prepare Stages for productive usage ===== |