Prerequisites

Before the configuration, ensure that the required dependencies have been installed in the system environment. For details about how to install the dependencies, see this section.

This section applies to users who use the Atlas 200 AI accelerator module (RC) and Atlas 500 Pro AI edge server (model 3000). Users who use the Atlas 500 AI edge station (model 3000) can skip this section.

  • Before installing the dependencies, check whether they have been installed based on the Description column in Table 1. If the dependencies have been installed, do not install them again. If not, install them based on the Installation Command or Procedure column.
  • Ensure that you can run the su command to switch to another user to run commands.

    The modification method is as follows:

    Find the /etc/pam.d/su file and add auth sufficient pam_rootok.so to the auth module.

  • Linx 6.0.90, Linx 6.0.100, and UOS 20 do not have default online addresses for installation sources. Therefore, you are advised to add installation sources before installing dependencies.
  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, and UOS 20, if an error is reported when you install the dependencies, run the apt update command to update the dependency packages before installing the dependencies.
  • This document also describes how to install dependencies offline on CentOS 7.6. (Other systems do not support the offline dependency installation. You need to install dependencies online.) For details, see Installing Dependencies Offline on CentOS.
  • Check and clear the firewall restriction rules for ports 4999 and 8886.

Network Bandwidth Requirements

To ensure the normal running of the AtlasEdge and avoid frame freezing or slow upload and download, the network bandwidth must meet the following requirements:

  • The bandwidth between the edge device where the AtlasEdge is located and the web client must be equal to or greater than 20 Mbit/s.
  • The bandwidth between the edge device where the AtlasEdge is located and FusionDirector must be equal to or greater than 50 Mbit/s.
  • Other network requirements: latency < 30 ms, packet loss rate < 3%

Installing Dependencies

Table 1 Dependencies to be installed

Dependency

Description

Installation Command or Procedure

sudo

Run the sudo command to check whether sudo has been installed. If the sudo command exists, sudo has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install sudo
  • For EulerOS or CentOS 7.6, run the following command:
    yum install sudo

wget

Run the wget command to check whether wget has been installed. If the wget command exists, wget has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install wget
  • For EulerOS or CentOS 7.6, run the following command:
    yum install wget

Docker

Run the docker command to check whether Docker has been installed. If the docker command exists, Docker has been installed.

Run the cat /etc/group |grep docker command to check whether the Docker group exists in the environment. If it does not exist in the environment, run the groupadd -g docker command to create it.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install docker.io
  • For EulerOS, run the following command:
    yum install docker
  • For details about how to install the dependency in CentOS 7.6, see Installing Dependencies Offline on CentOS.
NOTE:
  • For CentOS, if the following message is displayed by running the docker ps command after Docker has been installed, run the systemctl restart docker command to restart the Docker service.
    Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
  • For security purposes, after Docker is successfully installed, you can perform security hardening based on service requirements. For details about the hardening items, see Other Products.
  • GO has discarded the Common Name certificate verification. If you want to use the Docker constructed using GO 1.15 to 1.17 and the certificate verification function, perform the following operations:
    1. Configure Environment=GODEBUG=x509ignoreCN=0 in the [Service] field in the Docker service configuration file docker.service.
    2. Run the systemctl daemon-reload and systemctl restart docker.service commands for the configuration to take effect.

inotifywait

Run the inotifywait command to check whether inotifywait has been installed. If the inotifywait command exists, inotifywait has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install inotify-tools
  • For EulerOS or CentOS 7.6, run the following command:
    yum install inotify-tools
NOTE:
  • In CentOS, if the error message No package inotify-tools available is displayed when you install inotifywait, you need to install the Linux extension package of the enterprise edition and then reinstall inotifywait. The command for installing the extension package is: yum install epel-release
  • If the Unable to find a match error is reported when you run the preceding command to install inotifywait in EulerOS, perform the following steps to install inotifywait offline:
    1. Obtain the software package (for example, inotify-tools-3.14-9.el7.aarch64.rpm) and upload it to a directory (for example, /home) on the server.
    2. Go to the directory where the software package is stored and install the software package.
      cd /home
      rpm -ivh inotify-tools-3.14-9.el7.aarch64.rpm
    3. Check whether inotifywait is successfully installed.
      inotifywait
      If the following information is displayed, inotifywait is successfully installed:
      [root@localhost ~]# inotifywait
      No files specified to watch!

gzip

Run the gzip command to check whether gzip has been installed. If the gzip command exists, gzip has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install gzip
  • For EulerOS or CentOS 7.6, run the following command:
    yum install gzip

OpenSSL

Run the openssl command to check whether OpenSSL has been installed. If the openssl command exists, OpenSSL has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install openssl
  • For EulerOS or CentOS 7.6, run the following command:
    yum install openssl

systemctl

systemd-run

Run the systemctl command to check whether systemctl has been installed. If the systemctl command exists, systemctl has been installed.

Run the systemd-run command to check whether systemd-run has been installed. If the systemd-run command exists, systemd-run has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install systemd
  • For EulerOS or CentOS 7.6, run the following command:
    yum install systemd

getconf

Run the getconf command to check whether getconf has been installed. If the getconf command exists, getconf has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install libc-bin
  • For EulerOS or CentOS 7.6, run the following command:
    yum install glibc-common

expect

Run the expect command to check whether expect has been installed. If the expect command exists, expect has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install expect
  • For EulerOS or CentOS 7.6, run the following command:
    yum install expect

iptables

Run the iptables command to check whether iptables has been installed. If the iptables command exists, iptables has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install iptables
  • For EulerOS or CentOS 7.6, run the following command:
    yum install iptables

ethtool

Run the ethtool command to check whether ethtool has been installed. If the ethtool command exists, ethtool has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install ethtool
  • For EulerOS or CentOS 7.6, run the following command:
    yum install ethtool

sed

Run the sed command to check whether sed has been installed. If the sed command exists, sed has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install sed
  • For EulerOS or CentOS 7.6, run the following command:
    yum install sed

find

Run the find command to check whether find has been installed. If the find command exists, find has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install findutils
  • For EulerOS or CentOS 7.6, run the following command:
    yum install findutils

grep

Run the grep command to check whether grep has been installed. If the grep command exists, grep has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install grep
  • For EulerOS or CentOS 7.6, run the following command:
    yum install grep

awk

Run the awk command to check whether AWK has been installed. If the awk command exists, AWK has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install gawk
  • For EulerOS or CentOS 7.6, run the following command:
    yum install gawk

mount

Run the mount command to check whether mount has been installed. If the mount command exists, mount has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install mount
  • For EulerOS or CentOS 7.6, run the following command:
    yum install util-linux

tar

Run the tar command to check whether tar has been installed. If the tar command exists, tar has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install tar
  • For EulerOS or CentOS 7.6, run the following command:
    yum install tar

Python

Run the python3 command to check whether Python has been installed. If the version information is displayed, Python has been installed and whether the Python version ranges from 3.6.0 to 3.7.11 is checked. If Python is not installed or the version does not range from 3.6.0 to 3.7.11, install or upgrade Python.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install python3
  • For EulerOS or CentOS 7.6, run the following command:
    yum install python3
NOTE:

If Python is installed using the source package, compile and install zlib first and ensure that the sqlite3 built-in module of Python 3 is available. For example, in the Ubuntu system, you need to install the libsqlite3-dev system dependency and then compile and install Python 3.

unzip

Run the unzip command to check whether tar has been installed. If the unzip command exists, tar has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install unzip
  • For EulerOS or CentOS 7.6, run the following command:
    yum install unzip

ifconfig

Run the ifconfig command to check whether tar has been installed. If the ifconfig command exists, tar has been installed.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install net-tools
  • For EulerOS or CentOS 7.6, run the following command:
    yum install net-tools

dataclasses

dataclasses is a dependency library required for AtlasEdge running. Run the pip3 list command to check whether dataclasses has been installed. If yes, you do not need to install it.

  1. Install pip.
    • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
      apt install python3-pip
    • For EulerOS or CentOS 7.6, run the following command:
      yum install python3-pip
  2. Run the pip3 install dataclasses command to install dataclasses.
    NOTE:

    If the Python version is 3.6, you need to manually install dataclasses. If the Python version is 3.7, you do not need to manually install dataclasses.

haveged

KMC encryption depends on random numbers. To prevent exhaustion of random numbers, you need to install haveged.

Run the ps -axu |grep haveged command to check whether haveged has been installed. If havaged is displayed in the command output, it has been installed and you do not need to install it again.

  • For Ubuntu, Linx 6.0.90, Linx 6.0.100, or UOS 20, run the following command:
    apt install haveged
  • For EulerOS or CentOS 7.6, run the following command:
    yum install haveged
NOTE:
After haveged is installed, run the following commands to start the haveged service:
systemctl enable haveged
systemctl start haveged

For installed open-source third-party software, such as Python and flask, visit the CVE official website to confirm known vulnerabilities in the corresponding open-source software version, and fix them by upgrading the version or using patches.