Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://network.egem.io/
- 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
- apt-get install npm -y && sudo npm install -g pm2 && npm install && ln -s /usr/bin/nodejs /usr/bin/node
- git clone https://github.com/TeamEGEM/egem-net-intelligence-api
- edit app.json in egem-net-intelligence-api folder with name and contact
- pm2 start app.json
- or
- 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
- git clone https://github.com/TeamEGEM/go-egem.git
- cd go-egem
- make egem
- /root/go-egem/build/bin/egem --datadir ~/livenet/ --rpc console
- # once node syncs up exit from cntrol c
- # restart node with screen
- screen -dmS go-egem /root/go-egem/build/bin/egem --datadir ~/livenet/ --rpc console
- # confirm screen is running
- screen -ls
- # attach to screen
- screen -r go-egem
- # confirm go-egem is synced if so exit screen by pressing control + a + d
- # 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
- # Install net intelligence
- cd ~/
- git clone https://github.com/TeamEGEM/egem-net-intelligence-api.git
- cd egem-net-intelligence-api
- apt-get install npm -y && sudo npm install -g pm2 && npm install && ln -s /usr/bin/nodejs /usr/bin/node
- nano app.json #add ur node name and contact info
- # start egem-net-intelligence-api only after your node syncs
- pm2 start app.json
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement