This is detailed video guide (step-by-step instructions) to BUILD, INSTALL, CONFIGURE, and DEPLOY Telos Nodes for Testnet and Mainnet.

High level commands are here (detailed explanation is in video)

Install TELOS

  • mkdir /home/telos-sources
  • cd /home/telos-sources
  • git clone https://github.com/Telos-Foundation/t…
  • cd telos
  • git checkout stage2.1
  • git submodule update –init –recursive
  • ./telos_build.sh
  • sudo ./telos_install.sh

Update TELOS

  • mkdir /home/telos-sources
  • cd /home/telos-sources
  • cd telos
  • git checkout stage2.1
  • git submodule update –init –recursive
  • ./telos_build.sh
  • sudo ./telos_install.sh

Configuring Node

Create configuration (+ data-dir) folder for your node:

  • mkdir /opt/TELOSmainNet
  • cd /opt/TELOSmainNet

Note: The Wallet directory (though it is not recommended to have wallet on server node) can be created in this folder:

If you have scripts in this folder, usually people have scripts in this directory. then these should be execution rights:

  • chmod -R 777 ./*.sh”
  • chmod -R 777 ./Wallet/*.sh”

Set up config.ini file

If you do not have existing config file, then, please run nodeos to generate a config file. This will generate a config.ini file in the current directory if none exists.

  • nodeos –config-dir ./

Follow the video and configure/update config.ini . Some of the important parameters:

Your Producer Signature Provider: You can execute teclos create key and import your keys [Producer Key, Owner Key, and Public Key] into your wallet.

Determine and configure your p2p and http endpoints. Choose your own p2p and http ports (preferably DO NOT USE DEFAULTS).

  • p2p-listen-endpoint = 0.0.0.0:[p2p port]
  • p2p-server-address = [external IP address]:[p2p port]
  • p2p-peer-address = testnet.telosfoundation.io:6789

Activate desired Plugins:

  • plugin = eosio::http_plugin
  • plugin = eosio::chain_plugin
  • plugin = eosio::chain_api_plugin
  • plugin = eosio::history_plugin
  • plugin = eosio::history_api_plugin
  • plugin = eosio::net_plugin
  • plugin = eosio::net_api_plugin
  • plugin = eosio::producer_plugin

Run Telos

Download the genesis.json file to the /opt/TELOSmainNet/ directory. This is stage specific file (currently Stage 2.0)

Then execute following depending on if you have script or not (see video)

  • ./start.sh –delete-all-blocks –genesis-json genesis.json

or

  • nodeos -delete-all-blocks –genesis-json genesis.json

Helping Commands

  • pgrep keosd | xargs printf ” -p %d” | xargs lsof -Pani
  • pgrep nodeos | xargs printf ” -p %d” | xargs lsof -Pani
  • pgrep nodeos | xargs printf ” -p %d” | xargs lsof -Pani | grep ESTABLISHED
  • sudo pgrep nodeos | [email protected] xargs printf ” -p %d” | sudo xargs lsof -Pani
  • ps -ef | grep -v grep | grep keosd
  • ps -ef | grep -v grep | grep nodeos
  • ps -ef | grep keosd
  • ps -ef | grep nodeos
  • pkill keosd
  • pkill nodeos
  • ./teclos.sh get info

BP: swedencornet (TELOS/EOS Sweden)

swedencornet (TELOS/EOS Sweden) has a vision to become a well recognized productive player in the field. We aim to become a hub for Companies, Entrepreneurs, Governments, Public Safety & National Security Organizations, Developers, and Global Communities. EOS Sweden would like to build sound infrastructure and beneficial decentralized applications on top of EOS.IO.

We believe that everyone can contribute and benefit from EOSIO. Let’s we all work together for the greater good and well-being of all global and local societies.

♨️ DISCLAIMERS ♨️

  • 👉 Don’t invest more than you can afford to lose!
  • 👉 Perform Self Due Diligence!
  • 👉 We are not Investment Advisers, nor giving any Financial & Legal Advice!
  • 👉 You are 100% responsible for all investment decisions that you make.

 

14 votes, average: 4.86 out of 514 votes, average: 4.86 out of 514 votes, average: 4.86 out of 514 votes, average: 4.86 out of 514 votes, average: 4.86 out of 5 (14 votes, average: 4.86 out of 5)
You need to be a registered member to rate this.
(1160 total tokens earned)
Loading...

Responses