Centos7.2 上部署 FastDFS_V5.05

1、安装gcc (编译时需要)

[root@localhost~]# yum -y install gcc gcc-c++

2、安装libevent ,FastDFS依赖libevent库;

 [root@localhost~]# yum -y install libevent

3、安装libfastcommon

 libfastcommon是FastDFS官方提供的,libfastcommon包含了FastDFS运行所需要的一些基础库。  

(1)上传 libfastcommonV1.0.7.tar.gz到Centos机器上;

(2)将 libfastcommonV1.0.7.tar.gz解压至/usr/local/下:

[root@localhost data]# tar -xf V1.0.7.tar.gz

[root@localhost data]# cd libfastcommon-1.0.7/

[root@localhost libfastcommon-1.0.7]# ./make.sh

猜你喜欢

转载自www.cnblogs.com/tangminghua/p/9566772.html