TELOS: step-by-step guide to BUILD, INSTALL, CONFIGURE, and DEPLOY nodes
TELOS: step-by-step guide to BUILD, INSTALL, CONFIGURE, and DEPLOY nodes
This is detailed video guide (step-by-step guide) to BUILD, INSTALL, CONFIGURE, and DEPLOY Telos Nodes for Testnet and Mainnet.
http://testnet.telosfoundation.io/
https://github.com/Telos-Foundation/t...
TELOS: step-by-step guide to BUILD, INSTALL, CONFIGURE, and DEPLOY nodes
High level commands are here (detailed explanation is in video)
Install TELOS
git clone https://github.com/Telos-Foundation/t... cd telos ./telos_build.sh Create configuration (+ data-dir) folder for your node: If you have scripts in this folder, usually people have scripts in this directory. then these should be execution rights: 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. Determine and configure your p2p and http endpoints. Choose your own p2p and http ports (preferably DO NOT USE DEFAULTS). Download the genesis.json file to the /opt/TELOSmainNet/ directory. This is stage specific file (currently Stage 2.0) pgrep nodeos | xargs printf " -p %d" | xargs lsof -Pani | grep ESTABLISHED ps -ef | grep -v grep | grep keosd ps -ef | grep keosd pkill keosd ./teclos.sh get info 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. 👉 Don't invest more than you can afford to lose!
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
Update TELOS
mkdir /home/telos-sources
cd /home/telos-sources
git checkout stage2.1
git submodule update --init --recursive
sudo ./telos_install.sh
Configuring 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:
"chmod -R 777 ./[asterick].sh"
"chmod -R 777 ./Wallet/[asterick].sh"
Set up config.ini file
nodeos --config-dir ./
Follow the video and configure/update config.ini . Some of the important parameters:
producer-name = [prodname1234]
Your Producer Signature Provider: You can execute teclos create key and import your keys [Producer Key, Owner Key, and Public Key] into your wallet.
signature-provider = TLOS[public key]=KEY:[private key]
http-server-address = 0.0.0.0:[http port]
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
wget http://testnet.telosfoundation.io/resources/genesis.json
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
sudo pgrep nodeos | root@sudo xargs printf " -p %d" | sudo xargs lsof -Pani
ps -ef | grep -v grep | grep nodeos
ps -ef | grep nodeos
pkill nodeos
BP: swedencornet (TELOS/EOS Sweden)
👉 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.
BP: swedencornet (TELOS/EOS Sweden)