开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
1 Star 0 Fork 163

micoder/FastCFS

forked from happyfish100/FastCFS
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
文件
master
分支 (7)
标签 (11)
master
read_ahead
iovec_array
config_simplify
storage_pool
connection_manager
write_combine
V2.3.0
V2.2.0
V2.1.0
V2.0.1
V2.0.0
V1.3.0
V1.2.1
V1.2.0
V1.1.1
V1.1.0
V1.0.0
master
分支 (7)
标签 (11)
master
read_ahead
iovec_array
config_simplify
storage_pool
connection_manager
write_combine
V2.3.0
V2.2.0
V2.1.0
V2.0.1
V2.0.0
V1.3.0
V1.2.1
V1.2.0
V1.1.1
V1.1.0
V1.0.0
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
master
分支 (7)
标签 (11)
master
read_ahead
iovec_array
config_simplify
storage_pool
connection_manager
write_combine
V2.3.0
V2.2.0
V2.1.0
V2.0.1
V2.0.0
V1.3.0
V1.2.1
V1.2.0
V1.1.1
V1.1.0
V1.0.0
FastCFS
/
FastCFS.spec.in
FastCFS
/
FastCFS.spec.in
FastCFS.spec.in 3.61 KB
一键复制 编辑 原始数据 按行查看 历史
happyfish100 提交于 2021年09月26日 11:02 +08:00 . images/wechat_group.jpg refreshed
%define FastCFSFused FastCFS-fused
%define FastCFSUtils FastCFS-utils
%define FastCFSAPI FastCFS-api-libs
%define FastCFSAuthServer FastCFS-auth-server
%define FastCFSAPIDevel FastCFS-api-devel
%define FastCFSFuseConfig FastCFS-fuse-config
%define CommitVersion %(echo $COMMIT_VERSION)
Name: FastCFS
Version: 2.3.0
Release: 1%{?dist}
Summary: a high performance cloud native distributed file system for databases, KVM and K8s
License: AGPL v3.0
Group: Arch/Tech
URL: http://github.com/happyfish100/FastCFS/
Source: http://github.com/happyfish100/FastCFS/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: fastDIR-devel >= 2.3.0
BuildRequires: faststore-devel >= 2.3.0
BuildRequires: fuse3-devel >= 3.10.1
Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id
Requires: %{FastCFSFused} = %{version}-%{release}
Requires: %{FastCFSUtils} = %{version}-%{release}
%description
a high performance distributed file system which can be used as the back-end storage of databases and cloud platforms.
commit version: %{CommitVersion}
%package -n %{FastCFSFused}
Requires: %{FastCFSAPI} = %{version}-%{release}
Requires: fuse3 >= 3.10.1
Requires: %{FastCFSFuseConfig} >= 1.0.0
Summary: FastCFS fuse
%package -n %{FastCFSUtils}
Requires: libserverframe >= 1.1.8
Summary: FastCFS utils
%package -n %{FastCFSAPI}
Requires: fastDIR-client >= 2.3.0
Requires: faststore-client >= 2.3.0
Summary: FastCFS api library
%package -n %{FastCFSAPIDevel}
Requires: %{FastCFSAPI} = %{version}-%{release}
Summary: header files of FastCFS api library
%package -n %{FastCFSAuthServer}
Requires: fastDIR-client >= 2.3.0
Requires: FastCFS-auth-config >= 2.3.0
Summary: FastCFS auth server
%package -n %{FastCFSFuseConfig}
Requires: faststore-config >= 1.0.0
Summary: FastCFS fuse config files for sample
%description -n %{FastCFSFused}
FastCFS fuse
commit version: %{CommitVersion}
%description -n %{FastCFSUtils}
FastCFS utils
commit version: %{CommitVersion}
%description -n %{FastCFSAPI}
FastCFS api library
commit version: %{CommitVersion}
%description -n %{FastCFSAPIDevel}
This package provides the header files of libfcfsapi
commit version: %{CommitVersion}
%description -n %{FastCFSAuthServer}
FastCFS auth server
commit version: %{CommitVersion}
%description -n %{FastCFSFuseConfig}
FastCFS fuse config files for sample
commit version: %{CommitVersion}
%prep
%setup -q
%build
./make.sh --exclude=auth_client clean && ./make.sh --exclude=auth_client
%install
rm -rf %{buildroot}
DESTDIR=$RPM_BUILD_ROOT ./make.sh --exclude=auth_client install
FUSE_CONFDIR=%{buildroot}/etc/fastcfs/fcfs/
SYSTEMDIR=%{buildroot}/usr/lib/systemd/system/
mkdir -p $FUSE_CONFDIR
mkdir -p $SYSTEMDIR
cp conf/*.conf $FUSE_CONFDIR
cp systemd/fastcfs.service $SYSTEMDIR
cp systemd/fcfs_authd.service $SYSTEMDIR
%post
%preun
%postun
%clean
rm -rf %{buildroot}
%files
%post -n %{FastCFSFused}
mkdir -p /opt/fastcfs/fcfs
mkdir -p /opt/fastcfs/fuse
%files -n %{FastCFSFused}
/usr/bin/fcfs_fused
%config(noreplace) /usr/lib/systemd/system/fastcfs.service
%files -n %{FastCFSUtils}
/usr/bin/fcfs_active_test
%files -n %{FastCFSAPI}
%defattr(-,root,root,-)
/usr/lib64/libfcfsapi.so*
%files -n %{FastCFSAPIDevel}
%defattr(-,root,root,-)
/usr/include/fastcfs/api/*
%post -n %{FastCFSAuthServer}
mkdir -p /opt/fastcfs/auth
%files -n %{FastCFSAuthServer}
/usr/bin/fcfs_authd
%config(noreplace) /usr/lib/systemd/system/fcfs_authd.service
%files -n %{FastCFSFuseConfig}
%defattr(-,root,root,-)
%config(noreplace) /etc/fastcfs/fcfs/*.conf
%changelog
* Fri Jan 1 2021 YuQing <384681@qq.com>
- first RPM release (1.0)
Loading...
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

简介

基于块存储的高性能通用分布式文件系统 FastCFS,可以作为数据库(MySQL、PostgresSQL、Oracle等)以及k8s和虚拟机(KVM等)的后端存储。
暂无标签
AGPL-3.0
使用 AGPL-3.0 开源许可协议
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/micoder/FastCFS.git
git@gitee.com:micoder/FastCFS.git
micoder
FastCFS
FastCFS
master
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /