最近行情低迷來發個騙錢文加減賺錢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又朝向去中心化一步,歡迎大家加入!!
--
All Comments