daily pastebin goal
14%
SHARE
TWEET

EGEM Install Node Network Stats

buzzkillb Mar 31st, 2018 (edited) 217 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. https://network.egem.io/
  2.  
  3. apt-get update && apt-get upgrade -y && apt-get install -y build-essential && apt install screen && apt install git -y && wget https://dl.google.com/go/go1.10.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.10.linux-amd64.tar.gz && mkdir -p ~/go; echo "export && GOPATH=$HOME/go" >> ~/.bashrc && echo "export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin" >> ~/.bashrc && source ~/.bashrc && echo "export && GOROOT=/usr/local/go" && echo "export PATH=$GOPATH/bin:$GOROOT/bin:$PATH" && git clone https://github.com/TeamEGEM/go-egem.git && cd go-egem && make egem && /root/go-egem/build/bin/egem --datadir ~/live-net/ --rpc console
  4.  
  5. apt-get install npm -y && sudo npm install -g pm2 && npm install && ln -s /usr/bin/nodejs /usr/bin/node
  6. git clone https://github.com/TeamEGEM/egem-net-intelligence-api
  7.  
  8. edit app.json in egem-net-intelligence-api folder with name and contact
  9. pm2 start app.json
  10.  
  11.  
  12. or
  13.  
  14.  
  15. apt-get update && apt-get upgrade -y
  16. apt-get install -y build-essential
  17. apt install screen
  18. apt install git -y
  19. wget https://dl.google.com/go/go1.10.linux-amd64.tar.gz
  20. tar -C /usr/local -xzf go1.10.linux-amd64.tar.gz
  21. mkdir -p ~/go; echo "export GOPATH=$HOME/go" >> ~/.bashrc
  22. echo "export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin" >> ~/.bashrc && source ~/.bashrc
  23. git clone https://github.com/TeamEGEM/go-egem.git
  24. cd go-egem
  25. make egem
  26. /root/go-egem/build/bin/egem --datadir ~/livenet/ --rpc console
  27. # once node syncs up exit from cntrol c
  28. # restart node with screen
  29. screen -dmS go-egem /root/go-egem/build/bin/egem --datadir ~/livenet/ --rpc console
  30. # confirm screen is running
  31. screen -ls
  32. # attach to screen
  33. screen -r go-egem
  34. # confirm go-egem is synced if so exit screen by pressing control + a + d
  35. # if go-egem is synced then install net intelligence wait to be synced if not it will appear to be a bad node on the display page network.egem.io
  36.  
  37. # Install net intelligence
  38. cd ~/
  39. git clone https://github.com/TeamEGEM/egem-net-intelligence-api.git
  40. cd egem-net-intelligence-api
  41. apt-get install npm -y && sudo npm install -g pm2 && npm install && ln -s /usr/bin/nodejs /usr/bin/node
  42. nano app.json #add ur node name and contact info
  43. # start egem-net-intelligence-api only after your node syncs
  44. pm2 start app.json
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top