You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.1 KiB

10 years ago
10 years ago
10 years ago
  1. NOTE: Only Ubuntu 14.04 64bit is supported at this time.
  2. ### Server setup / create `tmuser`
  3. Secure the server, install dependencies, and create a new user `tmuser`
  4. curl -L https://raw.githubusercontent.com/tendermint/tendermint/master/INSTALL/install_env.sh > install_env.sh
  5. source install_env.sh
  6. cd /home/tmuser
  7. ### Install Go as `tmuser`
  8. Don't use `apt-get install golang`, it's still on an old version.
  9. curl -L https://raw.githubusercontent.com/tendermint/tendermint/master/INSTALL/install_golang.sh > install_golang.sh
  10. source install_golang.sh
  11. ### Run Barak
  12. WARNING: THIS STEP WILL GIVE CONTROL OF THE CURRENT USER TO THE DEV TEAM.
  13. go get -u github.com/tendermint/tendermint/cmd/barak
  14. nohup barak -config="$GOPATH/src/github.com/tendermint/tendermint/cmd/barak/seed" &
  15. ### Install/Update Tendermint
  16. go get -u github.com/tendermint/tendermint/cmd/tendermint
  17. mkdir -p ~/.tendermint
  18. cp $GOPATH/src/github.com/tendermint/tendermint/config/tendermint/genesis.json ~/.tendermint/
  19. tendermint node --seeds="goldenalchemist.chaintest.net:46656"