Centos7.2 上部署 FastDFS_V5.05

匿名 (未验证) 提交于 2019-12-02 21:53:52

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

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

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

3、安装libfastcommon

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

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

(3)切换目录到:/usr/local/libfastcommon-1.0.7/ 下,接着进行编译和安装;

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

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

#编译

#安装

注意:由于FastDFS程序引用usr/lib目录所以需要将/usr/lib64下的库文件拷贝至/usr/lib下。

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!