FastDFS安装

本文介绍了如何在Linux环境中安装FastDFS,包括下载libfastcommon,安装FastDFS,配置tracker和storage,以及启动和检查服务状态。同时,文章还演示了文件的上传、下载、追加内容和删除操作。
摘要由CSDN通过智能技术生成

下载安装 libfastcommon
libfastcommon是从 FastDFS 和 FastDHT 中提取出来的公共 C 函数库,基础环境,安装即可 。
git clone https://github.com/happyfish100/libfastcommon.git
[root@tom01 tools]# cd libfastcommon/
[root@tom01 libfastcommon]# ./make.sh
[root@tom01 libfastcommon]# ./make.sh install

下载安装FastDFS
[root@tom01 tools]# git clone https://github.com/happyfish100/fastdfs.git
[root@tom01 tools]# cd fastdfs/
[root@tom01 fastdfs]# ./make.sh
[root@tom01 fastdfs]# ./make.sh install

安装完成后默认配置文件
[root@tom01 fastdfs]# ll /etc/fdfs/
total 24
-rw-r–r-- 1 root root 1461 Mar 14 22:25 client.conf.sample
-rw-r–r-- 1 root root 7978 Mar 14 22:25 storage.conf.sample
-rw-r–r-- 1 root root 105 Mar 14 22:25 storage_ids.conf.sample

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值