---
title: 安装Lustre
description: "1. 下载源码包lustre-2.12.9-1.src.rpm、lustre-client-dkms-2.12.9-1.el7.src.rpm 。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengsdss/ecosystemEnable/Lustre/openmind_kunpenglustre_04_0012.html
sourcePath: /source/zh/kunpengsdss/ecosystemEnable/Lustre/openmind_kunpenglustre_04_0012.html
indexId: 6cd2fa9a0d179d6c71fbbae99e597c6bcf9cee93cc69980b1e938aa1e9ca914d81
---
# 安装Lustre

1. 下载源码包lustre-2.12.9-1.src.rpm、lustre-client-dkms-2.12.9-1.el7.src.rpm 。
  获取链接(https://downloads.whamcloud.com/public/lustre/latest-2.12-release/el7/client/SRPMS/)

2. 安装源码包。
  1 rpm -ivh lustre-2.12.9-1.src.rpm lustre-client-dkms-2.12.9-1.el7.src.rpm

3. 进入安装目录。
  1 cd /root/rpmbuild/SOURCES

4. 解压源码包。
  1 tar -xvf lustre-2.12.7.tar.gz

5. 进行安装编译。
  1 2 3 cd lustre-2.12.7 ./configure make rpms

  成功后可以查看到相关RPM包。

6. 用RPM包安装Lustre。
  1 rpm -ivh --nodeps kmod-lustre-client*.rpm lustre-client*.rpm lustre-iokit*.rpm

7. 配置LNet网络。
  具体请参考《LNet路由器配置指南(https://wiki.lustre.org/LNet_Router_Config_Guide)》。
