Skip to content

Instantly share code, notes, and snippets.

@jacobvosmaer
Last active August 29, 2015 13:57
Show Gist options
  • Save jacobvosmaer/9455408 to your computer and use it in GitHub Desktop.
Save jacobvosmaer/9455408 to your computer and use it in GitHub Desktop.
Also make the docs
# drbd8-utils does not match the drbd kernel module so we need to compile from source
# install dependencies
sudo apt-get install autoconf gcc flex make git-core xsltproc # xsltproc is for the manpages
# check the DRBD kernel module version
cat /proc/drbd
# clone
cd /tmp && git clone -b drbd-8.4.2 git://git.drbd.org/drbd-8.4.git # assuming kernel module for DRBD 8.4.2
# compile
cd drbd-8.4
./autogen.sh
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
make
make doc
# install
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment