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

          主站蜘蛛池模板: 河南省| 固阳县| 滨海县| 景宁| 通渭县| 武城县| 正宁县| 密山市| 河池市| 昆山市| 慈溪市| 东台市| 华安县| 岳阳县| 阳山县| 武夷山市| 东兴市| 驻马店市| 商丘市| 杭锦旗| 迭部县| 凌云县| 枞阳县| 庆云县| 沙雅县| 荆门市| 任丘市| 昭觉县| 平泉县| 绥宁县| 大城县| 溧水县| 雷州市| 平安县| 通辽市| 慈溪市| 南康市| 宝山区| 泰安市| 菏泽市| 绥棱县|