# 官方文档 https://help.aliyun.com/zh/oss/developer-reference/install-ossfs # 通过源码方式安装 sudo yum makecache sudo yum install automake gcc-c++ git libcurl-devel libxml2-devel fuse-devel make openssl-devel git clone https://github.com/aliyun/ossfs.git cd ossfs ./autogen.sh # 在下面这一步会报错,提示需要fuse版本需要大于指定版本 ./configure make make install # 在almalinux9中,fuse叫fuse3和fuse3-devel,但是无法被ossfs编译使用,手动安装fuse和fuse-devel # 通过rpmfind网站查到centos stream9的包并安装 # 先装fuse yum install -y https://rpmfind.net/linux/centos-stream/9-stream/BaseOS/x86_64/os/Packages/fuse-2.9.9-17.el9.x86_64.rpm # 装fuse-libs,会被fuse-devel依赖 yum install -y https://rpmfind.net/linux/centos-stream/9-stream/BaseOS/x86_64/os/Packages/fuse-libs-2.9.9-17.el9.x86_64.rpm yum install -y https://rpmfind.net/linux/centos-stream/9-stream/CRB/x86_64/os/Packages/fuse-devel-2.9.9-17.el9.x86_64.rpm 再次 ./configure 通过
按照官方文档继续配置剩下的部分。
原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/5517.html