Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Manual Install

Flock Networks Routing Suite can be manually installed on any Linux system. Besides the Linux Kernel API (Sockets, Netlink, etc), the binaries need only the GNU C library and the GCC runtime library (libgcc_s).

Extract the contents of the Debian package

You will need the ar archive utility from binutils.

For example on Fedora;

# yum install binutils

Then extract the contents of the debian package

$ ar x flockd_<version>_amd64.deb
$ ls
control.tar.gz  data.tar.xz  debian-binary  flockd_<version>_amd64.deb
$ tar -xf data.tar.xz
$ ls
control.tar.gz  debian-binary  flockd_<version>_amd64.deb  usr data.tar.xz etc lib

Install Files

Copy the flockd daemon config files to /etc/flockd

# mkdir /etc/flockd
# cp etc/flockd/* /etc/flockd

Copy the flockd daemon to /usr/sbin

# cp usr/sbin/flockd /usr/sbin

Copy the flockc client to /usr/bin

# cp usr/bin/flockc /usr/bin

Start the daemon

# RUST_LOG=info /usr/sbin/flockd &

Check the daemon is running

$ flockc sys overview
{"host_info":{"hostname":"flocknet", ...},"system_info":{"name":"flockd", ...,"version":"<version>", ...},"pid":2423,"log_level":"info","uptime":"days: 0, hours: 0, mins: 0, secs: 19","enabled_protocols":["OSPFv2","Static"],"software_errors":0, ...,"maintenance_mode":false}
$