【原创】cosmoshub-relayer-osmosis环境部署deployment of cosmoshub-relayer-osmosis

架构:

cosmoshub:

relayer:

osmosis:

一、 获取osmosis-installer:

git clone https://github.com/osmosis-labs/osmosis-installer.git

二、安装

$ python osmosis-installer/osmosis-installer.py:

██████╗ ███████╗███╗ ███╗ ██████╗ ███████╗██╗███████╗ ██╔═══██╗██╔════╝████╗ ████║██╔═══██╗██╔════╝██║██╔════╝ ██║ ██║███████╗██╔████╔██║██║ ██║███████╗██║███████╗ ██║ ██║╚════██║██║╚██╔╝██║██║ ██║╚════██║██║╚════██║ ╚██████╔╝███████║██║ ╚═╝ ██║╚██████╔╝███████║██║███████║ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝╚══════╝

Welcome to the Osmosis node installer v11.0.0! For more information, please visit docs.osmosis.zone Ensure no osmosis services are running in the background If running over an old osmosis installation, back up any important osmosis data before proceeding

Please choose a node type:

  1. Full Node (download chain data and run locally)
  2. Client Node (setup a daemon and query a public RPC)
  3. LocalOsmosis Node (setup a daemon and query a localOsmosis development RPC)

Enter Choice: 2

Please choose a network to join:

  1. Mainnet (osmosis-1)
  2. Testnet (osmo-test-4)

Enter Choice: 2

Please wait while the following processes run: (1/5) Updating Packages...

[sudo] password for neo: E: The repository 'http://ppa.launchpad.net/chris-lea/node.js/ubuntu focal Release' does not have a Release file. E: The repository 'http://apt.postgresql.org/pub/repos/apt -pgdg Release' does not have a Release file. W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pgdg…

W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/pgdg.list:1 and /etc/apt/sources.list.d/pgdg.list:7 W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/pgdg.list:1 and /etc/apt/sources.list.d/pgdg.list:7 W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/pgdg.list:1 and /etc/apt/sources.list.d/pgdg.list:7 (2/5) Installing make and GCC... (4/5) Reloading Profile... (5/5) Installing Osmosis v11.0.0 Binary...

Do you want to install Osmosis in the default location?:

  1. Yes, use default location (recommended)
  2. No, specify custom location

Enter Choice: 2

Input desired installation location. Press enter for default location Installation Location: /home/neo/.osmosisd

AFTER INPUTTING NODE NAME, ALL PREVIOUS OSMOSIS DATA WILL BE RESET Input desired node name (no quotes, cant be blank): osmosis-test

Initializing Osmosis Client Node osmosis-test Changing Client Settings...

Congratulations! You have successfully completed setting up an Osmosis client node! DO NOT start the osmosis daemon. You can query directly from the command line without starting the daemon! In order to use osmosisd from the cli, either reload your terminal or refresh your profile with: 'source ~/.profile' (base) neo@DESKTOP-VT00OGL:~/projects/ibc$

部署脚本:

posted on 2022-10-26 14:59  fRe_Bourne  阅读(85)  评论(0)    收藏  举报

导航