FastDFS install - 2

storage install nginx

1. update dependency package

yum -y install pcre-devel openssl openssl-devel gcc
 
2.  wget https://codeload.github.com/happyfish100/fastdfs-nginx-module/zip/master
3. unzip fastdfs-nginx-module-master.zip
 
install nginx
4. rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
5. yum install -y nginx
 
6. download nginx http://nginx.org/download/nginx-1.10.1.tar.gz
7. tar zxvf nginx-1.10.1.tar.gz
8. ./configure --add-module=fastdfs-nginx-module-master/src/
9. make; make install
10. cp  /usr/local/src/fastdfs-nginx-module-master/src/mod_fastdfs.conf  /etc/fdfs/
11. vi /etc/fdfs/mod_fastdfs.conf
    1). modify base_path
    2). tracker_server
    3). store_path0
12. 复制 FastDFS 的部分配置文件到/etc/fdfs 目录# cd /usr/local/src/FastDFS/conf# cp http.conf mime.types /etc/fdfs/
 
13. config nginx 

listen 80; #对应/etc/fdfs/storage.conf 中的http.server_port
server_name localhost;
location ~/group([0-9])/M00 {
#alias /opt/fdfs/storage/data;
ngx_fastdfs_module;
}

 
时间: 2024-10-08 11:47:01

FastDFS install - 2的相关文章

FastDFS install

1. dwonload libfastcommon https://github.com/happyfish100/libfastcommon.git install A) ./make.sh B) ./make.sh install 2. dwonload FastDFS wget https://github.com/happyfish100/fastdfs/archive/V5.05.tar.gz 3. tar zxvf V5.05.tar.gz 4. cd fastdfs 5. ./ma

salt install fastdfs

参考https://chegva.com/794.html 包 [[email protected] prod]# cat cluster/fastdfs.sls  include:   - modules.fastdfs.install fastdfs-service:   file.managed:     - name: /etc/fdfs/storage.conf     - source: salt://cluster/files/storage.conf     - mode: 64

FastDFS安装笔记

编译和安装所需的依赖包 Xshell 5 (Build 0788) Copyright (c) 2002-2015 NetSarang Computer, Inc. All rights reserved. Type `help' to learn how to use Xshell prompt. [c:\~]$ Connecting to 121.196.215.6:22... Connection established. To escape to local shell, press '

centos7 install nginx+fastdfs

说明:centos7单机部署 nginx fastdfs ## 创建一下目录作为存储数据图片的路径 可以自己定义 mkdir -pv /data/application/{storage,tracker,client} cd /data/application/ yum install lrzsz wget git gcc gcc-c++ zlib-devel cmake make git clone [email protected]:happyfish100/libfastcommon.gi

V 11 FastDFS

一.概念: https://github.com/happyfish100/fastdfs FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. https:

FastDFS的php和nginx模块配置

一.FastDFS和php整合 1.安装php # 安装依赖包 yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel cu

FastDFS之java客户端使用

为了方便应用程序的访问FastDFS,官网提供了fastdfs-client-java,以便更好的与应用程序结合使用. 下载fastdfs-client-java源码添加到项目工程里面,添加配置文件:fdfs_client.conf 这个jar包在中央仓库是没有的,我们可以将源码下载下来,使用maven install安装到本地仓库. 附上pom.xml文件 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=

安装fastdfs文件系统

1.下载源码包 需要下载的源码包: fastDFS源代码:FastDFS_v5.01.tar.gz fastDFS的nginx模块源代码:fastdfs-nginx-module_v1.15.tar.gz nginx服务器源代码:nginx-1.4.7.tar.gz nginx依赖的pcre库源代码:pcre-8.34.tar.gz nginx依赖的zlib库源代码:zlib-1.2.8.tar.gz 可以我的微云中下载http://url.cn/4Byr7Ky,也可以网上自行下载: 2.安装,

fastdfs集群

基础环境说明 6台服务器 两台tracker  4台storages 192.168.56.131 tracker 服务器 edu-dfs-tracker-1 192.168.56.132 tracker 服务器 edu-dfs-tracker-2 192.168.56.135 storage服务器 edu-dfs-storage-group1-1 192.168.56.136 storage服务器 edu-dfs-storage-group1-2 192.168.56.137 storage服