如何在 Pi 4 運行 Ethereum 節點教學 - 數位貨幣
By Susan
at 2019-10-21T07:35
at 2019-10-21T07:35
Table of Contents
最近行情低迷來發個騙錢文加減賺錢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又朝向去中心化一步,歡迎大家加入!!
--
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又朝向去中心化一步,歡迎大家加入!!
--
Tags:
數位貨幣
All Comments
By Kristin
at 2019-10-25T04:39
at 2019-10-25T04:39
By Suhail Hany
at 2019-10-26T03:49
at 2019-10-26T03:49
By Lucy
at 2019-10-26T08:53
at 2019-10-26T08:53
By Delia
at 2019-10-26T15:39
at 2019-10-26T15:39
By Ida
at 2019-10-28T17:27
at 2019-10-28T17:27
By Ursula
at 2019-11-02T14:48
at 2019-11-02T14:48
By Edward Lewis
at 2019-11-06T21:19
at 2019-11-06T21:19
By Olivia
at 2019-11-08T00:00
at 2019-11-08T00:00
By John
at 2019-11-12T06:37
at 2019-11-12T06:37
By Olive
at 2019-11-13T18:16
at 2019-11-13T18:16
By Zenobia
at 2019-11-14T02:59
at 2019-11-14T02:59
By Vanessa
at 2019-11-15T19:51
at 2019-11-15T19:51
By Frederic
at 2019-11-18T21:33
at 2019-11-18T21:33
By Thomas
at 2019-11-22T15:22
at 2019-11-22T15:22
By Selena
at 2019-11-24T18:44
at 2019-11-24T18:44
By Carol
at 2019-11-29T17:28
at 2019-11-29T17:28
By Franklin
at 2019-12-03T01:00
at 2019-12-03T01:00
By Quanna
at 2019-12-05T15:51
at 2019-12-05T15:51
Related Posts
全球首創!澳洲鑄幣廠推數位黃金代幣 實體黃金1:1支持
By Candice
at 2019-10-19T22:25
at 2019-10-19T22:25
幣安宣布 125 倍的高槓桿保證金交易
By Frederic
at 2019-10-19T16:49
at 2019-10-19T16:49
高盛出售Poloniex
By Catherine
at 2019-10-19T01:56
at 2019-10-19T01:56
BTC
By Bethany
at 2019-10-19T00:01
at 2019-10-19T00:01
G7澆冷水:臉書不該推Libra 除非監管法規完備
By Suhail Hany
at 2019-10-18T18:50
at 2019-10-18T18:50