环境:Windows10 + VirtualBox + Ubuntu16.04.6
参考教程: https://blog.csdn.net/kevinyankai/article/details/98623397?utm_source=app
以太坊是一个开源的有智能合约功能的公共区块链平台。在这个平台上,使用它专用的加密货币——以太币(ETH)提供去中心化的以太虚拟环境处理点对点的合约。
一、安装Geth
Geth是以太坊的客户端,其全称是go-ethereum。以太坊的客户端用于接入以太坊网络,进行账户的管理、交易、挖矿、智能合约部署开发等相关的工作。
Geth的安装方式:通过直接下载程序进行安装
依次执行以下命令:
sudo apt-get install software-properties-common
#启动PPA储存库
sudo add-apt-repository -y ppa:ethereum/ethereum
#访问源列表里的每个网址,并读取软件列表,然后保存在电脑
sudo add-apt-repository -y ppa:ethereum/ethereum-dev
sudo apt-get update
#安装Go Ethereum
sudo apt-get install ethereum
安装完成后检查:
geth --help