DxOdyssey Linux Installation Quick Start Guide
Introduction
This quick start guide describes how to install DxOdyssey on a Linux server. Using this guide, the user will install DxOdyssey dependencies and software, then join a second server (gateway) into a gateway group.
Prerequisites
- Two physical or virtual machines running any mix of:
- RHEL 7 or 8
- CentOS 7
- Ubuntu 16.04, 18.04, or 20.04
- A valid DxOdyssey license. A fully featured Developer Edition is available for free for non-production use. To purchase DxOdyssey software for production workloads, visit the DH2i Store.
Installation
This section guides the user through preparing the VM for a DxOdyssey installation.
Update Server and Install Dependencies
-
Update the server. If prompted to confirm, enter Y.
- Red Hat/CentOS
- Ubuntu
yum update
apt update
apt upgrade -
Ensure that the hostname is set and unique using the
hostname
command. If the server needs to renamed, run thehostnamectl
command to rename the server. The server must be restarted for the change to take effect.hostnamectl set-hostname <name>
-
Install Microsoft .NET 3.1 Runtime using installation instructions from Microsoft:
-
Install the remaining DxOdyssey dependencies.
- Red Hat/CentOS
- Ubuntu
yum install zip
apt update
apt install zip
Install DxOdyssey
- Red Hat/CentOS
- Ubuntu
-
Download the DxOdyssey repository configuration file.
noteReplace the
<distro>
parameter in the example below withrhel7
,centos7
, orrhel8
to download the correct .conf file.wget -O /etc/yum.repos.d/dh2i.repo https://repos.dh2i.com/<distro>/retail/repo.conf
-
Install the product.
yum install dxodyssey
-
Download the DH2i package signing key.
wget -qO- https://repos.dh2i.com/public.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/dh2i.gpg
-
Register the DxOdyssey Ubuntu repository.
tipThe architecture parameter
[arch=amd64]
can be changed toarm64
orarmhf
to install DxOdyssey on those platforms.sh -c 'echo deb [arch=amd64] https://repos.dh2i.com/ bionic retail >/etc/apt/sources.list.d/dh2i.list'
-
Update the Ubuntu package list.
apt-get update
-
Install the product.
apt-get install dxodyssey
Setup DxOdyssey and Create a Gateway Group
This section describes how to configure DxOdyssey after installation and setup a gateway group.
Configure DxOdyssey
-
Activate the server using the command
dxcli activate-server
.Example
dxcli activate-server AAAA-BBBB-CCCC-DDDD
-
Set the gateway group passkey using the command
dxcli gateway-group-set-secret
.infoThe non-interactive version of this command is
dxcli gateway-group-set-secret-ex
.Example
dxcli gateway-group-set-secret
-
DxOdyssey utilizes NAT Matchmaking Service to easily connect servers across the internet. Use the command
dxcli set-otpk
to set a One-Time PassKey for the gateway group. The passkey expires one hour after creation by default.Example
dxcli set-otpk
Setup Second Gateway and Join into Gateway Group
-
Complete all the steps in the Installation section for the second gateway.
-
Activate the server using the command
dxcli activate-server
.Example
dxcli activate-server AAAA-BBBB-CCCC-DDDD
-
Join the second gateway to the gateway group using the command
dxcli join-gateway-group
and follow the prompts. Select Y when prompted to join via NAT proxy. Use the default NAT proxy of match.dh2i.com and enter the OTPK to join the gateway group.infoThe non-interactive version of this command is
dxcli join-gateway-group-ex
.Example
dxcli join-gateway-group