Linux Installation Command Reference Guide
Introduction
This guide is command reference for installing DxEnterprise and its dependencies on Linux. For a more detailed installation guide, view the Linux Installation Quick Start Guide.
Install Dependencies
Install Updates
- Red Hat/CentOS
- Ubuntu
yum update
apt update
apt upgrade
Ensure Hostname is Set and Unique
hostname
hostnamectl set-hostname <name>
Set Host Resolution for All Nodes and Vhosts
nano /etc/hosts
Install .NET Core Runtime
Install Remaining Dependencies
- Red Hat/CentOS
- Ubuntu
yum install zip udisks2
apt update
apt install zip udisks2
Install Product
Download the DxEnterprise Repository Configuration File
- Red Hat/CentOS
- Ubuntu
info
Replace the <distro>
parameter in the first command below with rhel7
, centos7
, or rhel8
to download the correct .conf file.
wget -O /etc/yum.repos.d/dh2i.repo https://repos.dh2i.com/<distro>/retail/repo.conf
tip
The architecture parameter [arch=amd64]
in the second command can be changed to arm64
or armhf
to install DxEnterprise on those platforms.
wget -qO- https://repos.dh2i.com/public.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/dh2i.gpg
sh -c 'echo deb [arch=amd64] https://repos.dh2i.com/ bionic retail >/etc/apt/sources.list.d/dh2i.list'
Install
- Red Hat/CentOS
- Ubuntu
yum install dxenterprise
apt-get update
apt-get install dxenterprise
Configure Using DxCLI
Activate Server License
dxcli activate-server AAAA-BBBB-CCCC-DDDD
Set Cluster Passkey - First Node Installation
dxcli cluster-set-secret
Activate Second Server
dxcli activate-server AAAA-BBBB-CCCC-DDDD
Join Cluster
dxcli join-cluster