Build your own XTZ Tezos Node for mainnetsteemCreated with Sketch.

in tezos •  last year  (edited)

Hello Crypto people!
Screenshot from 2018-09-23 23-31-22.png

tezos.png

Screenshot from 2018-09-23 23-02-43.png

Today Tuto Guide; How to Build your own Tezos Node for the active mainnet.

Lego-Build-1.jpg

Server Ubuntu 18.04 (2Cores)(8Ram)(120SSD)

ssh [email protected]

screen -S update

apt update

apt upgrade

apt-get install build-essential

apt-get install -y patch unzip make gcc m4 git g++ aspcud bubblewrap curl bzip2 rsync libev-dev libgmp-dev pkg-config libhidapi-dev

dpkg-reconfigure locales 

select (ALL) + (en_US.UTF-8)

Meanwhile is working

CRTL+A+D


passwd

(New-Secure-Password-ROOT)

Add a new user for the Tezos node

useradd -m -g users -G sudo -s /bin/bash tacoalfa

passwd tacoalfa

(New-Secure-Password-tacoalfa)

Disable root login SSH and change the port 22

vi /etc/ssh/sshd_config

( i ) for can write the file

Delete # and 22 port, and Root login not.
like the pic

Screenshot from 2018-09-23 21-40-22.png

For safe the file
ESC
:wq!

service ssh restart

Now ....

Screenshot from 2018-09-23 22-06-28.png
Setup Firewall for preventing easy hacker access

ufw status

Status: inactive

ufw default allow outgoing

ufw default deny incoming

ufw default allow 56666

ufw default allow 9732

ufw enable

ufw status

Back to screen and see if the update is finished and exit the screen.

screen -r

exit

If need restarts the server or just close the ssh session.

reboot now

After 2 minutes or so connect again to the server new user new port.

ssh -p 56666 [email protected]

Now let's Install Tezos

Screenshot from 2018-09-23 22-05-37.png

Opam install

wget https://github.com/ocaml/opam/releases/download/2.0.0-rc4/opam-2.0.0-rc4-x86_64-linux


sudo mv opam-2.0.0-rc4-x86_64-linux /usr/local/bin/opam

sudo chmod a+x /usr/local/bin/opam

opam init --compiler=4.06.1

Screenshot from 2018-09-23 22-18-06.png

Yes and Yes

Screenshot from 2018-09-23 22-19-25.png

eval $(opam env)

git clone -b mainnet https://gitlab.com/tezos/tezos.git

cd tezos

make build-deps

Screenshot from 2018-09-23 22-20-57.png

YES

eval $(opam env)

make

./tezos-node identity generate 26.

Generating a new identity... (level: 26.00)

Tezos is finally installed and ready for the run.

Screenshot from 2018-09-23 22-23-54.png

Open new screen for run Tezos node.

screen -S mytezosnode

./tezos-node run --rpc-addr 127.0.0.1:8732 --connections 10

Now the node start to sync the Blockchain from the scratch

Screenshot from 2018-09-23 17-12-15.png

CRTL+A+C (new screen)
CRTL+A+N (switch between screens)

In the new screen

./tezos-client get timestamp

Screenshot from 2018-09-23 22-28-11.png

Last block sync in your node is

2018-09-23T20:26:40Z

when the node is synced the screen with the logs like the pic

Screenshot from 2018-09-23 20-54-31.png

Now can exit the screen session (CRTL + A + D) and back other time ( screen -r), the service is running meanwhile close ssh or lost the connections to the server. Remember for switch between screens (CRTL+A+N)

Well here ok? Congratulations the Tezos node its alive!

Now just relax, XTZ moon is coming.

Screenshot from 2018-09-23 23-00-59.png

Tezos links

http://tezos.gitlab.io/mainnet/introduction/howtouse.html
https://twitter.com/tezos

Util links
https://tezos.rocks/

Wallet
https://twitter.com/TezBox_Wallet

If this was usefull , Tezos tips here ;)

tz1WbppWNNPeNRgR99ZaBCH4fis2yGDe1Vs5

Screenshot from 2018-09-23 22-51-14.png

Murcielago.jpg

https://meleatrust.com/
https://twitter.com/cryptoMelea

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @melea! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

Award for the number of posts published
Award for the number of upvotes received

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Support SteemitBoard's project! Vote for its witness and get one more award!