| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| 711:install [2025/03/04 12:20] – [(Optional) Start without Root Privileges on Linux] Geupel, Christian | 711:install [2026/06/29 08:29] (current) – [Stages Installation on Linux] Stengel, Paulina |
|---|
| === Establish database connection with MySQL === | === Establish database connection with MySQL === |
| |
| * Download MySQL JDBC connector (Connector/J 8.0 Platform Independent) MySQL 8.0 | * Download MySQL JDBC connector (**Connector/J 9.x** -> **Platform Independent**) |
| * Copy JDBC connector to ”<stages installation path>/stages/lib“ and rename the file mysql-connector-java-*-bin.jar to mysql.jar | * Copy JDBC connector file **mysql-connector-j-*.jar** to ”**<stages installation path>/stages/lib**“ and rename the file **mysql-connector-j-*.jar** to **mysql.jar** |
| * Edit ”<Stages installation path>/stages/conf/database.properties“ appropriately like in the following example: | * Edit ”<Stages installation path>/stages/conf/database.properties“ appropriately like in the following example: |
| <code> | |
| |
| | <code -> |
| torque.database.default.driver = com.mysql.cj.jdbc.Driver | torque.database.default.driver = com.mysql.cj.jdbc.Driver |
| torque.database.default.adapter = DBMM | torque.database.default.adapter = DBMM |
| torque.database.default.username = stages | torque.database.default.username = stages |
| torque.database.default.password = pass | torque.database.default.password = pass |
| |
| </code> | </code> |
| |
| * Activate the configuration | * Activate the configuration |
| * Windows Start Menu: Execute “Programs > Method Park > Stages > Update Configuration” | * Windows Start Menu: Execute “Programs > Method Park > Stages > Update Configuration” |
| * Start Stages | * Start Stages |
| * Windows: Start the services “Stages Search” and then “Stages” | * Windows: Start the services “Stages Search” and then “Stages” |
| |
| === Establish database connection with Oracle === | === Establish database connection with Oracle === |
| * Edit ”<Stages installation path>/stages/conf/database.properties“ appropriately like in the following example: | * Edit ”<Stages installation path>/stages/conf/database.properties“ appropriately like in the following example: |
| |
| <code> | <code -> |
| ## 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.username=<oracle-username> | torque.database.default.username=<oracle-username> |
| torque.database.default.password=<oracle-password> | torque.database.default.password=<oracle-password> |
| |
| </code> | </code> |
| |
| |
| * Activate the configuration | * Activate the configuration |
| * Windows Start Menu: Execute “Programs > Method Park > Stages > Update Configuration” | * Windows Start Menu: Execute “Programs > Method Park > Stages > Update Configuration” |
| * Start Stages | * Start Stages |
| * Windows: Start the services “Stages Search” and then “Stages” | * Windows: Start the services “Stages Search” and then “Stages” |
| |
| |
| * Install RPM package “rpm -Uvh <stagesrpmpakage>.rpm (RPM pakage will be sent to you by [[stages-support@ul.com?subject=Stages installation package - Linux|Stages Support]]). | * Install RPM package “rpm -Uvh <stagesrpmpakage>.rpm (RPM pakage will be sent to you by [[stages-support@ul.com?subject=Stages installation package - Linux|Stages Support]]). |
| |
| * Stages will be installed to ”/opt/stages“ by default. It can be installed to a different location if needed. The path must not contain whitespaces. A user with the name “stages” is needed to allow the command “stages start” to automatically start the Stages search engine. The user needs recursive read and execute permissions on the sub-direcory “elasticsearch” and additionally write permissions on “elasticsearch/data” and “elasticsearch/logs”. | * Stages will be installed to ”/opt/stages“ by default. It can be installed to a different location if needed. The path must not contain whitespaces. A user with the name “stages” is needed to allow the command “stages start” to automatically start the Stages search engine. The user needs recursive read and execute permissions on the sub-direcory “elasticsearch” and additionally write permissions on “elasticsearch/data” and “elasticsearch/logs”. The user needs a valid login shell. |
| |
| === Establish database connection with MySQL === | === Establish database connection with MySQL === |