Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 1

Table of Contents
absoluteUrltrue

...

1. Java v1.8.x must be installed (Reference: How to install Java), and JAVA_HOME must be setup.

Expand
titleExpand 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_xx
         export JRE_HOME=/usr/java/jdk1.8.0_xx/jre
         PATH=$PATH:/usr/java/jdk1.8.0_xx/bin:/opt/jdk1.8.0_xx/jre/bin
         export PATH
      • Save configuration with Esc + :wq!

2. Set Java Cryptography Extension (JCE)

Expand
titleDownload & Set Java Cryptography Extension (JCE)
 Set Java Cryptography Extension (JCE)

3. Installed MySQL v5.7.xx

Expand
titleInstalling 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

...