标签:
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
标签:
原文地址:http://www.cnblogs.com/alex-blog/p/5661520.html