Installing Command Dependencies

Table 1 Installation procedures

Dependency

Installation Command

iptables

  • Ubuntu OS:
    apt install iptables
  • openEuler OS:
    yum install iptables

uname

  • Ubuntu OS:
    apt install coreutils
  • openEuler OS:
    yum install coreutils

grep

  • Ubuntu OS:
    apt install grep
  • openEuler OS:
    yum install grep

useradd

  • Ubuntu OS:
    apt install passwd
  • openEuler OS:
    yum install passwd

dmidecode

  • Ubuntu OS:
    apt install dmidecode
  • openEuler OS:
    yum install dmidecode

systemctl

  • Ubuntu OS:
    apt install systemd
  • openEuler OS:
    yum install systemd

haveged

  • Ubuntu OS:
    apt install haveged
  • openEuler OS:
    yum install haveged
NOTE:
After haveged is installed, run the following commands to start the haveged service:
systemctl enable haveged
systemctl start haveged

Docker

The Docker version is later than 18.09. For details about how to install Docker, visit the Docker official website. Track Docker vulnerabilities and issues based on the official website and community in a timely manner to ensure that Docker has been installed with related patches.