zoukankan      html  css  js  c++  java
  • FastDFS install

    Version:

    os: centos7 x64

    FastDFS: 5.05

    libfastcommon: latest

    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. ./make.sh

    6. ./make.sh install

    edit/modify the config file of tracker and storage

    1. cd /etc/fdfs/

    2. cp tracker.conf.sample tracker.conf

    3. mdkir –p /home/yuqing/fastdfs

    4. cp /etc/fdfs/tracker.conf.sample /etc/fdfs/tracker.conf

        vi /etc/fdfs/tracker.conf

       modfiy base_path to local directory

    5. fdfs_trackerd /etc/fdfs/tracker.conf restart

    storage

    6. install use make.sh and make.sh install

    7. cp /etc/fdfs/storage.conf.sample /etc/fdfs/storage.conf

    8. vi storeage.conf

        modify bash_path and tracker host

    9. ln –s /data/fastdfs /data/fastdfs/M00

    10. fdfs_storage /etc/fdfs/storage.conf

    Monitor

    fdfs_monitor /etc/fdfs/storage.conf
     
    Test
    fdfs_test /etc/fdfs/client.conf upload software/redis-3.2.0.tar.gz 
     
     
    fdfs_test /etc/fdfs/client.conf download group1 M00/00/00/CoxIWFeDj_OAVb74ABdIjEYN28M_big.tar.gz
  • 相关阅读:
    web自动化中的上传操作
    HTTP协议
    创建一个get测试
    下载安装
    unittest 介绍
    selenium常用操作
    video视频操作
    调用JavaScript
    下拉框操作
    弹窗操作
  • 原文地址:https://www.cnblogs.com/alex-blog/p/5661520.html
Copyright © 2011-2022 走看看