Ubuntu部署 Blockscout 区块链浏览器流程
基础环境安装
Erlang 和 Elixir
# 安装最新的erlang包源,不执行这一步,无法安装最新版本的erlang
wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb
sudo dpkg -i erlang-solutions_2.0_all.deb
# 安装
sudo apt update
sudo apt install erlang
# 验证安装结果
Erlang
# root@ip-127-0-0-1:/home/ubuntu# erl
# Erlang/OTP 24 [erts-12.3.1] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit]
#
# Eshell V12.3.1 (abort with ^G)
# 1> # 退出输入 contrl + g
# User switch command
# --> q # 输入 q
Elixir
# root@ip-172-31-16-35:/home/ubuntu# iex
# Erlang/OTP 24 [erts-12.3.1] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit]
#
# Interactive Elixir (1.13.0) - press Ctrl+C to exit (type h() ENTER for help)
# iex(1)> # 退出输入 contrl + c
# BREAK: (a)bort (A)bort with dump (c)ontinue (p)roc info (i)nfo
# (l)oaded (v)ersion (k)ill (D)b-tables (d)istribution
# a # 输入 a
Nodejs
安装最新的LTS版本
nodejs 的每个大版本号都有相对应的源,比如这里的