Tuesday, March 8, 2022

How to Install Database Replicator (ReplicaDB) on Debian 10/11

1. Install Java we can use OpenJDK 11. install it with: sudo apt install openjdk-11-jre openjdk-11-jdk export JAVA_HOME variable to bashrc: export JAVA_HOME=$(dirname $(dirname $(readlink -f $(which java)))) export PATH=$PATH:$JAVA_HOME/bin 2. Download ReplicaDB tool from Github wget https://github.com/osalvador/ReplicaDB/releases/download/v0.11.4/ReplicaDB-0.11.4.tar.gz extract it to /opt/replicadb tar -xzvf ReplicaDB*.tar.gz -C /opt/replicadb create symlink for the replicadb binary: ln -s /opt/replicadb/bin/replicadb /usr/local/bin/replicadb 3. Test replicadb --version


Post a Comment