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
上一篇:sptring boot 修改默认Banner


下一篇:ArcGIS 10 安装程序及破解文件