区块链零基础开发----1.搭建基于以太坊go-ethereum的私有链环境

零基础区块链开发之路

通过各方资料了解学习之后,决定自己开始搭建基于以太坊go-ethereum的私有链环境。

1.准备工作
1) 了解什么是区块链
2) 进入币圈实际操作一波
3) 自己开发

首先本人通过在阿里云搭建了一台ubuntu16.04版本的系统。以下内容均基于ubuntu16.04系统。

go-ethereum客户端

下载地址&参考手册

首先,对go-ethereum项目进行源码了解:
https://github.com/ethereum/Go-ethereum

可以在点击项目上的wiki标签,也可以通过一下地址访问wiki:
https://github.com/ethereum/Go-ethereum/wiki/Building-Ethereum

在wiki页面选择ubuntu系统的安装说明,也可以直接访问下面链接:
https://github.com/ethereum/go-ethereum/wiki/Installation-Instructions-for-Ubuntu

ubuntu下安装命令

1.打开命令行窗口,或通过快捷键CTL+ALT+T,依次输入以下命令,即可安装:

sudo apt-get update  
sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo add-apt-repository -y ppa:ethereum/ethereum-dev
sudo apt-get update
sudo apt-get install ethereum

2.安装完成之后在命令行输入以下命令测试:

geth --help

ps:如果现实出命令行各种参数提示信息,则说明安装成功。到此为止第一步工作就这样完成了,博主也要睡觉了

猜你喜欢

转载自blog.csdn.net/qq_34949554/article/details/78671331