Git Product home page Git Product logo

eos-full-node's Introduction

eos node easy-tutorial

[한국어] (https://github.com/acroeos/eos-full-node/blob/master/READEME_kr.md)

simple and fast setup guide for running eos-node with pre-builded container reference : https://github.com/EOSIO/eos/wiki/Local-Environment

System Requirements

  • 8GB RAM free required
  • 20GB Disk free required
  • Ubuntu 18.04 recommended

0. Install lxd

# Install LXD client
apt install lxd lxd-client
# Initial configuration 
sudo lxd init
# Intitial guide for EOS container
Would you like to use LXD clustering? (yes/no) [default=no]:
Do you want to configure a new storage pool? (yes/no) [default=yes]:
Name of the new storage pool [default=default]: eosstrpool
Name of the storage backend to use (btrfs, dir, lvm) [default=btrfs]:
Create a new BTRFS pool? (yes/no) [default=yes]:
Would you like to use an existing block device? (yes/no) [default=no]:
Size in GB of the new loop device (1GB minimum) [default=15GB]:
Would you like to connect to a MAAS server? (yes/no) [default=no]:
Would you like to create a new network bridge? (yes/no) [default=yes]:
What should the new bridge be called? [default=lxdbr0]:
What IPv4 address should be used? (CIDR subnet notation, 쏿utoor 쐍one [default=auto]:
What IPv6 address should be used? (CIDR subnet notation, 쏿utoor 쐍one [default=auto]: auto
Would you like LXD to be available over the network? (yes/no) [default=no]: No
Address to bind LXD to (not including port) [default=all]:
Port to bind LXD to [default=8443]:
Trust password for new clients:
Again:
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]
Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]:

reference : https://linuxcontainers.org/ko/lxd/getting-started-cli/

1. Download container img file

git clone https://github.com/acroeos/Googledrive_API ~/eos && cd eos
python3 google_request.py 18YXnq0doZBRD8-y4UD1TJCMooJrAEWJh /home/eos/eos-node105.tar.gz
  It will take some time...

2. Launch container

# import as lxd image
lxc image import eos-node105.tar.gz --alias eos-node-img
# lxd launch
lxc launch eos-node-img eos-node
lxc start eos-node #(if lxc is stopped)
# access to container
lxc exec eos-node -- su - eos

3. make time in synchronized

sudo timedatectl set-ntp no
# Check if default timesyncd is off
timedatectl
sudo apt-get install ntp
# Check if ntp is fine
sudo ntpq -p

4. run nodeos

cd ~/eos-full-node

./start.sh --delete-all-blocks --genesis-json genesis.json
# You can check the logs through..
tail -f stderr.txt

5. Resync

# Hard resync
./start.sh --delete-all-blocks --genesis-json genesis.json
tail -F stderr.txt

eos-full-node's People

Contributors

hsejin314 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.