FastDFS配置和使用
来源:互联网 发布:机器人编程入门学生 编辑:程序博客网 时间:2024/06/03 17:17
FastDFS安装和依赖资源提供
首先说下fastdfs 依赖的应用,网上各种资源下载需要积分,其实github基本都有。下面提供一些可用版本链接。
1. 下载libevent
wget https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz
解压后安装./configure -prefix=/usr/local/
make
make install
make
make install
如果遇到gcc 问题,安装之,
ubuntu 可以使用命令
apt-get install gcc g++ autoconf
2.下载libfastcommon:
git clone https://github.com/happyfish100/libfastcommon.git
进入libfastcommon目录:
./make.sh
./make.sh install
./make.sh install
libfastcommon 和 libevent安装完后确定下命令是否执行成功echo $? 如果不为0则要根据报错去解决。列如确实c++的资源的解析工具。
3.下载fastdfs
wget https://github.com/happyfish100/fastdfs/archive/V5.05.tar.gz
wget https://github.com/happyfish100/fastdfs/archive/V5.05.tar.gz
进入fastdfs目录:
./make.sh
./make.sh install
./make.sh install
fastdfs配置文件参考 http://blog.csdn.net/a821478424/article/details/51067153
4.如果需要nginx 模块fastdfs-nginx-module,可以通过
git clone https://github.com/happyfish100/fastdfs-nginx-module.git
以为从fastdfs4.05开始就不支持http访问了,所以需要通过http访问的话我们要自己配置一个服务。当然也可以不选择fastdfs-nginx-module。它的优势在于https://zhidao.baidu.com/question/577284875.html ,
另外本人在启动nginx遇到一个问题:loading shared libraries: libfdfsclient.so: cannot open shared object file: No such file or directory
找不到对应的包 ,通过ldd $(which ‘nginx启动命令’) 显示具体的过程,此时只要找到你libfdfsclient安装好的包添加一个软链接好就好。http://blog.csdn.net/white__cat/article/details/37923087
至于nginx 模块的配置可以参考http://blog.csdn.net/u012979009/article/details/55052318
阅读全文
0 0
- FastDFS配置和使用
- fastdfs-安装fastdfs-nginx-module和配置使用(二)
- fastdfs安装和配置
- fastDFS安装和使用
- TFS和FastDFS使用
- fastDFS原理和使用
- fastDFS的安装和配置
- fastDFS介绍和配置过程
- FastDFS介绍和配置过程
- Fastdfs集群安装和配置
- fastdfs机制和配置详解
- 【FastDFS专题】fastdfs使用实战(配置篇)
- 【FastDFS】FastDFS安装配置
- 【FastDFS】maven项目使用FastDFS上传和读取图片
- 分布式文件系统FastDFS配置与使用
- fastDfs文件服务器安装配置与使用
- FastDFS的安装,配置与使用(java)
- CentOS上FastDFS安装配置与使用
- bitmap的六种压缩方式,Android图片压缩
- linux下用 free -m 查看内存说明
- 源于百度分享的“一键分享”
- jQuery第七章Ajax
- codeforces 895B. XK Segments (二分搜索)
- FastDFS配置和使用
- python的reduce()函数
- 输入法 原理
- ubuntu安装jdk
- 算法训练 字符删除
- Leetcode714. Best Time to Buy and Sell Stock with Transaction Fee (算法分析week13)
- 电话号码分身(java小米校招17)
- Spring Cloud中如何保证各个微服务之间调用的安全性
- Extjs中Grid分页汇总全部数据的合计----通过服务器端汇总发到前台显示