paulwong

FASTDFS常用命令

启动STORAGE SERVER
fdfs_storaged /etc/fdfs/storage.conf



启动TRACKER SERVER
fdfs_trackerd /etc/fdfs/tracker.conf



启动NGINX
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf


观看LOG
tail -f /home/storage1/fastdfs/logs/storaged.log



检查STORAGE SERVER
fdfs_monitor /etc/fdfs/client.conf


删除STORAGE SERVER
fdfs_monitor /etc/fdfs/client.conf delete group1 10.120.151.114


重启
/usr/local/bin/restart.sh fdfs_storaged /etc/fdfs/storage.conf
/usr/local/bin/restart.sh fdfs_trackerd /etc/fdfs/storage.conf


停止
/usr/local/bin/stop.sh fdfs_storaged /etc/fdfs/storage.conf
/usr/local/bin/stop.sh fdfs_trackerd /etc/fdfs/storage.conf



测试上传
fdfs_test /etc/fdfs/client.conf upload /usr/include/stdlib.h

 
查询文件是否存在
fdfs_file_info /etc/fdfs/client.conf group1/M00/00/D1/CniXclQ0vdfCNdkzAABGC4v7nb4822.png

posted on 2014-10-14 14:23 paulwong 阅读(2655) 评论(0)  编辑  收藏 所属分类: FASTDFS


只有注册用户登录后才能发表评论。


网站导航: