ubuntu安装以太坊ethereum的测试网络ropsten-net以及雷电网络raiden-network环境
前言
为了保证环境稳定,我从头开了一个虚拟机。
环境如下
xiaoyu@xiaoyu-Parallels-Virtual-Platform:~$ uname -a
Linux xiaoyu-Parallels-Virtual-Platform 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
安装以太坊测试网络环境
通过官方网站,找的下载地址 https://github.com/ethereum/mist/releases
根据实际操作系统进行下载
apt-get -f install
安装软件包遇到依赖问题,尝试下面的方式
sudo apt-get -f install
钱包安装完成。
安装雷电网络
这里参考官方的安装文档 https://raiden-network.readthedocs.io/en/stable/overview_and_guide.html
xiaoyu@xiaoyu-Parallels-Virtual-Platform:~/下载$ wget https://github.com/raiden-network/raiden/releases/download/v0.1.0/raiden--x86_64.AppImage
xiaoyu@xiaoyu-Parallels-Virtual-Platform:~/下载$ chmod +x raiden--x86_64.AppImage
依赖,安装go-eth命令行
xiaoyu@xiaoyu-Parallels-Virtual-Platform:~$ sudo apt-get install software-properties-common
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
software-properties-common 已经是最新版 (0.96.20.7)。
下列软件包是自动安装的并且现在不需要了:
gcc-5-base:i386 glib-networking:i386 libatk-bridge2.0-0:i386 libatk1.0-0:i386 libatspi2.0-0:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
libboost-filesystem1.58.0:i386 libboost-system1.58.0:i386 libbsd0:i386 libcairo-gobject2:i386 libcairo2:i386 libcapnp-0.5.3:i386 libcolord2:i386 libcups2:i386
libdatrie1:i386 libdbus-1-3:i386 libdbusmenu-glib4:i386 libdbusmenu-gtk4:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386
libdrm2:i386 libedit2:i386 libegl1-mesa:i386 libelf1:i386 libepoxy0:i386 libexpat1:i386 libffi6:i386 libfontconfig1:i386 libfreetype6:i386 libgbm1:i386
libgdk-pixbuf2.0-0:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386 libglib2.0-0:i386 libgmp10:i386 libgnutls30:i386 libgraphite2-3:i386 libgssapi-krb5-2:i386
libgtk-3-0:i386 libgtk2.0-0:i386 libharfbuzz0b:i386 libhogweed4:i386 libicu55:i386 libidn11:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386
libjson-glib-1.0-0:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386 libllvm4.0:i386 libmirclient9:i386 libmircommon7:i386
libmircore1:i386 libmirprotobuf3:i386 libnettle6:i386 libnotify4:i386 libnspr4:i386 libnss3:i386 libp11-kit0:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386
libpangoft2-1.0-0:i386 libpciaccess0:i386 libpixman-1-0:i386 libpng12-0:i386 libprotobuf-lite9v5:i386 libproxy1v5:i386 librest-0.7-0:i386 libsensors4:i386
libsoup-gnome2.4-1:i386 libsoup2.4-1:i386 libsqlite3-0:i386 libstdc++6:i386 libtasn1-6:i386 libthai0:i386 libtiff5:i386 libtxc-dxtn-s2tc0:i386 libwayland-client0:i386
libwayland-cursor0:i386 libwayland-egl1-mesa:i386 libwayland-server0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
libxcb-present0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386
libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxml2:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386
libxtst6:i386 notification-daemon:i386
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 3 个软件包未被升级。
xiaoyu@xiaoyu-Parallels-Virtual-Platform:~$ sudo add-apt-repository -y ppa:ethereum/ethereum
gpg: 钥匙环‘/tmp/tmp8qr6nd80/secring.gpg’已建立
gpg: 钥匙环‘/tmp/tmp8qr6nd80/pubring.gpg’已建立
gpg: 下载密钥‘923F6CA9’,从 hkp 服务器 keyserver.ubuntu.com
gpg: /tmp/tmp8qr6nd80/trustdb.gpg:建立了信任度数据库
gpg: 密钥 923F6CA9:公钥“Launchpad PPA for Ethereum”已导入
gpg: 合计被处理的数量:1
gpg: 已导入:1 (RSA: 1)
OK
xiaoyu@xiaoyu-Parallels-Virtual-Platform:~$ sudo apt-get update
命中:1 http://cn.archive.ubuntu.com/ubuntu xenial InRelease
命中:2 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease
命中:3 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease
获取:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
获取:5 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial InRelease [17.5 kB]
获取:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [60.2 kB]
获取:7 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 Packages [6,668 B]
获取:8 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [57.6 kB]
获取:9 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main i386 Packages [6,684 B]
获取:10 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [49.7 kB]
获取:11 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [80.0 kB]
获取:12 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main Translation-en [3,072 B]
已下载 384 kB,耗时 2秒 (132 kB/s)
正在读取软件包列表... 完成
xiaoyu@xiaoyu-Parallels-Virtual-Platform:~$ sudo apt-get install ethereum
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
gcc-5-base:i386 glib-networking:i386 libatk-bridge2.0-0:i386 libatk1.0-0:i386 libatspi2.0-0:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
libboost-filesystem1.58.0:i386 libboost-system1.58.0:i386 libbsd0:i386 libcairo-gobject2:i386 libcairo2:i386 libcapnp-0.5.3:i386 libcolord2:i386 libcups2:i386
libdatrie1:i386 libdbus-1-3:i386 libdbusmenu-glib4:i386 libdbusmenu-gtk4:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386
libdrm2:i386 libedit2:i386 libegl1-mesa:i386 libelf1:i386 libepoxy0:i386 libexpat1:i386 libffi6:i386 libfontconfig1:i386 libfreetype6:i386 libgbm1:i386
libgdk-pixbuf2.0-0:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386 libglib2.0-0:i386 libgmp10:i386 libgnutls30:i386 libgraphite2-3:i386 libgssapi-krb5-2:i386
libgtk-3-0:i386 libgtk2.0-0:i386 libharfbuzz0b:i386 libhogweed4:i386 libicu55:i386 libidn11:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386
libjson-glib-1.0-0:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386 libllvm4.0:i386 libmirclient9:i386 libmircommon7:i386
libmircore1:i386 libmirprotobuf3:i386 libnettle6:i386 libnotify4:i386 libnspr4:i386 libnss3:i386 libp11-kit0:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386
libpangoft2-1.0-0:i386 libpciaccess0:i386 libpixman-1-0:i386 libpng12-0:i386 libprotobuf-lite9v5:i386 libproxy1v5:i386 librest-0.7-0:i386 libsensors4:i386
libsoup-gnome2.4-1:i386 libsoup2.4-1:i386 libsqlite3-0:i386 libstdc++6:i386 libtasn1-6:i386 libthai0:i386 libtiff5:i386 libtxc-dxtn-s2tc0:i386 libwayland-client0:i386
libwayland-cursor0:i386 libwayland-egl1-mesa:i386 libwayland-server0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
libxcb-present0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386
libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxml2:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386
libxtst6:i386 notification-daemon:i386
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
abigen bootnode evm geth puppeth rlpdump swarm wnode
下列【新】软件包将被安装:
abigen bootnode ethereum evm geth puppeth rlpdump swarm wnode
升级了 0 个软件包,新安装了 9 个软件包,要卸载 0 个软件包,有 3 个软件包未被升级。
需要下载 20.4 MB 的归档。
解压缩后会消耗 76.9 MB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 swarm amd64 2.1.6-1 [89.9 kB]
获取:2 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 abigen amd64 1.7.2+build11187+xenial [1,521 kB]
获取:3 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 bootnode amd64 1.7.2+build11187+xenial [3,447 kB]
获取:4 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 evm amd64 1.7.2+build11187+xenial [3,397 kB]
获取:5 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 geth amd64 1.7.2+build11187+xenial [5,134 kB]
错误:5 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 geth amd64 1.7.2+build11187+xenial
Hash 校验和不符
错误:6 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 puppeth amd64 1.7.2+build11187+xenial
无法连接上 ppa.launchpad.net:80 (91.189.95.83)。 - connect (111: 拒绝连接)
错误:7 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 rlpdump amd64 1.7.2+build11187+xenial
不能连接到 ppa.launchpad.net:http:
错误:8 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 wnode amd64 1.7.2+build11187+xenial
不能连接到 ppa.launchpad.net:http:
错误:9 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 ethereum amd64 1.7.2+build11187+xenial
不能连接到 ppa.launchpad.net:http:
已下载 10.1 MB,耗时 32秒 (313 kB/s)
E: 下载 http://ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/geth_1.7.2+build11187+xenial_amd64.deb Hash 校验和不符 失败
E: 下载 http://ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/puppeth_1.7.2+build11187+xenial_amd64.deb 无法连接上 ppa.launchpad.net:80 (91.189.95.83)。 - connect (111: 拒绝连接) 失败
E: 下载 http://ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/rlpdump_1.7.2+build11187+xenial_amd64.deb 不能连接到 ppa.launchpad.net:http: 失败
E: 下载 http://ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/wnode_1.7.2+build11187+xenial_amd64.deb 不能连接到 ppa.launchpad.net:http: 失败
E: 下载 http://ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/ethereum_1.7.2+build11187+xenial_amd64.deb 不能连接到 ppa.launchpad.net:http: 失败
E: 有几个软件包无法下载,要不运行 apt-get update 或者加上 --fix-missing 的选项再试试?
xiaoyu@xiaoyu-Parallels-Virtual-Platform:~$ sudo apt-get install ethereum
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
gcc-5-base:i386 glib-networking:i386 libatk-bridge2.0-0:i386 libatk1.0-0:i386 libatspi2.0-0:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
libboost-filesystem1.58.0:i386 libboost-system1.58.0:i386 libbsd0:i386 libcairo-gobject2:i386 libcairo2:i386 libcapnp-0.5.3:i386 libcolord2:i386 libcups2:i386
libdatrie1:i386 libdbus-1-3:i386 libdbusmenu-glib4:i386 libdbusmenu-gtk4:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386
libdrm2:i386 libedit2:i386 libegl1-mesa:i386 libelf1:i386 libepoxy0:i386 libexpat1:i386 libffi6:i386 libfontconfig1:i386 libfreetype6:i386 libgbm1:i386
libgdk-pixbuf2.0-0:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386 libglib2.0-0:i386 libgmp10:i386 libgnutls30:i386 libgraphite2-3:i386 libgssapi-krb5-2:i386
libgtk-3-0:i386 libgtk2.0-0:i386 libharfbuzz0b:i386 libhogweed4:i386 libicu55:i386 libidn11:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386
libjson-glib-1.0-0:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386 libllvm4.0:i386 libmirclient9:i386 libmircommon7:i386
libmircore1:i386 libmirprotobuf3:i386 libnettle6:i386 libnotify4:i386 libnspr4:i386 libnss3:i386 libp11-kit0:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386
libpangoft2-1.0-0:i386 libpciaccess0:i386 libpixman-1-0:i386 libpng12-0:i386 libprotobuf-lite9v5:i386 libproxy1v5:i386 librest-0.7-0:i386 libsensors4:i386
libsoup-gnome2.4-1:i386 libsoup2.4-1:i386 libsqlite3-0:i386 libstdc++6:i386 libtasn1-6:i386 libthai0:i386 libtiff5:i386 libtxc-dxtn-s2tc0:i386 libwayland-client0:i386
libwayland-cursor0:i386 libwayland-egl1-mesa:i386 libwayland-server0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
libxcb-present0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386
libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxml2:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386
libxtst6:i386 notification-daemon:i386
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
abigen bootnode evm geth puppeth rlpdump swarm wnode
下列【新】软件包将被安装:
abigen bootnode ethereum evm geth puppeth rlpdump swarm wnode
升级了 0 个软件包,新安装了 9 个软件包,要卸载 0 个软件包,有 3 个软件包未被升级。
需要下载 12.0 MB/20.4 MB 的归档。
解压缩后会消耗 76.9 MB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 geth amd64 1.7.2+build11187+xenial [5,134 kB]
获取:2 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 puppeth amd64 1.7.2+build11187+xenial [2,591 kB]
获取:3 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 rlpdump amd64 1.7.2+build11187+xenial [586 kB]
错误:3 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 rlpdump amd64 1.7.2+build11187+xenial
Hash 校验和不符
错误:4 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 wnode amd64 1.7.2+build11187+xenial
无法连接上 ppa.launchpad.net:80 (91.189.95.83)。 - connect (111: 拒绝连接)
错误:5 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 ethereum amd64 1.7.2+build11187+xenial
不能连接到 ppa.launchpad.net:http:
已下载 8,016 kB,耗时 49秒 (163 kB/s)
E: 下载 http://ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/rlpdump_1.7.2+build11187+xenial_amd64.deb Hash 校验和不符 失败
E: 下载 http://ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/wnode_1.7.2+build11187+xenial_amd64.deb 无法连接上 ppa.launchpad.net:80 (91.189.95.83)。 - connect (111: 拒绝连接) 失败
E: 下载 http://ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/ethereum_1.7.2+build11187+xenial_amd64.deb 不能连接到 ppa.launchpad.net:http: 失败
E: 有几个软件包无法下载,要不运行 apt-get update 或者加上 --fix-missing 的选项再试试?
xiaoyu@xiaoyu-Parallels-Virtual-Platform:~$ sudo apt-get install ethereum
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
gcc-5-base:i386 glib-networking:i386 libatk-bridge2.0-0:i386 libatk1.0-0:i386 libatspi2.0-0:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
libboost-filesystem1.58.0:i386 libboost-system1.58.0:i386 libbsd0:i386 libcairo-gobject2:i386 libcairo2:i386 libcapnp-0.5.3:i386 libcolord2:i386 libcups2:i386
libdatrie1:i386 libdbus-1-3:i386 libdbusmenu-glib4:i386 libdbusmenu-gtk4:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386
libdrm2:i386 libedit2:i386 libegl1-mesa:i386 libelf1:i386 libepoxy0:i386 libexpat1:i386 libffi6:i386 libfontconfig1:i386 libfreetype6:i386 libgbm1:i386
libgdk-pixbuf2.0-0:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386 libglib2.0-0:i386 libgmp10:i386 libgnutls30:i386 libgraphite2-3:i386 libgssapi-krb5-2:i386
libgtk-3-0:i386 libgtk2.0-0:i386 libharfbuzz0b:i386 libhogweed4:i386 libicu55:i386 libidn11:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386
libjson-glib-1.0-0:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386 libllvm4.0:i386 libmirclient9:i386 libmircommon7:i386
libmircore1:i386 libmirprotobuf3:i386 libnettle6:i386 libnotify4:i386 libnspr4:i386 libnss3:i386 libp11-kit0:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386
libpangoft2-1.0-0:i386 libpciaccess0:i386 libpixman-1-0:i386 libpng12-0:i386 libprotobuf-lite9v5:i386 libproxy1v5:i386 librest-0.7-0:i386 libsensors4:i386
libsoup-gnome2.4-1:i386 libsoup2.4-1:i386 libsqlite3-0:i386 libstdc++6:i386 libtasn1-6:i386 libthai0:i386 libtiff5:i386 libtxc-dxtn-s2tc0:i386 libwayland-client0:i386
libwayland-cursor0:i386 libwayland-egl1-mesa:i386 libwayland-server0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
libxcb-present0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386
libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxml2:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386
libxtst6:i386 notification-daemon:i386
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
abigen bootnode evm geth puppeth rlpdump swarm wnode
下列【新】软件包将被安装:
abigen bootnode ethereum evm geth puppeth rlpdump swarm wnode
升级了 0 个软件包,新安装了 9 个软件包,要卸载 0 个软件包,有 3 个软件包未被升级。
需要下载 4,255 kB/20.4 MB 的归档。
解压缩后会消耗 76.9 MB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 rlpdump amd64 1.7.2+build11187+xenial [586 kB]
获取:2 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 wnode amd64 1.7.2+build11187+xenial [3,667 kB]
获取:3 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial/main amd64 ethereum amd64 1.7.2+build11187+xenial [1,546 B]
已下载 4,255 kB,耗时 17秒 (237 kB/s)
正在选中未选择的软件包 swarm。
(正在读取数据库 ... 系统当前共安装有 182758 个文件和目录。)
正准备解包 .../swarm_2.1.6-1_amd64.deb ...
正在解包 swarm (2.1.6-1) ...
正在选中未选择的软件包 abigen。
正准备解包 .../abigen_1.7.2+build11187+xenial_amd64.deb ...
正在解包 abigen (1.7.2+build11187+xenial) ...
正在选中未选择的软件包 bootnode。
正准备解包 .../bootnode_1.7.2+build11187+xenial_amd64.deb ...
正在解包 bootnode (1.7.2+build11187+xenial) ...
正在选中未选择的软件包 evm。
正准备解包 .../evm_1.7.2+build11187+xenial_amd64.deb ...
正在解包 evm (1.7.2+build11187+xenial) ...
正在选中未选择的软件包 geth。
正准备解包 .../geth_1.7.2+build11187+xenial_amd64.deb ...
正在解包 geth (1.7.2+build11187+xenial) ...
正在选中未选择的软件包 puppeth。
正准备解包 .../puppeth_1.7.2+build11187+xenial_amd64.deb ...
正在解包 puppeth (1.7.2+build11187+xenial) ...
正在选中未选择的软件包 rlpdump。
正准备解包 .../rlpdump_1.7.2+build11187+xenial_amd64.deb ...
正在解包 rlpdump (1.7.2+build11187+xenial) ...
正在选中未选择的软件包 wnode。
正准备解包 .../wnode_1.7.2+build11187+xenial_amd64.deb ...
正在解包 wnode (1.7.2+build11187+xenial) ...
正在选中未选择的软件包 ethereum。
正准备解包 .../ethereum_1.7.2+build11187+xenial_amd64.deb ...
正在解包 ethereum (1.7.2+build11187+xenial) ...
正在处理用于 man-db (2.7.5-1) 的触发器 ...
正在设置 swarm (2.1.6-1) ...
正在设置 abigen (1.7.2+build11187+xenial) ...
正在设置 bootnode (1.7.2+build11187+xenial) ...
正在设置 evm (1.7.2+build11187+xenial) ...
正在设置 geth (1.7.2+build11187+xenial) ...
正在设置 puppeth (1.7.2+build11187+xenial) ...
正在设置 rlpdump (1.7.2+build11187+xenial) ...
正在设置 wnode (1.7.2+build11187+xenial) ...
正在设置 ethereum (1.7.2+build11187+xenial) ...
安装party
xiaoyu@xiaoyu-Parallels-Virtual-Platform:~/下载$ bash <(curl https://get.parity.io -Lk)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 170 0 170 0 0 78 0 --:--:-- 0:00:02 --:--:-- 78
100 2990 100 2990 0 0 493 0 0:00:06 0:00:06 --:--:-- 781
Release selected is: beta
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 400 100 400 0 0 129 0 0:00:03 0:00:03 --:--:-- 129
Upgrading parity from 0.0.0 to 1.8.0
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10.2M 100 10.2M 0 0 400k 0 0:00:26 0:00:26 --:--:-- 545k
[sudo] xiaoyu 的密码:
正在选中未选择的软件包 parity。
(正在读取数据库 ... 系统当前共安装有 216874 个文件和目录。)
正准备解包 .../parity_1.8.0_amd64.deb ...
正在解包 parity (1.8.0) ...
正在设置 parity (1.8.0) ...
运行
运行erh的测试网络 Ropsten
xiaoyu@xiaoyu-Parallels-Virtual-Platform:~/下载$ geth --testnet --fast --bootnodes "enode://20c9ad97c081d63397d7b685a412227a40e23c8bdc6688c6f37e97cfbc22d2b4d1db1510d8f61e6a8866ad7f0e17c02b14182d37ea7c3c8b9c2683aeb6b733a1@52.169.14.227:30303,enode://6ce05930c72abc632c58e2e4324f7c7ea478cec0ed4fa2528982cf34483094e9cbc9216e7aa349691242576d552a2a56aaeae426c5303ded677ce455ba1acd9d@13.84.180.240:30303"
WARN [10-23|10:45:20] No etherbase set and no accounts found as default
INFO [10-23|10:45:20] Starting peer-to-peer node instance=Geth/v1.7.2-stable-1db4ecdc/linux-amd64/go1.9
INFO [10-23|10:45:20] Allocated cache and file handles database=/home/xiaoyu/.ethereum/testnet/geth/chaindata cache=128 handles=1024
INFO [10-23|10:45:20] Writing custom genesis block
INFO [10-23|10:45:20] Initialised chain configuration config="{ChainID: 3 Homestead: 0 DAO: <nil> DAOSupport: true EIP150: 0 EIP155: 10 EIP158: 10 Byzantium: 1700000 Engine: ethash}"
INFO [10-23|10:45:20] Disk storage enabled for ethash caches dir=/home/xiaoyu/.ethereum/testnet/geth/ethash count=3
INFO [10-23|10:45:20] Disk storage enabled for ethash DAGs dir=/home/xiaoyu/.ethash count=2
INFO [10-23|10:45:20] Initialising Ethereum protocol versions="[63 62]" network=3
INFO [10-23|10:45:20] Loaded most recent local header number=0 hash=419410…ca4a2d td=1048576
INFO [10-23|10:45:20] Loaded most recent local full block number=0 hash=419410…ca4a2d td=1048576
INFO [10-23|10:45:20] Loaded most recent local fast block number=0 hash=419410…ca4a2d td=1048576
INFO [10-23|10:45:20] Regenerated local transaction journal transactions=0 accounts=0
INFO [10-23|10:45:20] Starting P2P networking
INFO [10-23|10:45:22] UDP listener up self=enode://9fc9e3c1d6414e2cb80ad0c84fa1c7b0d1cbb3eb32329ec24e680b5873b292ffd68f02ce340d0c5ea580f92a291faa14cb4f996a839a054d7b5cf0a91a233f08@[::]:30303
INFO [10-23|10:45:22] RLPx listener up self=enode://9fc9e3c1d6414e2cb80ad0c84fa1c7b0d1cbb3eb32329ec24e680b5873b292ffd68f02ce340d0c5ea580f92a291faa14cb4f996a839a054d7b5cf0a91a233f08@[::]:30303
INFO [10-23|10:45:22] IPC endpoint opened: /home/xiaoyu/.ethereum/testnet/geth.ipc
INFO [10-23|10:46:42] Block synchronisation started
INFO [10-23|10:46:44] Imported new state entries count=315 elapsed=12.091µs processed=315 pending=5041 retry=0 duplicate=0 unexpected=0
INFO [10-23|10:46:44] Imported new state entries count=384 elapsed=8.824µs processed=699 pending=11185 retry=0 duplicate=0 unexpected=0
INFO [10-23|10:46:45] Imported new state entries count=384 elapsed=7.362µs processed=1083 pending=14511 retry=0 duplicate=0 unexpected=0
INFO [10-23|10:46:45] Imported new block headers count=192 elapsed=1.355s number=192 hash=9d4976…cf6e5b ignored=0
INFO [10-23|10:46:45] Imported new block receipts count=10 elapsed=211.959µs bytes=40 number=10 hash=b3074f…dde93e ignored=0
INFO [10-23|10:46:45] Imported new block headers count=192 elapsed=38.167ms number=384 hash=373546…d9ea37 ignored=0
INFO [10-23|10:46:45] Imported new block receipts count=3 elapsed=2.068ms bytes=8150 number=13 hash=f9ff47…e4912b ignored=0
INFO [10-23|10:46:46] Imported new state entries count=1152 elapsed=2.517ms processed=2235 pending=14128 retry=0 duplicate=0 unexpected=0
INFO [10-23|10:46:46] Imported new block headers count=1152 elapsed=273.397ms number=1536 hash=c3d6bd…2ba848 ignored=0
INFO [10-23|10:46:46] Imported new block receipts count=307 elapsed=23.804ms bytes=12222 number=320 hash=0bc28b…34e984 ignored=0
INFO [10-23|10:46:46] Imported new block headers count=192 elapsed=37.775ms number=1728 hash=0733bf…53d05a ignored=0
INFO [10-23|10:46:46] Imported new block receipts count=80 elapsed=911.02µs bytes=3528 number=400 hash=905bb7…a2ce51 ignored=0
INFO [10-23|10:46:46] Imported new block headers count=192 elapsed=29.920ms number=1920 hash=546f66…d2b129 ignored=0
(省略......)
运行雷电网络
xiaoyu@xiaoyu-Parallels-Virtual-Platform:~/下载$ ./raiden--x86_64.AppImage --keystore-path ~/.ethereum/testnet/keystore
Welcome to Raiden,version 0.1.0!
INFO:raiden.network.sockfactory trying to find uPnP port mapper...
ERROR:raiden.network.upnpsock no upnp providers found
INFO:raiden.network.sockfactory uPnP not available,trying STUN for port mapping...
至此,雷电网络的的环境部署完成。