Back to QMetry All Products Help Page
QMetry Installation Guide (without Docker)
In this guide we'll run you through installing QMetry Test Management application in a production environment, with an external database, using the Linux installer.
Installing QMetry on your Server
This is the most straightforward way to get your production site up and running on a Linux server.
Before you begin (Prerequisites)
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.
2. Set Java Cryptography Extension (JCE)
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
1. Create a QMetry User by executing below commands. (Only a user with root privileges can add a user, if you're not using a root privileges user, prefix commands with a 'sudo' ).
- groupadd qmetry
- useradd -g qmetry qmetry
- passwd qmetry
- echo 'qmetry ALL=(ALL:ALL) ALL' >> /etc/sudoers ( Note: For a non-root user if you get an error while executing this command use : sudo bash -c "echo 'qmetry ALL=(ALL:ALL) ALL' >> /etc/sudoers" )
- su qmetry
2. Download QMetry Test Management Installer
- Raise a ticket on qtmprofessional@qmetrysupport.atlassian.net to get the installer for your operating system.
- You will receive the installer package in zip. Unzip it under home directory e.g /home/qmetry
3. Run the installer
- Step 1: On the Linux server, extract the ZIP file in the destination directory where you want QMetry to be installed. This will be home directory where QMetry data like logs will be stored.
- Step 2 : Open the terminal
- Give permission to qmetry.sh file through the following command:
- cd /home/qmetry/QMetry
- sudo chmod +x qmetry.sh
- Give permission to qmetry.sh file through the following command:
- Step 3: Enter the following command and then pass the parameters mentioned.
- sudo ./qmetry.sh
Pass the following parameters one by one, to set the default value just hit Enter:
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 |
|
- Step 4: The process should take 3-4 minutes to complete. On completion of the installation process, it shows the success message with url to access QMetry. Note down this URL for later reference.
4. Enter your license
- Get your QMetry Test Management License file by providing your Domain URL as mentioned in Step 3 above to QMetry Support and as mentioned under the Before you begin section.
- Copy the license.key file in the /home/qmetry/QMetry/bin/ directory.
5. Restart Services
- Stop MySQL : sudo service mysql.server stop
- Start MySQL : sudo service mysql.server start
- Go to QMetry bin directory: cd /home/qmetry/QMetry/bin
- Restart Services in below sequence:
- Stop Tomcat : sudo ./shutdown.sh
- Start Tomcat : sudo ./startup.sh
- Restart Services in below sequence:
6. Start using QMetry Test Management
- That's it! Your QMetry Test Management site is accessible from your base URL or a URL like this:
http://<Domain_URL>/
- You can login to QMetry with username - `admin` and password chosen during step 3 while running the installer.
7. Troubleshooting
If you are having any issues during the upgrade process, write us at qtmprofessional@qmetrysupport.atlassian.net. This will automatically open a ticket with our support team and help you to follow the progress.
Back to QMetry All Products Help Page