---
title: 准备Lustre源
description: "1. 创建build用户。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengsdss/ecosystemEnable/Lustre/openmind_kunpenglustre_04_0005.html
sourcePath: /source/zh/kunpengsdss/ecosystemEnable/Lustre/openmind_kunpenglustre_04_0005.html
indexId: ee7dac500bfbe458204cc89cbe71506c34a9254859daf0727b86811c4c3c115181
---
# 准备Lustre源

1. 创建build用户。
  1 useradd -m build

2. 进入build用户和改变当前目录。
  1 2 su build cd $HOME

3. 下载Lustre源。

  - 方式一：若可以访问外部网络，则可以使用wget下载。
    1 wget 'https://git.whamcloud.com/?p=fs/lustre-release.git;a=snapshot;h=4e05f3b70b73de54690ec08a4638d80e8f8c6e4e;sf=tgz' -O lustre-release.tar.gz

  - 方式二：本地下载。
    获取链接(https://git.whamcloud.com/fs/lustre-release.git)

    选择2.13.0版本点击Snapshot下载压缩包。

4. 解压并进入Lustre源下载目录。
  1 2 tar -zxvf lustre-release.tar.gz cd lustre-release-4e05f3b

5. 运行sh ./autogen.sh。
  1 sh ./autogen.sh

  结果如下。

  1 2 3 4 5 6 configure.ac:15: installing 'config/compile' configure.ac:10: installing 'config/config.guess' configure.ac:10: installing 'config/config.sub' configure.ac:12: installing 'config/install-sh' configure.ac:12: installing 'config/missing' libcfs/libcfs/autoMakefile.am: installing 'config/depcomp'
