DH2i DxOdyssey 21.0 Software: RHEL/CentOS Installation Quick Start Guide

Download the PDF

RHEL/CentOS Installation

This quick start guide describes how to install DxOdyssey on a Red Hat Enterprise Linux or CentOS server. Using this guide, the user will install DxOdyssey dependencies and software, then join a second server (gateway) into a gateway group.

Prerequisites

  • A physical or virtual machine running RHEL/CentOS 7 or 8. A second machine is required for joining two gateways into a gateway group.

Configure Server and Install Dependencies

  1. Update the server using the command sudo yum update. If prompted to confirm, enter Y.
  2. Ensure that the hostname is set and unique using the hostname command.
    • To rename the server, run sudo hostnamectl set-hostname <name>. The server must be restarted for the change to take effect.
  3. Install Microsoft .NET 3.1 Runtime using installation instructions from Microsoft. There are different instructions for Red Hat and CentOS servers.
  4. Install remaining DxOdyssey dependencies by running sudo yum install zip.
  5. OPTIONAL: Set host resolution for all servers (gateways) that will be participating in the gateway group using sudo nano /etc/hosts. Write the IP address and hostname of the servers to the file and save.

Install DxOdyssey

  1. Download the DxOdyssey repository configuration file by running the command sudo wget -O /etc/yum.repos.d/dh2i.repo https://repos.dh2i.com/<distro>/retail/repo.conf.

    NOTE: Replace the <distro> parameter with rhel7, centos7, or rhel8 to download the correct .conf file. For CentOS 8, use rhel8.

  2. Run the command sudo yum install -y dxodyssey.

Configure DxOdyssey

  1. Activate the server using the command sudo dxcli activate-server.

    Syntax

    dxcli activate-server <key> [gateway]

    Parameters

    Name Description Required
    key The license key. True
    gateway The name of the gateway (comma-separated list of multiples). False

    Example

    dxcli activate-server AAAA-BBBB-CCCC-DDDD

  2. Set the gateway group passkey using the command sudo dxcli gateway-group-set-secret.

    Syntax

    dxcli gateway-group-set-secret

    Parameters

    Interactive only.

    Example

    dxcli gateway-group-set-secret

  3. DxOdyssey utilizes NAT matchmaking to easily connect servers across the internet. Use the command sudo dxcli set-otpk to set a One-Time PassKey for the gateway group. The passkey expires one hour after creation by default.

    Syntax

    dxcli set-otpk [ttl] [otpk]

    Parameters

    Name Description Required
    ttl The time the key will expire. False
    otpk The One-Time PassKey in base64. False

    Example

    dxcli set-otpk

Setup Second Gateway and Join to Gateway Group

  1. Complete all the steps in the Configure Server and Install Dependencies section for the second gateway.
  2. Complete the Install DxOdyssey section and step one of the Configure DxOdyssey section for the second gateway.
  3. Join the second gateway to the gateway group using sudo dxcli join-gateway-group and follow the prompts. When asked to use a NAT proxy, select Y. Enter the OTPK to join the gateway group.

    Syntax

    dxcli join-gateway-group

    Parameters

    Interactive only.

    Example

    dxcli join-gateway-group

References

Download the PDF