Skip to content

build bitzeny on ubuntu 16.04 server

cryptozeny edited this page Jul 13, 2018 · 5 revisions

Installing BitZeny z2.0.x on Ubuntu 16.04 Server

Adding Bitcoin Repo to install libdb4.8-dev and libdb4.8++-dev

sudo add-apt-repository ppa:bitcoin/bitcoin && \
sudo apt-get update

Install

sudo apt-get install \
software-properties-common libdb4.8-dev libdb4.8++-dev \
build-essential libtool autotools-dev automake pkg-config \
libssl-dev libevent-dev bsdmainutils libboost-all-dev \
libminiupnpc-dev libzmq3-dev libqt5gui5 libqt5core5a \
libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev \
protobuf-compiler libqrencode-dev

Build Source

-j4 Option is for 4 Cores. If 12 Cores, do -j12.

$ ./autogen.sh && ./configure && make -j4

If you don't have enough memory, do:

./configure CXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768"

All in one: Install bitzeny z2.0.x It takes about 45 Min. on 1cpu 2048ram ssd VPS

sudo add-apt-repository ppa:bitcoin/bitcoin -y && \
sudo apt-get update -y && \
sudo apt-get install -y \
software-properties-common libdb4.8-dev libdb4.8++-dev build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils libboost-all-dev libminiupnpc-dev libzmq3-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev && \
cd && \
git clone https://github.com/BitzenyCoreDevelopers/bitzeny.git && \
cd bitzeny/ && \
git checkout z2.0.x && \
./autogen.sh && \
./configure && \
make

Run bitzenyd

Main Net

./src/bitzenyd

Test Net

./src/bitzenyd -testnet