Installation
Installation (Docker)
Install docker from https://docs.docker.com/engine/install/ubuntu/
then use command below to install and run banano nodes automatically on port 6900.
docker run --restart=unless-stopped -d -p 6900:6900-v ~:/root bananocoin/bananoor if you want to use different folder or different port:
docker run --restart=unless-stopped -d \
-p 7071:7071 \
-p [::0]:7072:7072 \
-p [::0]:7074:7074 \
-v /mnt/blockstorage:/root \
bananocoin/bananojust change the data on -v and port on -p (it's also specified more port for accessing nodes from outside)
To check logs, use command:
docker logInstallation (sourcecode)
install dependencies
sudo apt update;
sudo apt upgrade -y;
sudo apt-get install -y git cmake make g++ curl wget python-dev;
sudo apt install python3-pip;
sudo pip install cmake-format;create swap (only if your nodes are not having a good configuration)
Installing precompiled Boost
Building static Boost
automatic build
**the --m flags are optional, it may reduce time, but may break Boost for other use cases than building the bananode
manual build
Cloning the Bananode's git repository
check out master branch
check out V23.3 branch.
NOTE: rocksdb needs to be updated or you get a compiler error regarding block_rep The below code updates rocksdb to the v24 version of rocksdb:
check out V24 branch.
Building bananode
Configuring bananode
Running the bananode
Last updated