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 閱讀(2662) 評論(0)  編輯  收藏 所屬分類: FASTDFS

          主站蜘蛛池模板: 商水县| 武穴市| 综艺| 南昌市| 宝清县| 阿勒泰市| 阜南县| 水城县| 荃湾区| 绥棱县| 株洲县| 若尔盖县| 酒泉市| 江都市| 东至县| 女性| 天祝| 那坡县| 宁阳县| 宣城市| 马关县| 阳新县| 伊春市| 贺州市| 霍林郭勒市| 察隅县| 哈尔滨市| 奎屯市| 沧州市| 思南县| 吉林省| 永顺县| 抚宁县| 万宁市| 长丰县| 绥阳县| 垫江县| 黎川县| 宝山区| 伊川县| 县级市|