我要评分
获取效率
正确性
完整性
易理解

Software Requirements

Category

Supported Version

Java

BiSheng JDK 1.8 (BiSheng JDK 1.8.0_262 recommended)

OS

HAF is compatible with CentOS 7.6, openEuler 20.03 LTS SP1, and openEuler 22.03 LTS.

OpenSSL

OpenSSL 1.1.1 or later

Python

Python 3.9.11 or later

Haveged

Any

  • openEuler 22.03 LTS is incompatible with BiSheng JDK 1.8_262, which must be replaced with BiSheng JDK 1.8.0_342.
  • The HAF service consumes random numbers on your system. To prevent program blocking, you must enable the haveged service.
    1. Install haveged. Skip this step if haveged has been installed.
      yum install -y haveged
    2. Enable the haveged service and configure it to start as the system boots.
      systemctl start haveged
      systemctl enable haveged.service
    3. Confirm the service is enabled.
      service haveged status
  • If the OpenSSL version is earlier than 1.1.1, the certificate fails to be issued. Upgrade OpenSSL to 1.1.1 or later.
    1. View the Open SSL version.
      openssl version

      If the version is earlier than 1.1.1, upgrade it.

    2. Obtain the software package.
      wget https://www.openssl.org/source/openssl-1.1.1n.tar.gz
    3. Decompress, compile, and install the package.
      tar -zxvf openssl-1.1.1n.tar.gz
      cd openssl-1.1.1n
      sudo ./config --prefix=/usr/local/openssl
      sudo make -j 16
      sudo make install
      sudo mv /usr/bin/openssl /usr/bin/openssl.bak
      sudo ln -sf /usr/local/openssl/bin/openssl /usr/bin/openssl
    4. Open the file and add /usr/local/openssl/lib to the end of the file.
      sudo vim /etc/ld.so.conf
    5. Make the setting to take effect.
      sudo ldconfig -v