ubuntu16.04下载deb安装指定版本eos

前提:ubuntu 16.04

时间:2019年11月18日

下载deb

wget https://github.com/EOSIO/eos/releases/download/v1.8.6/eosio_1.8.6-1-ubuntu-16.04_amd64.deb

xuperxuperunion:eos# wget https://github.com/EOSIO/eos/releases/download/v1.8.6/eosio_1.8.6-1-ubuntu-16.04_amd64.deb
--2019-11-18 19:49:34--  https://github.com/EOSIO/eos/releases/download/v1.8.6/eosio_1.8.6-1-ubuntu-16.04_amd64.deb
Resolving github.com (github.com)... 140.82.114.4
Connecting to github.com (github.com)|140.82.114.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/87335980/7c914a80-022a-11ea-9eb9-d50d24e445ed?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191118%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191118T114934Z&X-Amz-Expires=300&X-Amz-Signature=7d0ea39f47da5487ffa1fb6c56c8e86c62893bda873054eadee23e549f4d87ce&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Deosio_1.8.6-1-ubuntu-16.04_amd64.deb&response-content-type=application%2Foctet-stream [following]
--2019-11-18 19:49:35--  https://github-production-release-asset-2e65be.s3.amazonaws.com/87335980/7c914a80-022a-11ea-9eb9-d50d24e445ed?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191118%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191118T114934Z&X-Amz-Expires=300&X-Amz-Signature=7d0ea39f47da5487ffa1fb6c56c8e86c62893bda873054eadee23e549f4d87ce&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Deosio_1.8.6-1-ubuntu-16.04_amd64.deb&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.169.163
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.169.163|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12942702 (12M) [application/octet-stream]
Saving to: ‘eosio_1.8.6-1-ubuntu-16.04_amd64.deb’

eosio_1.8.6-1-ubun 100%[================>]  12.34M  5.57MB/s    in 2.2s    

2019-11-18 19:49:38 (5.57 MB/s) - ‘eosio_1.8.6-1-ubuntu-16.04_amd64.deb’ saved [12942702/12942702]

安装

apt install ./eosio_1.8.6-1-ubuntu-16.04_amd64.deb

xuperxuperunion:eos# ls
eosio_1.8.6-1-ubuntu-16.04_amd64.deb
xuperxuperunion:eos# apt install ./eosio_1.8.6-1-ubuntu-16.04_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'eosio' instead of './eosio_1.8.6-1-ubuntu-16.04_amd64.deb'
The following package was automatically installed and is no longer required:
  libopts25
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  eosio
0 upgraded, 1 newly installed, 0 to remove and 128 not upgraded.
Need to get 0 B/12.9 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /opt/paper2/eos/eosio_1.8.6-1-ubuntu-16.04_amd64.deb eosio amd64 1.8.6-1 [12.9 MB]
Selecting previously unselected package eosio.
(Reading database ... 227949 files and directories currently installed.)
Preparing to unpack .../eosio_1.8.6-1-ubuntu-16.04_amd64.deb ...
Unpacking eosio (1.8.6-1) ...
Setting up eosio (1.8.6-1) ...

启动keosd

keosd &

xuperxuperunion:eos# keosd &
[1] 5320
xuperxuperunion:eos# info  2019-11-18T11:53:46.613 keosd     wallet_plugin.cpp:42          plugin_initialize    ] initializing wallet plugin
info  2019-11-18T11:53:46.613 keosd     http_plugin.cpp:625           add_handler          ] add api url: /v1/keosd/stop
info  2019-11-18T11:53:46.614 keosd     http_plugin.cpp:625           add_handler          ] add api url: /v1/node/get_supported_apis
info  2019-11-18T11:53:46.614 keosd     wallet_api_plugin.cpp:73      plugin_startup       ] starting wallet_api_plugin
info  2019-11-18T11:53:46.614 keosd     http_plugin.cpp:625           add_handler          ] add api url: /v1/wallet/create
info  2019-11-18T11:53:46.614 keosd     http_plugin.cpp:625           add_handler          ] add api url: /v1/wallet/create_key

这里省略......

启动nodeos

xuperxuperunion:eos# nodeos -e -p eosio --plugin eosio::producer_plugin --plugin eosio::chain_api_plugin --plugin eosio::http_plugin --plugin eosio::history_plugin --plugin eosio::history_api_plugin --filter-on="*" --access-control-allow-origin='*' --contracts-console --http-validate-host=false --verbose-http-errors >> nodeos.log 2>&1 &
[2] 5329

检查安装

运行tail -f nodeos.log

看到如下输出

按下ctrl + c以关闭日志

xuperxuperunion:eos# tail -f nodeos.log
info  2019-11-18T11:56:23.500 nodeos    producer_plugin.cpp:1914      produce_block        ] Produced block 0000007aee642704... #122 @ 2019-11-18T11:56:23.500 signed by eosio [trxs: 0, lib: 121, confirmed: 0]
info  2019-11-18T11:56:24.000 nodeos    producer_plugin.cpp:1914      produce_block        ] Produced block 0000007b749e366d... #123 @ 2019-11-18T11:56:24.000 signed by eosio [trxs: 0, lib: 122, confirmed: 0]

检查电子钱包

运行cleos wallet list

xuperxuperunion:eos# cleos wallet list
Wallets:
[]

检查nodeos节点

curl http://localhost:8888/v1/chain/get_info

xuperxuperunion:eos# curl http://localhost:8888/v1/chain/get_info
{"server_version":"3c553db7","chain_id":"cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f","head_block_num":447,"last_irreversible_block_num":446,"last_irreversible_block_id":"000001be0fa993219ee90b2a06d8ef91f988b2b33dce7164cafc424612f4d9bf","head_block_id":"000001bf0e74779926cab9e9baa8ed7510082a9b7df1590cda813cf6e6b831b3","head_block_time":"2019-11-18T11:59:06.000","head_block_producer":"eosio","virtual_block_cpu_limit":312199,"virtual_block_net_limit":1638021,"block_cpu_limit":199900,"block_net_limit":1048576,"server_version_string":"v1.8.6","fork_db_head_block_num":447,"fork_db_head_block_id":"000001bf0e74779926cab9e9baa8ed7510082a9b7df1590cda813cf6e6b831b3"}

原文地址:https://www.cnblogs.com/ycx95/p/11928708.html

时间: 2024-11-10 11:13:24

ubuntu16.04下载deb安装指定版本eos的相关文章

在Ubuntu16.04.4上安装jdk

在Ubuntu16.04.4上安装jdk 一.安装步骤     1.下载jdk安装包     首先我们在oracle官网上下载jdk-8u161-linux-x64.tar.gz,当然也可以下载其他版本的.     2.创建java的安装目录,并且解压该安装包,这里没有固定的解压目录,很类似于windows. sudo mkdir /usr/lib/jvm sudo tar -zxvf jdk-8u161-linux-x64.tar.gz /usr/lib/jvm         3.配置环境变

Ubuntu16.04下编译安装vim8

在Ubuntu16.04下编译安装vim8,并配置vim-plug插件管理器,以及安装YouCompleteMe等插件. 安装依赖 sudo apt-get install libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev python3-dev ruby

如何下载并安装最新版本的 OPatch

1.登陆mos站点下载最新版本的 OPatch补丁,这里以p6880880_102000_Linux-x86-64.zip补丁为例. 2.上传补丁至服务器,并移动补丁至数据库软件安装目录. #mv p6880880_102000_Linux-x86-64.zip $ORACLE_HOME 3.切换用户至oracle用户,进入$ORACLE_HOME安装补丁. [[email protected] ~]$ cd /home/oracle/orahome/ [[email protected] or

centos7下安装指定版本mysql5.7.23

现在mysql版本已经到MySQL 8.0(GA)稳定版本了,所以需求是想简单又快速在centos7下安装指定版本例如MySQL 5.7(GA)版本有下面这种方法 首先需要到mysql官网这里下载对应RPM包来update一下 1.全新安装MySQL的步骤 我这边是想安装5.7.23版本,然后这个rpm包是最新8.0版本的,这边我就需要做点操作了: 首先,将MySQL Yum存储库添加到系统的存储库列表中.按着这些次序: 在http://dev.mysql.com/downloads/repo/

Open vSwitch系列之二 安装指定版本ovs

在ovs学习过程中,如果自己想要安装一个ovs交换机其实一条简单的命令 apt  install openvswitch 就可以了,但是这种方法只能安装低版本的ovs.在特殊情况下需要安装指定版本,例如需要下发meters表时需要ovs2.8以上的版本,那么就需要下载安装包手动安装.看似一个复杂的过程,其实也是比较简单的.下面就一起来看看如果手动安装一个指定版本ovs交换机. 准备工作 安装python [[email protected] ~]# yum -y install python 安

使用Nuget 安装指定版本package或者更新package到指定版本

最近在琢磨MVC和EntityFramework,使用的VS是2013版的,在Nuget的GUI界面下安装了EntityFramework(默认安装最新版的,怎么安装指定版本还没找到),按照MVC的示例项目MusicStore逐步做的过程中发现MVC4不支持EntityFramwok 6. 尝试去更新MVC版本各种失败,只能试着去降低EntityFramework版本.但是通过Nuget的GUI界面无法安装或更新到指定版本的EntityFramwok.在网上搜了搜相关资料(事实上也很容易搜到),

nodejs安装指定版本

由于express有各种不同的版本,不同的版本开发方式有所不同,如果想安装指定版本可以选择全局安装指定版本: 安装步骤如下: (1) 安装2.5.8版本的express的方法: C:\Users\Linda\AppData\Roaming\npm\node_modules 这是全局express的安装目录 这个文件夹是隐藏文件夹,为了将隐藏文件改为可以看到的文件我们用到的是: 文件夹选项/查看/隐藏文件和文件夹/显示隐藏的文件 为了安装指定版本的express文件我们必须把安装的express文

Mac系统下brew安装指定版本的nodejs小笔记

http://www.jincon.com/archives/429/ Mac系统下brew安装指定版本的nodejs小笔记

CentOS 下yum安装指定版本mysql的过程

在linux安装指定版本mysql是一个困难的事情,yum安装一般是安装的mysql5.1,现在经过自己不懈努力终于能用yum安装mysql5.5了. 1.安装mysql-5.5的yum源 rpm -ivh http://repo.mysql.com/yum/mysql-5.5-community/el/6/x86_64/mysql-community-release-el6-5.noarch.rpm 2.修改安装好的yum源 编辑 /etc/yum.repos.d/mysql-communit