如何编译安装最新版本orangefs

简介: 如何编译安装最新版本orangefs 2.10.0

orangefs 2.10.0版本特性

orangefs 2.10.0添加了不少功能特性,作为pvfs的分支之一,orangefs是一个优秀的值得研究的并行文件系统,根据链接

可以知道这次的版本更新带了以下特性:

  • general updates
  1. numerous autotools related m4 files are updated.
  2. code refactored in numerous places to eliminate compiler warnings from new versions of gcc.
  3. documentation updates.
  • Server
  1. updated formatting to conform to standard in simple-stripe code.
  • Clients
  1. build liborangefs by default. liborangefs provides an orangefs version of posix system calls.
  2. Windows Client
    - Retargeted Client to the user mode file system library “dokany” v1.5.1.1000. (See https://github.com/dokan-dev/dokany)
    - Retargeted build to Visual Studio 2022.
    - Updated Event Logging for modern versions of Windows.
    - Removed obsolete security modes.
    - Updated the executable installer to install dokany and necessary Visual C++ runtime libraries.
    - Updated OpenSSL.
    - Made several quality-of-life improvements.
  • bmi
  1. Eliminated IBV_EVENT_WQ_FATAL warnings
  2. Added a new RDMA module:
  • Utilizes the RDMA Communication Manager library (librdmacm), abstracting transport-specific details out of connection management
  • Adds RoCE v2 support to BMI
  1. Added a new experimental InfiniBand module for future development:
  • Still a work in progress and minimally tested
  • Current experimental changes include:
  • Improved connection-based reference counting

安装过程

这里我使用的环境是fedora38,为什么使用这样一个系统版本,主要原因是在查看官方文档时,发现它对红帽系的支持更好,且2.10.0版本中,5.15.0以上的内核版本似乎提供更好的性能,所以我用了一个较新的系统版本,在生产环境中,应该更推荐almalinux9或者rocky9

我们先安装解决一些包的依赖问题:

sudo dnf update -y


sudo yum -y install gcc flex bison openssl-devel libattr-devel kernel-devel perl make automake


sudo dnf install -y "Development Tools"


然后下载2.10.0 release源码包

wget https://github.com/waltligon/orangefs/releases/download/v.2.10.0/orangefs-2.10.0.tar.gz


准备开始编译,先解压

tar zxf orangefs-2.10.0.tar.gz
cd orangefs


生成configure并检查缺少的包

./prepare


执行configure

./configure --prefix=/opt/orangefs --with-kernel=/lib/modules/6.5.5-200.fc38.x86_64/build/ --with-db-backend=lmdb --enable-shared --enable-epoll --enable-racache --enable-ucache --enable-visual


到这一步应该会出现下述报错:

configure: error: The kernel source tree does not appear to be 2.6 or 3.X or 4.X


这个问题我怀疑是configure里面还是指定需要4.*以下的内核版本,我们进去把这部分注释掉,如下述图片这样

安装

make & make install
目录
相关文章
|
Java 关系型数据库 Oracle
|
Linux C语言 C++
CentOS 7.6 编译安装最新版本GCC 9.2.0 实录
CentOS 7.6 编译安装最新版本GCC 9.2.0 实录,GCC是Linux的核心模块,升级可能会导致一些问题,请谨慎升级,升级之前做好备份工作。
|
2月前
|
弹性计算 关系型数据库 MySQL
一键部署LNMP(源码安装版本)
【4月更文挑战第29天】
30 2
|
2月前
|
开发者
0-hackbar最新版本(2.3.1)工具安装(超详细)
0-hackbar最新版本(2.3.1)工具安装(超详细)
|
2月前
|
存储 小程序 API
ModStartBlog 稳定版 v9.0.0
ModStartBlog 稳定版 v9.0.0
25 0
|
2月前
|
JavaScript Linux iOS开发
nodejs最新版本安装
【1月更文挑战第16天】nodejs最新版本安装
97 4
|
Linux
CentOS 7下源码编译安装新版本内核
CentOS 7下源码编译安装新版本内核
1691 0
CentOS 7下源码编译安装新版本内核
安装最新版本的PHPUnit后,不能使用
我使用的是widows系统。本来3.7.8版本的Phpunit用的是非常顺畅的,最近重新安装phpunit,安装了最小版本,然后在使用的时候就会报很多各种错误。无奈之下只能降版本到3.7.8