zoukankan      html  css  js  c++  java
  • 基于Ubuntu系统搭建以太坊go-ethereum源码的开发环境

    第一、先安装geth的CLI环境sudo apt-get install geth,这个很重要

    第二、下载源代码

    git clone https://github.com/ethereum/go-ethereum

    我下载到啦 /home/siegel/ethereum/

    更改文件夹权限为可写  chmod -R 777 /home/siegel/ethereum/go-ethereum

        第三步

    sudo apt-get install software-properties-common
    sudo add-apt-repository -y ppa:ethereum/ethereum
    sudo apt-get update
    sudo apt-get install ethereum
    然后输入 geth --help 看是否安装成功

    第四步
    git clone https://github.com/ethereum/go-ethereum

      curl -O https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz

      tar -C /usr/local -xzf go1.7.3.linux-amd64.tar.gz

        mkdir -p ~/go

    export GOPATH=$HOME/go
    export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin
    sudo apt-get install -y build-essential golang
    第五步
    cd /home/siegel/ethereum/go-ethereum
    make geth



  • 相关阅读:
    Xpath提取一个标签里的所有文本
    Mac Sublime Text 3
    激活pycharm
    Mac 终端命令大全
    操作dict时避免出现KeyError的几种方法
    JQ 选择器大全
    调用百度编辑器
    模拟 Ajax 上传
    图片上传
    PHP 字符串去掉空格
  • 原文地址:https://www.cnblogs.com/Siegel/p/7389011.html
Copyright © 2011-2022 走看看