码迷,mamicode.com
首页 > 其他好文 > 详细

FastDFS install

时间:2016-07-11 21:05:08      阅读:139      评论:0      收藏:0      [点我收藏+]

标签:

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. 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

FastDFS install

标签:

原文地址:http://www.cnblogs.com/alex-blog/p/5661520.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!