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

Installing the Closed-Source KSAL Package

Install KSAL on all nodes in the cluster. KSAL is installed using an RPM package. Decompress the ZIP package to obtain the RPM package and install KSAL.

To obtain the KSAL zstd installation package, refer to Compiling and Installing the KSAL zstd Algorithm Package.

Procedure

  1. Obtain BoostKit-KSAL_1.10.0.zip and save it to the /home directory.
  2. Decompress BoostKit-KSAL_1.10.0.zip in the /home directory.
    unzip BoostKit-KSAL_1.10.0.zip
  3. Install the extracted RPM package.
    rpm -ivh /home/libksal-release-1.10.0.oe1.aarch64.rpm
  4. Check the RPM installation.
    rpm -qi libksal
    Command output:
    Name        : libksal
    Version     : 1.10.0
    Release     : 1
    Architecture: aarch64
    Install Date: Mon 16 Dec 2024 03:50:00 PM CST
    Group       : Unspecified
    Size        : 808257
    License     : GPL
    Signature   : (none)
    Source RPM  : libksal-1.10.0-1.src.rpm
    Build Date  : Mon 16 Dec 2024 02:50:00 PM CST
    Build Host  : buildhost
    Summary     : Kunpeng Storage Acceleration Library
    Description :
    Kunpeng Storage Acceleration Library
    Product Name:           Kunpeng BoostKit
    Product Version:        24.0.0
    Component Name:         BoostKit-KSAL
    Component Version:      1.10.0
    Component AppendInfo:   kunpeng
  5. Configure environment variables.

    Path to the KSAL dynamic library file: /usr/lib64/

    Path to the KSAL header file: /usr/include/ksal/
    1. Open the /etc/profile file.
      vi /etc/profile
    2. Press i to enter the insert mode and add the following content to the end of the file:
      export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
      export LD_LIBRARY_PATH=/usr/include/ksal:$LD_LIBRARY_PATH
    3. Press Esc to exit the insert mode. Type :wq! and press Enter to save and exit the file.
  6. Run the following command to make the environment variables take effect:
    source /etc/profile
  7. After the closed-source KSAL package is installed, perform the following operations as required: