安装编译环境:
Centos:安装下面的编译环境
yum install make cmake gcc gcc-c++ -y
Ubuntu:自带编译环境
github地址:
libfastcommon: https://github.com/happyfish100/libfastcommon
fastdfs:https://github.com/happyfish100/fastdfs
安装git 通过git下载,也可以直接下载后解压缩进行 编译、安装
需要两个包libfastcommon 和 fastdfs
apt install git -y
首先 安装fastdfs的依赖 libfastcommon,然后再安装fastdfs
cd /opt git clone https://github.com/happyfish100/libfastcommon.git
进入文件夹
cd libfastcommon/
编译
./make.sh
安装
./make.sh install
安装fastdfs
cd /opt git clone https://github.com/happyfish100/fastdfs.git
进入
cd fastdfs/
编译
./make.sh
安装
./make.sh install