Installation Environment Setup

The OM SDK provides an installation script that allows the software package to be installed by running the install.sh command.

Preparations

  • Obtain the installation package.
  • Log in to the edge device where the software package is to be installed.
  • Check the drive space and ensure that the drive space is sufficient. The drive space must be at least twice the size of the obtained installation package.
  • Check whether the edge device runs normally.

Required Tools

Before installing the software, prepare for the installation by referring to Table 1.

Table 1 Tools for installation

Dependency

Description

Installation Command or Procedure

net-tools

Used to configure and manage network functions.

Run the following command for installation:

  • openEuler
    dnf install ethtool -y
  • Ubuntu
    apt-get install net-tools -y

ntp

An NTP protocol-based server that synchronizes the time between a distributed time server and a client, so as to synchronize the time of computers on a network to the Coordinated Universal Time (UTC).

Run the following command for installation:

  • openEuler
    dnf install ntp -y
  • Ubuntu
     apt-get install ntp -y

smartmontools

Open-source drive control and monitoring tool.

Run the following command for installation:

  • openEuler
    dnf install smartmontools -y
  • Ubuntu
    apt-get install smartmontools -y

nfs

A network file system that allows computers on a network to share resources.

Run the following command for installation:

  • openEuler
    dnf install nfs-utils -y
  • Ubuntu
    apt-get install nfs-common -y

ethtool

Used to query and set NIC parameters.

Run the following command for installation:

  • openEuler
    dnf install ethtool -y
  • Ubuntu
    apt-get install ethtool -y

parted

Used to partition hard drives or adjust partition sizes.

Run the following command for installation:

  • openEuler
    dnf install parted -y
  • Ubuntu
    apt-get install parted -y

arping

Used to send ARP request packets.

Run the following command for installation:

  • openEuler
    dnf install arping -y
  • Ubuntu
    apt-get install arping -y
NOTE:

Ensure that the arping version is 2.19 or later.

inotify-tools

A tool set used to monitor file system events. It can automatically execute specified commands or scripts when files or directories change.

Run the following command for installation:

  • openEuler
    dnf install inotify-tools -y
  • Ubuntu
    apt-get install inotify-tools -y