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

Installing munge

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to install the system dependency package:

    yum install bzip2-devel boost-devel-1.53.0-28.el7.aarch64 libuuid-devel.aarch64 libX11-devel.aarch64 -y

  3. Run the following command to build the munge RPM package:

    rpmbuild -tb --clean munge-0.5.13.tar.xz

  4. Check whether the RPM package is successfully created.

    ls /root/rpmbuild/RPMS/aarch64/ | grep munge

    munge-0.5.13-1.el7.aarch64.rpm

    munge-debuginfo-0.5.13-1.el7.aarch64.rpm

    munge-devel-0.5.13-1.el7.aarch64.rpm

    munge-libs-0.5.13-1.el7.aarch64.rpm

  5. Create a mungerpm directory in /path/to/MUNGE and copy the munge RPM package from /root/rpmbuild/RPMS/aarch64/ to /path/to/MUNGE/mungerpm.

    mkdir -p mungerpm

    cp /root/rpmbuild/RPMS/aarch64/munge* /path/to/MUNGE/mungerpm -f

  6. Run the following command to install the munge RPM package:

    cd /path/to/MUNGE/mungerpm

    yum install -y munge-*