News:

Are you new to Groestlcoin and have questions you are afraid to ask?
Check out the New Users board and post there.
Welcome to all newcomers.

Main Menu

How to update a Groestlcoin mainnet node

Started by jackielove4u, January 13, 2017, 04:40:40 PM

Previous topic - Next topic

jackielove4u

The following were tested in Ubuntu 14.04 and Ubuntu 16.04, some dependencies can be different in other distros
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • sudo apt-get install libgmp-dev libsqlite3-dev python python3 net-tools zlib1g-dev gettext jq -y
    • cd groestlcoin
    • git checkout master
    • git pull
    • make clean
    • ./autogen.sh
    • ./configure
    • make
    • groestlcoin-cli stop
    • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx src/groestlcoin-wallet src/groestlcoin-util
    • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx src/groestlcoin-wallet src/groestlcoin-util /usr/bin
    • mkdir ~/.groestlcoin
    • nano ~/.groestlcoin/groestlcoin.conf
    • write:
      listen=1
      server=1
      maxconnections=863
      daemon=1
      txindex=1
      blockfilterindex=1
      coinstatsindex=1
      rpcuser=yourusernamehere
      rpcpassword=yourpasswordhere
    • Crtl+o enter, ctrl X
    • groestlcoind
    • check with 'groestlcoin-cli getblockchaininfo' if everything is correct

Or use this oneliner: cd groestlcoin && git checkout master && git pull && make clean && ./autogen.sh && ./configure && make && groestlcoin-cli stop && strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx src/groestlcoin-wallet src/groestlcoin-util && sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx src/groestlcoin-wallet src/groestlcoin-util /usr/bin && sleep 1m && groestlcoind