Table of Contents | ||
---|---|---|
|
...
Below are the prerequisites for QMetry Test Management application
1. Java v1.8.x must be installed (Reference: How to install Java), and JAVA_HOME must be setup.
Expand
title Expand for steps to verify
- To verify, execute command: java -version
- Check your JDK 8 path using command: sudo alternatives --config java
- JAVA_HOME Environment Variable must be set:
- To set JAVA_HOME variable
- Run command: sudo export JAVA_HOME=/usr/java/jdk1.8.0_xx (Note: You need to replace the actual path and version of your Java installation directory)
- To set PATH variable
- Run command: sudo export PATH=$PATH:$JAVA_HOME/bin
- To change above settings permanently which stays even after machine reboot
- Run command: sudo vi /etc/environment then add below lines: (Replace the actual path and version of your Java Installation directory)
export JAVA_HOME=/usr/java/jdk1.8.0_xxexport JRE_HOME=/usr/java/jdk1.8.0_xx/jrePATH=$PATH:/usr/java/jdk1.8.0_xx/bin:/opt/jdk1.8.0_xx/jre/binexport PATH- Save configuration with Esc + :wq!
2. Set Java Cryptography Extension (JCE)
Expand
title Download & Set Java Cryptography Extension (JCE) Set Java Cryptography Extension (JCE)
- Go to Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 8 Download for Java 1.8
- Download the zip file "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files " and extract it.
- There are two files under it: US_export_policy.jar and local_policy.jar
- Copy and Replace these files at $JAVA_HOME/jre/lib/security
Expand
title Installing MySQL Downloading and Installing MySQL
- Download the attached mysqlinstall.sh and copy it over to the /opt/ directory.
- Execute the below command:
sudo chmod 775 /opt/mysqlinstall.sh
- To Install MySQL, execute the below command which downloads and installs MySQL v5.7.23
- sudo sh -x /opt/mysqlinstall.sh
Restart MySQL services using below command:
- sudo service mysql.server restart
- Run the command: export PATH=$PATH:/usr/local/mysql/bin
- To be able to access MySQL using `mysql` command, add the following lines to /etc/environment file.
- Run command: sudo vi /etc/environment then press " i " to go into insert mode, and add the following lines:
- export PATH=$PATH:/usr/local/mysql/bin
export PATH- Save configuration with Esc + :wq!
The above steps install MySQL 5.7.23, under /usr/local/ directory. The username and password of MySQL are set to: username: root, password: qmetry
Note: MySQL Services can be started, stopped and restarted using below commands.
- sudo service mysql.server start
- sudo service mysql.server stop
- sudo service mysql.server restart
4. Set /tmp directory to at least 15 GB
5. Request the license.key before-hand by providing the MAC address and Domain to QMetry Support (qtmprofessional@qmetrysupport.atlassian.net) for generating license specific to your server
Steps to install QMetry Test Management application
...
Options | Type | Default Value | Comments/ Example |
---|---|---|---|
Do you want to upgrade an existing version of QMetry? | Mandatory | No | Type "No" to begin a fresh installation of QMetry. |
Enter Password of QMetry Admin | Mandatory | - | Password Policy- it must contain minimum 8 characters with at least one special character, at least one alphabet and at least one number. Allowed special characters are !@#$%^&*() |
Re-Enter Password of QMetry Admin | Mandatory | - | Above Password |
Enter email for QMetry Admin | Optional | - | Provide QMetry Admin's email ID |
Enter JVM Minimum Heap Memory in GB | Optional | Default - 3 GB | 3 GB |
Enter JVM Maximum Heap Memory in GB | Optional | Default - 6 GB | 6 GB |
Enter DB Connection Pool Size | Optional | 100 | 100 |
Enter Domain URL | Mandatory | - | Public IP of your server or DNS name Note: Provide this domain to Qmetry support to generate your license. Example: company.qmetry.com. The value should not contain any protocols like http:// or https:// |
Enter Database Host | Mandatory | localhost | “localhost” or IP Address or DNS name |
Enter Database Port | Mandatory | 3306 | 3306 |
Enter Database Schema Name | Mandatory | qmetry | qmetry |
Enter Database Username | Mandatory | - | root |
Enter Database Password | Mandatory | - | qmetry |
Enter Attachments Path | Mandatory | - | /opt/attachments/ |
Enter SAML Config Path | Mandatory | - | /opt/saml/ |
Enter Domain Scheme | Mandatory | http | Choose "http" or "https" |
Enter DNS Name or IP Address | Mandatory | localhost | Enter the server domain name OR keep it to localhost |
Enter Port for the application | Mandatory | 80 |
|
...