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

Generating RPM Packages

Perform the operations in this section on all the four nodes.

  1. Download the BeeGFS 7.2.2 source package.
    1
    2
    cd /root
    wget https://git.beegfs.io/pub/v7/-/archive/7.2.2/v7-7.2.2.zip
    
  2. Decompress the source package.
    1
    unzip v7-7.2.2.zip
    
  3. Download the BeeGFS patch file and upload it to the directory where BeeGFS is located.

    Download it using the URL provided in OS and Software Requirements.

  4. Apply the patch.
    1
    patch -p1 < v4-0001-Separate-socket-operations-in-the-kernel-space.patch
    
  5. Build and generate RPM packages.
    1
    make package-rpm PACKAGE_DIR=packages BEEGFS_VERSION=7.2.2 RPMBUILD_OPTS="-D 'MAKE_CONCURRENCY <n>'"
    
    In the command in 5, <n> indicates the number of concurrent processes. Set this parameter based on the actual CPU configuration. Example:
    1
    make package-rpm PACKAGE_DIR=packages BEEGFS_VERSION=7.2.2 RPMBUILD_OPTS="-D 'MAKE_CONCURRENCY 8'"
    
  6. Copy the generated RPM packages to the /root/v7-7.2.2 directory.
    1
    2
    cp -r /root/v7-7.2.2/packages/RPMS/aarch64/* /root/v7-7.2.2
    cp -r /root/v7-7.2.2/packages/RPMS/noarch/* /root/v7-7.2.2