Table of Contents | ||
---|---|---|
|
...
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
...