zoukankan      html  css  js  c++  java
  • FastDFS安装配置

    1、安装依赖

    yum install  -y gcc-c++ perl

    2、上传解压libfastcommon

    解压

    unzip libfastcommon-master.zip

    编译,安装

    ./make.sh
    .
    /make.sh install

    3、安装fastdfs

    3.1 上传解压

    3.2编译安装

    3.3修改配置文件

    去除/etc/fdfs/目录下配置文件.smple后缀

    创建目录

    修改三个文件

    1.修改client.conf

    2.修改tracker.conf

    3.修改storage.conf

     

    3.4启动、测试

     启动trackerstorage

    /etc/init.d/fdfs_storaged start
    
    /etc/init.d/fdfs_trackerd start

          测试成功界面

    /usr/local/nginx/sbin/nginx -t -c /usr/local/nginx/conf/nginx.conf

    之后请进入FastDFS+nginx安装配置

  • 相关阅读:
    isequal 和startswith 使用
    UVa10340
    UVa1368
    UVa455
    UVa1225
    UVa1586
    UVa 1585
    UVa10082
    UVa272
    NYOJ1
  • 原文地址:https://www.cnblogs.com/lxcy/p/8134884.html
Copyright © 2011-2022 走看看