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

Installing munge

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to mount the /home directory of the master node to testnode1 and testnode2:

    mount master:/home /home

  3. Install the munge RPM package on testnode1 and testnode2.

    cd /home/mungerpm

    yum localinstall -y munge*

  4. On the master, testnode1, and testnode2 nodes, change the permissions for the munge directory.

    chmod -Rf 700 /etc/munge

    chmod -Rf 711 /var/lib/munge

    chmod -Rf 700 /var/log/munge

    chmod -Rf 0755 /var/run/munge

  5. Start the ntpd service on the master node.

    yum install -y ntp

    systemctl start ntpd

  6. On testnode1 and tesnode2, synchronize the system time with the master node.

    ntpdate master

  7. Copy /etc/munge/munge.key from the master node to testnode1 and testnode2.

    scp /etc/munge/munge.key testnode1:/etc/munge/

    scp /etc/munge/munge.key testnode2:/etc/munge/

  8. On testnode1 and tesnode2, change the permissions for the /etc/munge/munge.key file.

    chown munge.munge /etc/munge/munge.key

  9. Start munge on the master node, testnode1, and testnode2.

    systemctl start munge

    systemctl enable munge