作者b24333666 (比飛笨)
看板DigiCurrency
標題[Coin]如何在 Pi 4 運行 Ethereum 節點教學
時間Mon Oct 21 07:35:55 2019
最近行情低迷來發個騙錢文加減賺錢XDD
Raspberry Pi 4 4GB Ethereum install 教學
硬體準備
Raspberry Pi 4 4GB版本 *1 2040元
Raspberry Pi 4 電源供應器 340元(似乎很挑Type-c線,建議使用)
Mirco SD 32GB *1 599元
1.cd到tmp
$cd /tmp
2.安裝go語言
$ sudo apt-get install golang-go
3.檢查go版本
$ sudo lang version
4.安裝 Geth v1.9.6(2019/10出的版本)
要確認Geth版本可以去
https://geth.ethereum.org/downloads/
$ git clone
https://github.com/ethereum/go-ethereum.git --branch v1.9.6
$ sudo make geth
$ sudo mv /tmp/go-ethereum/build/bin/geth /usr/local/bin
5.檢查Geth版本
$ geth version
6.進行同步
$ geth --cache = 218 --syncmode"light"
如果要測試請用下面兩個指令(二選一)
$ geth --cache = 128 --syncmode"light" --rpc --rpcaddr 0.0.0.0
$ geth --testnet --cache = 128 --syncmode"light" --rpc --rpcaddr 0.0.0.0
上述指令說明
--cache value Megabytes of memory allocated to internal caching
(default: 1024)
--syncmode "fast" Blockchain sync mode ("fast", "full", or "light")
--rpc Enable the HTTP-RPC server
--rpcaddr value HTTP-RPC server listening interface (default: "localhost")
其他說明在麻煩大家看這裡囉^_^
https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options
7.去吃碗麵,吃完就差不多同步完成拉!!
可以去Ethstats看最新區塊狀態
https://ethstats.net/
如果要離開網路同步請愛用Ctrl + C
恭喜Ethereum又朝向去中心化一步,歡迎大家加入!!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.250.98.55 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/DigiCurrency/M.1571614565.A.33F.html
※ 編輯: b24333666 (111.250.98.55 臺灣), 10/21/2019 07:38:20
※ 編輯: b24333666 (111.250.98.55 臺灣), 10/21/2019 07:50:28
※ 編輯: b24333666 (111.250.98.55 臺灣), 10/21/2019 07:52:05
※ 編輯: b24333666 (111.250.98.55 臺灣), 10/21/2019 07:54:03
推 camellala: 以太坊就是推,ETH to the Moon10/21 07:59
→ camellala: 以太坊 2.0 即將來臨10/21 07:59
推 camellala: 想買來試試看,需不需要買風扇?10/21 08:21
→ b24333666: 同步完成後手模還好,應該不用10/21 08:28
※ 編輯: b24333666 (111.250.98.55 臺灣), 10/21/2019 08:30:39
※ 編輯: b24333666 (111.250.98.55 臺灣), 10/21/2019 08:33:59
※ 編輯: b24333666 (223.137.177.49 臺灣), 10/21/2019 08:36:52
推 obitop2012: 還是覺得開個AWS帳號免費一年比較穩@@ 10/21 09:11
→ b24333666: 後續還要做其他開發所以用 Pi 4 10/21 09:21
推 camellala: Geth在這台電腦上的CPU使用率是多少? 10/21 09:45
推 ZERX: 這個只有單節點,不能挖礦對吧 10/21 10:51
推 camellala: 你沒附上錢包地址,黑鴨大無法給你黑鴨幣 10/21 15:13
→ b24333666: slp:qpefhkjd2hle9hh69a67ny6p7407t9n99vmhqachhg 10/21 17:08
→ b24333666: 回c大 我要回去看一下 10/21 17:15
→ b24333666: 回Z大 對的 只有節點功能 10/21 17:16
推 orgdragonfly: 讚 10/21 17:39
→ b24333666: C大 同步時CPU效能為 70~75% 同步完成後5%左右 10/21 21:47
推 camellala: 收到,謝謝 10/21 22:18
推 john371911: 等pos上線後應該就能用這挖了☺ 10/22 04:51
→ ECZEMA: 額… 我喜歡免費的 AWS EC2 或其它雲運算平台 10/22 04:58
推 leftc: 推基礎建設技術文 已置底tip 10/22 09:59