因為每個節點都要一個令牌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
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/identity.cert
- 產生完成的檔案都存在

在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
--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應該會看的開始執行按下連結會開啟頁面
0 意見:
張貼留言