[mysql] default-character-set=utf8 [mysqld] character-set-server=utf8 max_allowed_packet=500M transaction-isolation=READ-COMMITTED lower_case_table_names=1 sql-mode = "STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION" default-time-zone="+00:00"
create database stages; create user 'stages' identified by 'pass'; grant all privileges on *.* to 'stages'@'%'; flush privileges; exit;
mysql -uroot -p<mysql-root-password> stages <[PATH TO DUMP FILE\stages7_mysql_content.sql]
torque.database.default.driver = com.mysql.cj.jdbc.Driver torque.database.default.adapter = DBMM torque.database.default.url = jdbc:mysql://localhost:3306/stages?zeroDateTimeBehavior=round&jdbcCompliantTruncation=false torque.database.default.username = stages torque.database.default.password = pass
## settings for oracle torque.database.default.driver=oracle.jdbc.driver.OracleDriver torque.database.default.url=jdbc:oracle:thin:@<IP/hostname>:<port>/<pdb> torque.database.default.username=<oracle-username> torque.database.default.password=<oracle-password>
Hint: ensure that torque.database.default.adapter = DBMM is commented out or deleted
[mysqld] character-set-server=utf8 max_allowed_packet=500M transaction-isolation=READ-COMMITTED lower_case_table_names=1 sql-mode = STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION default-time-zone= +00:00
The default-time-zone parameter needs to be adapted to your server’s location if it is located outside of central Europe
Hint: if you execute “yum install mysql” MariaDB 5 will be installed, MariaDB 8 is not available
character-set-server=utf8 max_allowed_packet=500M transaction-isolation=READ-COMMITTED lower_case_table_names=1 sql-mode = STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION default-time-zone= +00:00
The default-time-zone parameter needs to be adapted to your server’s location if it is located outside of central Europe
create database stages; create user 'stages'@'localhost' identified by 'Pass.1234'; grant all privileges on *.* to 'stages'@'localhost'; flush privileges; exit;
torque.database.default.driver = com.mysql.cj.jdbc.Driver torque.database.default.adapter = DBMM torque.database.default.url = jdbc:mysql:localhost:3306/stages?zeroDateTimeBehavior=round&jdbcCompliantTruncation=false torque.database.default.username = stages torque.database.default.password = Pass.1234
## settings for oracle torque.database.default.driver=oracle.jdbc.driver.OracleDriver torque.database.default.url=jdbc:oracle:thin:@<IP/hostname>:<port>/<pdb> torque.database.default.username=<oracle-username> torque.database.default.password=<oracle-password>
Hint: ensure that torque.database.default.adapter = DBMM is commented out or deleted
Normally Stages is started by the “root” user and then drops its privileges to the “stages” user after successful startup. In high risk environments, Stages can now also be started with a user id other than root. It can be enabled via the STAGES_NONROOTSTART
variable in …/bin/rc.conf
. If enabled, the same user id starting the service will also be used to run the service.
Please note that privileged ports below 1024 cannot be opened in this configuration, so the normal HTTPS port 443 cannot be used. The non-root setting can only be used when the Tomcat connectors are configured to use ports higher than 1024 and e.g. a reverse proxy is being used to allow normal access via HTTPS.
How to configure the user that Stages service should run as?
1. Edit stages.service file:
2. Reload system manager configuration with systemctl command:
3. Additionally change the user ownership for all files below stages installation folder with following command:
If you want to secure your MySQL connection with SSL you need to provide the server certificate to the MySQL driver. To do this follow these steps:
$JAVA_HOME/bin/keytool -importcert -alias MySQLCACert -file ca.pem -keystore truststore.jks -storepass mypassword
* Change the database.properties and append the following to your JDBC url:
&clientCertificateKeyStoreUrl=file:/opt/stages/conf/truststore.jks&useSSL=true&clientCertificateKeyStorePassword=mypassword&enabledTLSProtocols=TLSv1.2
* The complete JDBC url should now look similar like this:
torque.database.default.url = jdbc:mysql://localhost:3306/stages?zeroDateTimeBehavior=round&jdbcCompliantTruncation=false&useSSL=true&clientCertificateKeyStoreUrl=file:/opt/stages/conf/truststore&clientCertificateKeyStorePassword=mypassword
If you are using a virus scanner on your Stages server, please exclude all MySQL database files from analysis operations as this might corrupt your database. Also excluding Stages installation directory and Java installation directory might significantly improve Stages performance.
Depending on the desired performance and the purpose of your Stages Server, we strongly suggest to adjust the Java heap space according to the following values:
* Low-range system: 12288 MB or more
* Mid-range system: 16384 MB or more
* High-range system: 32768 MB or more
Please check System Requirements for Stages for detailed information on the range levels.
To adjust the Java heap space settings please proceed as follows:
<RAM in MB> m -XX:+UseG1GC -XX-OmitStackTraceInFastThrow”
If a customer specific metamodel has been migrated from Stages V6 to V7 by a Method Park product consultant, this metamodel will be provided as *.mm file. To install the metamodel please proceed as follows:
Since Stages 7.9.7.0: How to install the correct fonts
Until Stages 7.9.6.1: How to install the correct fonts
Please refer to here.
Please refer to here.
After successful installation process - Stages is accessible via web browser by URL https://stages.localhost. As Stages is delivered with a self signed certificate your browser will warn you that the certificate is not trustworthy. For a first test you can instruct the browser to direct you to the website anyhow. After that please configure a trusted certificate.
Log in with the “root” user and the provided password. Click on the “Superuser” link in the bottom left corner of the navigation and change the password to a secure and unique one.
Users
Delete all users except Superuser and Default, especially the demo users.
Workspaces
Delete the workspaces “Samples” and “Proof of Concept” or move them under “Archive”.
Groups
Delete all groups starting with “Samples …”.
Further setup
Please contact your Method Park Product Consultant to further adapt the Stages process content for productive usage.