Category 6

加入 STORJ

 

因為每個節點都要一個令牌token來辨認你身份

storj官方有教學
https://docs.storj.io/node/dependencies/identity

我是用MAC所以下面直接用MAC教學

  • 先下載製作檔案

curl -L https://github.com/storj/storj/releases/latest/download/identity_darwin_amd64.zip -o identity_darwin_amd64.zip
unzip -o identity_darwin_amd64.zip
chmod +x identity
sudo mv identity /usr/local/bin/identity


  • 建立身分節點

identity create storagenode

這個步驟需要等一段時間,因為官方要求38的複雜度,我跑了快兩個小時



    • 先到官方網站取得身分驗證令牌

    https://www.storj.io/host-a-node

    輸入你的信箱後會給一組令牌會順便寄到你信箱裡面
    再輸入指令加上剛剛申請到的令牌

    identity authorize storagenode <email:characterstring>


    • 確認身分
    grep -c BEGIN ~/Library/Application\ Support/Storj/identity/storagenode/ca.cert
    grep -c BEGIN ~/Library/Application\ Support/Storj/identity/storagenode/identity.cert

    • 產生完成的檔案都存在
    ~/資源庫/Application Support/Storj/Identity/storagenode

      在QNAP NAS內安裝設定程式

      官方教學網址
      https://docs.storj.io/node/sno-applications/qnap-storage-node-app
      因為付款都是用乙太幣支付,所以你要先有一個乙太幣錢包

      基本上全部照著上面步驟做
        他是用DOCKER方式建立連線,現在用的版本1.1.0我再用時會出現錯誤,遇到錯誤


      需要開啟NAS的SSH後執行

      docker run --rm -e SETUP="true" \
      --mount type=bind,source="/share/Storj/Identity/storagenode",destination=/app/identity \
      --mount type=bind,source="/share/Storj/Stotj",destination=/app/config \
      --name storagenode storjlabs/storagenode:latest

      紅色部分是產生的證書位子
      藍色是分享出來的位置

      好了之後執行後開啟ContainerStaion應該會看的開始執行按下連結會開啟頁面

      • 正常後開啟APP畫面應該是這樣按右上角「Dashoard」



      • 主畫面可以看到目前使用空間流量等資料,進去 Payout Information 還會統計目前收益






      Share on Google Plus

      About jackox

      This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
        Blogger Comment
        Facebook Comment

      0 意見:

      張貼留言

      Portfolio

      技術提供:Blogger.

      Popular Posts

      總網頁瀏覽量

      Accordition

      Contact Info

      Followus

      Recent Comments

      網誌存檔

      Text SlideShow

      Featured

      About Us

      Introduction

      Manual Slider

      Category 1

      聯絡表單




      Category 5