基于SpringBoot框架搭建访问文件服务器Fast DFS

【FastDFS搭建详解】

一、所需基本环境

软件版本

1、Linux版本:CentOS7
2.libfastcommon 版本:1.0.7
3.FastDfs版本:5.05
安装过程中需要的依赖(已安装,不需要)
1、安装gcc
yum install gcc-c++
2、安装libevent工具包
yum -y install libevent
3、安装wget
yum -y install wget

二、安装 libfastcommon 和 FastDFS

1安装libfastcommon
(1)下载安装 libfastcommon ,这里是通过wget下载:
a) wget https://github.com/happyfish100/libfastcommon/archive/V1.0.7.tar.gz
(2).解压 libfastcommon,命令:
b) tar -zxvf V1.0.7.tar.gz
(3)进入libfastcommon-1.0.7目录,命令:
c) cd /usr/local/libfastcommon-1.0.7
(4).编译
d) ./make.sh
(5).编译安装,命令:
./make.sh install
显示这样的画面,就是安装 libfastcommon 成功啦。

2安装FastDFS
(1).下载安装 FastDFS,这里也是通过wget下载
wget https:/

猜你喜欢

转载自blog.csdn.net/weixin_45785469/article/details/108039424
dfs